PhpStorm 2017.2 EAP 172.3198

Posted on by Anna Lebedeva

The new PhpStorm 2017.2 EAP build (172.3198.4) 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.3095.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 takes on the latest improvements in IntelliJ Platform.

PHP Language Level detection from composer.json

To simplify project configuration we’ve added a new feature to Composer integration. It detects required PHP from composer.json and set PHP Language Level accordingly in PhpStorm project. We support many formats like >=5.5.9,^5.6 || ^7.0 and~5.6|~7.0. 


Extract constant refactoring allows choosing visibility level for PHP 7.1

Extract constant refactoring now allows you to use PHP 7.1 new feature – visibility level for constants. This can help you to make it more clear what is important and avoid exposing unnecessary constants. You can also define private magic numbers and bitmasks instead of public and thus achieve better encapsulation.


New inspection: Statement has empty block

In this build, we’ve implemented a new inspection – Statement has empty block (can be found at Settings|Editor|Inspections|PHP|Probable bugs). The inspection should help you to detect accidental semicolon after foreach, while or if statements as well as find empty statements that do nothing. There are a couple of options to fine-tune the inspection: Comments count as content and Ignore while loop without body.


Other features worth mentioning:

  • Quick Fix “Remove unused parameter” now updates function calls
  • Simplified PHP settings page

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

Learn more about other new features in PhpStorm 2017.2:

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

Comments below can no longer be edited.

6 Responses to PhpStorm 2017.2 EAP 172.3198

  1. Petar says:

    June 28, 2017

    in all builds from 2017.2 line there is a problem with go to file navigation action.
    And sometimes with go to class. – a screen capture of the issue. When either choosing go to file or use the keyboard shortcut, there is a flash of the command line and then it disappears. Not sure if there is already bug for this. OS is Fedora 22

  2. Dan says:

    August 1, 2017


    I have recently upgraded to 2017.2 and I noticed that I am now receiving multiple “Field declared dynamically” inspection warnings on code which previously passed.

    I investigated further and this issues is only present when a member variable is used inside an overridden constructor with the said member variable declared in the parent class.

    Is this the intended functionality as I am struggling to see the benefit?

    I have attached a screenshot of sample php file showing two classes, one inheriting the member variable from the other with Phptorm showing the inspection warning.

    Best regards,


Subscribe for updates