The new PhpStorm 2017.1 EAP build (171.2455) is now available! You can download it here or via JetBrains Toolbox. Or, if you have the previous PhpStorm 2017.1 EAP build (171.2272) 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.
Improvements in support of PHP 7 Uniform Variable Syntax
This build brings improvements for PHP 7 Uniform Variable Syntax by RFC. Expressions such as isset/unset, foo()()().., and $some->foo()() style calls are now supported.
Auto-import of functions and constants
In this build, we’ve added auto-import of functions and constants. It will work for you automatically if Enable auto-import in file scope and/or Enable auto-import in namespace scope are enabled (Settings | Editor | General | Auto Import | PHP ).
Auto-import from the global namespace
We’ve added a new option to enable auto-import of classes, functions, and constants from the global space. The option can be found in Settings | Editor | General | Auto Import | PHP | Enable auto-import from the global space.
As an alternative to auto-importing functions and constants from the global namespace, you can ask the IDE to use global references. You can find this option in Settings | Editor | General | Auto Import | PHP | Prepend functions and constants from the global space with ‘\’.
This can help improve the performance of the PHP interpreter in some cases.
Fully-qualified class names in PHPDoc type description
Now when Use fully-qualified class names is enabled, it will be taken into account for completion, and the fully-qualified name will be used in the PHPDoc type description. The option can be found under Settings | Editor | Code Style | PHP | PHPDoc | Generated Doc Blocks.
Support for function/constant/namespace aliases in unused imports
Function/constant/namespace aliases are now supported in unused imports.
Download PhpStorm 2017.1 EAP build 171.2455 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