PhpStorm 2021.2 is now available!
This major release introduces preliminary support for generics in PHP, enums for PHP 8.1, one-line array shapes, improved automatic formatting of PHP code, new inspections and refactorings, and much more.
Download PhpStorm 2021.2
Here are the main highlights of the release:
PHP
Basic support for generics in PHP
PHP 8.1 Enums
One-line array shapes
New inspections and quick-fixes
Refactoring opportunities inspections
Formatter improvements
Reworked Extract Method refactoring
IDE
Actions on save
New Terminal options
Run tests before com