PhpStorm 2018.1. EAP 181.3741.23
The new PhpStorm 2018.1 EAP build (181.3741.23) is now available! You can download it here or via JetBrains Toolbox App. Or, if you have the previous PhpStorm 2018.1 EAP build (181.3494.16) installed, you should soon get a notification in the IDE about a patch update.
This build delivers new features, bug fixes, and improvements for PHP and the Web, and includes the latest improvements in IntelliJ Platform.
Inline function/method refactoring
Sometimes a method’s body is more obvious than the method itself. The good solution for the situation is to replace the calls to the method with the actual method’s content. Since this may be tricky in some cases, we’ve implemented the Inline refactoring to help you with it.
Just put the caret on the function or static method call and invoke Refactor|Inline. If the refactoring is possible, PhpStorm will perform all the necessary transformations: create all intermediate variables, change self to the class name, and even handle multiple return points.
For now, PhpStorm will not allow you to inline non-static methods. As a workaround, you can use two refactorings, Make method static and Inline, in sequence. In the future, we plan to support the inlining of non-static methods, too.
Indication of the PHP Language Level sync status with composer.json
In the previous release, we’ve introduced settings synchronization with composer.json as an easy way to keep your PhpStorm settings in sync with your project. Unfortunately, this has also brought some confusion: when you change the PHP Language Level in the settings, it may still get reset after restarting PhpStorm due to the require section in composer.json.
To avoid this, we’ve redesigned the settings page to give you a better clue of what is going on.
New quick fixes: Replace foreach with array_filter and back
The quick fix that allows replacing foreach with array_map and vice-versa was warmly welcomed, so we’ve decided to continue development in this area. This time, we introduce the foreach to array_filter and the reverse – array_filter to foreach quick fixes.
Other features worth noting
- Updater should automatically download patch in background IDEA-46819
- Add support for markdown in jsdoc WEB-11052
Apart from new features, this build brings many important bug fixes and usability improvements, including these:
- Fixed: Support different names for tsconfig.json WEB-28091
Use the board here to view the up-to-date list of the features planned for 2018.1 release, as well as discovered bugs. The list only reflects our current plan and is not final. It may be revised during development since new issues may appear and existing may be re-planned to appear in later versions. Please share your opinions on what is important to you and what would you like to see in the new version!
Download PhpStorm 2018.1 EAP 181.3741.23 for your platform from the project EAP page or click “Update” in your JetBrains Toolbox App. And please do report any bugs and feature request to our Issue Tracker.
Your JetBrains PhpStorm Team
The Drive to Develop
Subscribe to Blog updates
Thanks, we've got you!
PhpStorm 2023.2 Beta
In this build, we’ve added new inspections for PHP assertions and revised the integration with third-party quality tools.
PhpStorm 2023.2 EAP #6
This build brings improvements for generating PHPDocs, support for Laravel Pint, a single point of access to all PHP framework plugins, and much more!
AI Features in PhpStorm: PhpStorm 2023.2 EAP #5
The next EAP build for PhpStorm 2023.2 is now available, and it’s an exciting one! It is the first build to include features leveraging the enormous potential of generative AI and large language models (LLMs). Our Early Access Program (EAP) allows you to try new features from the upcoming PhpStor…
PhpStorm 2023.2 EAP #4
This build includes a bunch of usability improvements, such as abilities to pin Run configurations and sort files by modification time in the Project view. The EAP allows you to try new features from the upcoming PhpStorm version, 2023.2. EAP builds are free to use and you can install them side b…