Early Access Program

PhpStorm 2017.2 EAP 172.2465 : New Composer actions, traits improvements, new options for blank lines

The new PhpStorm 2017.2 EAP build (172.2465.7) is now available! You can download it here or via JetBrains Toolbox App. Or, if you have the previous PhpStorm 2017.2 EAP build (172.2273) 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 takes on the latest improvements in IntelliJ Platform.

New Composer actions: update, install and self-update

In this build, we’ve added new actions to Composer functionality in PhpStorm. Now you can execute the actions Update Dependencies, Install Dependencies, and Composer self-update directly from the IDE without the need to switch to the command line.

PhpStorm supports multiple composer.json files. Just right click on the composer.json in the Project view and use Composer actions in the context menu. If you open composer.json in the editor, you can access the same Composer actions by right-clicking inside the editor. In contrast, Tools|Composer uses the main composer.json configured in Settings|PHP|Composer.


New Formatter options for blank lines

We’ve extended formatting options for blank lines to make it even more flexible for you. New options include Keep maximum blank lines before }, Keep maximum blank lines after {, and Minimum blank lines after a function. All the options can be found in Settings|Editor|Code Style|PHP|Blank Lines.

Screen Shot 2017-05-24 at 16.10.03

Unified Test Frameworks settings

We continue our effort in PHP settings simplification and unification. This build unites PHP Test Frameworks settings. Now PHPUnit, Behat, PHPSpec, and Codeception testing frameworks have a single settings page.


Other features worth noting::

  • Method from class using nested trait is found inside trait: WI-30844

From platform side the update brings:

  • Breadcrumbs placement setting (Settings|Editor|General|Breadcrumbs)
  • Move Symbol Refactoring for JavaScript and TypeScript: more details

See the full list of bug-fixes and improvements in our issue tracker and the complete release notes.

Download PhpStorm 2017. 2 EAP 172.2465 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

image description