Download PhpStorm 2022.1.1
JetBrains releases several development environments, such as IntelliJ Idea targeting Java, CLion targeting C and C++ and DataGrip targeting sql. PhpStorm focuses on PHP and provides on-the-fly error prevention, autocompletion, code refactoring and debugging, and also handles HTML, CSS, Coffee and JavaScript. For an overview of the possibilities, we refer to this page† To use PhpStorm, a license required. For business and home use you will have to pay for it, but if the software is used for education or non-commercial open source projects, the license is free. JetBrains recently released version 2022.1.1 of PhpStorm and the major changes and improvements made to it can be found below:
Improved blade format (WI-37087†
The @case and @break directives within a @switch directive weren’t properly formatted by PhpStorm. That’s now fixed.
Default property visibility (WI-50274†
PhpStorm allows you to define the default property visibility in Settings / Preferences | Editor | Code Style | PHP | Properties Default Visibility† However, when automatically generating a property via the constructor, PhpStorm didn’t set the correct visibility. That’s now fixed.
Vite support (WEB-46507†
We now support Vite, the “Next Generation Front End Tooling†
Rename dynamic fields (WI-65177† WI-65840†
PhpStorm wasn’t able to correctly use rename refactoring combined with dynamic properties. That’s been fixed.
Multiline Array Format (WI-61938† WI-65831†
We’ve made some improvements to how multiline arrays are auto formatted by PhpStorm.
Twig simultaneous delimeter’s editing (WI-65400†
When changing a delimiter in a Twig file, PhpStorm will automatically change its corresponding opening and closing delimiter as well. However, this behavior didn’t work when the expression contained a string (which happens often). This now works properly.
Wrong visibility when changing visibility during inheritance (WI-65245†
PHP allows you to change the visibility of any method or property to a less strict one during inheritance. PhpStorm however didn’t detect these changes in some cases when working with abstract classes.
Fix index error in Magento projects (WI-65276†
PhpStorm 2022.1 had an issue with broken indices in some Magento projects, causing a Null Pointer Exception after indexing those projects. That’s fixed now.
List type in multiline array shapes (WI-65260†
PhpStorm 2022.1 added support for multiline array shapes. However, there were still some edge cases where the list
Fixes to psalm-import-type (WI-65312†
PhpStorm supports type aliases in doc blocks that you can import and use in other places. However, we didn’t properly detect the use of @psalm-import-type in some cases. That’s now fixed.
False positive inspections (WI-65988† WI-49455† WI-65879†
Some inspections marked code with a warning when they shouldn’t. Several similar issues have been fixed.
Xdebug “Cannot get property” bug fix (WI-65974†
Our Xdebug integration had some issues not being about to show property information in several cases. Those problems are fixed now.
Array shapes with single quoted keys (WI-65872†
Array shapes weren’t properly detected when using single quoted strings as array keys, that’s fixed now.
False-positive warnings about type mismatch for arrays with multiple element types (WI-57903†
Docblocks that listed arrays with multiple types weren’t interpreted correctly, causing a bunch of warnings about type mismatches between docblocks and PHP types. These problems are now fixed.
FTP sync errors (WI-66158† WI-65678†
PhpStorm 2022.1 had some issues when trying to use FTP to sync code between a server and your local development environment. Those issues are now fixed.
Rsync errors on Windows (WI-66118†
PhpStorm 2022.1 introduced some issues with Rsync on Windows where some files would end up using the wrong paths or where an error would occur when syncing. These problems are now fixed.
Version number | 2022.1.1 |
Release status | Final |
Operating systems | Windows 7, Linux, macOS, Windows 8, Windows 10, Windows 11 |
Website | JetBrains |
Download | |
License type | Freeware/Paid |