PhpStorm 2017.1 EAP 171.2272

The new PhpStorm 2017.1 EAP build (171.2272) is now available! You can download it here, in JetBrains Toolbox or, if you have installed the previous PhpStorm 2017.1 EAP build (171.2152), 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.

Spaces inside declare statements are removed

We removed space around equal operator inside declare(...); construct to follow proposed draft of Extended Coding Style Guide.

Regexes support in Copyright Plugin

Now you can specify regular expressions for “Regexp to detect copyright in comments” and “Allow replacing copyright if old copyright matches” fields. It will help you to provide flexible patterns for copyrights detection and copyrights update.


New Code Style option: Place ‘()’ for constructor

In this build we’ve added new code style option Place ‘()’ for constructor, now when creating a new class instance without parameters you have a choice to place or skip the parentheses, PhpStorm assists your choice with proper completion. The setting can be found under Settings | Code Style | PHP | Wrapping and Braces | Function/constructor call arguments.

This option is also relevant for those working with PSR-12 where parenthesis MUST always be present even when there are no arguments passed to the constructor (WI-32227).


New Code Style option: Convert else if/elseif to

On your request we’ve added a new code style option which allows you to format elseif statement by converting “elseif to else if” or vice versa “else if to elseif”. The setting can be found under Settings | Code Style | PHP | Other | Convert else if/elseif to.


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

Download PhpStorm 2017.1 EAP build 171.2272 for your platform from the project EAP page or click “Update” in your JetBrains Toolbox and please do report any bugs and feature request to our Issue Tracker.

Your JetBrains PhpStorm Team
The Drive to Develop

This entry was posted in Early Access Program and tagged . Bookmark the permalink.
  • Eli

    The declare spacing should be an option in the code style and not forced :/

    • meda

      Why should it be an option? PSRs exist for a reason!

      • Martin Hujer

        The linked PSR is only a proposal, not a standard (yet).

        There is a feature request for configurable spaces – (Please vote for the issue!)

  • Evgeni Dmitriev

    .styl files are no more displayed in the left pane (and also cannot be found with Shift-Shift)
    even though some of them are still opened in the main pane
    How to find PREVIOUS EAP release to downgrade?

  • Andriy Bazanov

    Incompatible PostCSS plugin — prevents code from being indexed properly (unknown PHP classes/constructs are not marked in any way); Unable to open HTML5 files (.html files with HTML4 doctype .. or just fragments will work .. but not HTML5 doctype); *.pcss file is not even listed in the Project View (will be there only if this plugin is disabled); created numerous “IDE Exceptions” (9 in under 2 minutes time when I was trying to figure this out)…

    That plugin has to be disabled ATM for IDE to work. Hopefully updated plugin will be listed rather soon…

    • Maxim Kolmakov

      Thank you Andriy. I’ve added plugin to our Plugin Verification system and uploaded a new version.

  • Ellioh Thot’o

    After upgrading I lost all my customed live templates. It happened on the two last upgrade.

  • Venimus

    I constantly lose SFTP connection to the VM (Ubuntu/Xenial) after several minutes of no transfers, although all Keep-alive settings are setup properly. Browse remote machine is not working too after connection is closed. Also “test connection” button shows OK, but does not repair it. The only way to repair it is to either restart PHPStorm or to change a setting in Deployment config (like the name of the connection)