PhpStorm 2016.3.1 is out

Posted on by Maxim Kolmakov

PhpStorm 2016.3.1 build 163.9735 is now available! You can download it here, in JetBrains Toolbox App or, if you have installed the previous PhpStorm 2016.3 or PhpStorm 2016.3.1 EAP build (163.9166), 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.

Variable naming style

We’ve implemented a new option which allows you to choose a style of variable names that PhpStorm suggests you in completion and Introduce Variable refactoring. Available styles are camelCasesnake_case and Mixed (default behavior identical to the previous versions). You can change it in Settings->Editor->Code Style->PHP->Variable Naming style. We updated framework specific code styles as well to get full advantage of the new option. Please note that the option doesn’t affect Reformat Code action.

Support of __invoke function

We’ve added support for __invoke function so now PhpStorm knows what calls of the type $var() really mean and what a return type of the call is. Strict parameter type, Parameter type, and Parameter number mismatch inspections are also supported.

Variable name completion for compact function arguments

When you invoke completion inside compact function string argument, you will see the list of current file variables. On the second completion invocation, you will see all global variables.

New Inspection/Quick Fix for Combined Assignments and Incremental/Decremental Assignments

We’ve also introduced new Quick Fix and Inspection that reports and fix assignment operations which can be replaced by combined assignment or increment or decrement. The inspection has by default No highlighting, only fix severity but you can change it on the page Settings->Editor->Inspections->PHPSettings->Editor->Inspections->PHP: Assignment replaceable with operator assignment and Assignment replaceable with increment or decrement.

Other features:

  • Current file name is suggested for a new class name
  • Completion for dynamically declared properties not only for stdClass but for all objects (works when you press Ctrl+Space twice)
  • New sort order in Override and Implement methods dialogs
  • Improved detection of runtime errors

Apart from new features, this build brings many bug fixes, the most remarkable of them:

  • Attach to the current project asks additional question: WI-33637
  • Local Terminal did not accept German Keyboard Layout: IDEA-115276
  • Switcher dialog: up and down keys are not working: IDEA-147640

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

Download PhpStorm 2016.3.1 build 163.9735 for your platform or click “Update” in your JetBrains Toolbox App and please do report any bugs and feature request to our Issue Tracker.

-JetBrains PhpStorm Team
The Drive to Develop

Subscribe

Subscribe for updates