PhpStorm 2016.3.1 is out
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 camelCase, snake_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.
- 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
-JetBrains PhpStorm Team
The Drive to Develop
Subscribe to Blog updates
Thanks, we've got you!
PHP Annotated – September 2023
Welcome to the September edition of PHP Annotated! We'll recap the most interesting developments in the PHP community over the past month, featuring handpicked news, articles, tools, and videos. (more…)…
PhpStorm Public Roadmap: What’s Coming in 2023.3
After recently releasing PhpStorm 2023.2, we’re now ready to share our plans for the next version of PhpStorm that is scheduled for late November 2023.
PHP Annotated – July 2023
Welcome to the July edition of PHP Annotated! We'll recap the most interesting developments in the PHP community over the past month, featuring handpicked news, articles, tools, and videos. (more…)…