

PhpStorm also knows about deprecated dynamic properties and how to deal with them. There is a quick-fix to convert a class with only readonly properties to a readonly class, but we also added inspections to make sure that readonly classes can only have readonly children, we detect redundant readonly properties in readonly classes, and we made sure that PhpStorm knows about prohibited static and dynamic properties in readonly classes.

We’ve added full support for one of the most anticipated features of the upcoming PHP 8.2 release. You can switch it from the toolbar or by specifying the requirement in composer.json.

Most of the changes in the IDE will fit organically into your familiar PhpStorm workflow, so we’ll only mention the new features that you need to know about.Īs usual, you can try new features by setting the project language level to PHP 8.2. PhpStorm 2022.3 comes with full support for PHP 8.2. If something doesn’t work correctly, you can quickly switch back to the previous version without interfering with your workflow. You can install them side by side with a stable version of PhpStorm. The EAP allows you to try new features from the upcoming PhpStorm 2022.3. In this build, we added full support for PHP 8.2.
