Early Access Program

PhpStorm 2017.2.1 EAP 172.3544

It’s a start of Early Access Program for PhpStorm 2017.2.1, a minor update for the recently released PhpStorm 2017.2. A fresh build 172.3544.21 is available here, in JetBrains Toolbox App or, if you have installed PhpStorm 2017.2 and have “Early Access Program” channel in Settings->System Settings->Updates, 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.

Support for PHP 7.2

PHP 7.2 is now in Beta so we decided to give you a chance to experiment with the new version of PHP in PhpStorm. In this build, we’ve added a support for all the features of PHP 7.2, including a possibility for overriding of abstract methods, parameter type widening, trailing commas in list syntax, and object typehint.

php7_2

Blade: support for @guest and @endguest

PhpStorm 2017.2.1 brings various improvements in Blade support, including bug fixes concerning foldings and non-closed directive inspection (WI-37168, WI-37086, WI-37085, WI-37067) and support for @guest/@endguest.

bladeUpd

Inspection: Short open tag usage

In this build, we’ve added a new inspection, which also has a quick fix for changing <? to <?php in all occurrences in the file. Short syntax is discouraged since it is not available in standard PHP configuration without config change. The inspection can be found in Settings | Editor | Code Style | Inspections | PHP | Code Style | Short open tag usage.

short tag

Navigation to an appropriate loop from break/continue

Now it’s possible to navigate to an appropriate loop from break/continue statement. Press Ctrl/Cmd + Click/B to navigate from the loop. That is especially useful if you have deep nesting and usage of break 2;, continue 3; or something similar.

nav2

Other notable bug fixes worth mentioning:

  • PHP Comments: Spellchecker doesn’t recognize words with an apostrophe in it: WI-11450
  • Broken Code Completion in JavaScript: WI-36767
  • Allow OS to resolve “composer” executable (global installation): WI-31229
  • Printing Mechanism Prints the Theme’s Background Color: IDEA-90668
  • Tabs limited to 2 when 1 is set: IDEA-173369
  • Auto importing a flow type does not add “type” after “import”: WEB-24910

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


Download PhpStorm 2017.2.1 EAP build 172.3544.21 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