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
Subscribe to Blog updates
Thanks, we've got you!