The new PhpStorm 2018.2 EAP build (182.3208.33) is now available! You can download it here or via JetBrains Toolbox App. Or, if you have the previous PhpStorm 2018.2 EAP build (182.2949.27) 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 includes the latest improvements from IntelliJ Platform.
Improved SQL injections: support for dynamic field and table names, constant substitutions, sprintf support
In version 8, PhpStorm introduced basic support for string concatenations in Language Injections. The dynamic nature of the resulting strings and the strictness of SQL parser caused a lot false positive errors in SQL.
In PhpStorm 2018.2 EAP, we’ve eliminated most such errors and introduced some new features, too. PhpStorm can now substitute the values of constants directly within the injected string, so you can run a query without copy-pasting their values. We’ve also added support for SQL strings that use sprintf parameters.
HTTP Client: Support formatting of POST request body
PhpStorm 2018.2 helps you keep your HTTP requests tidy by providing POST request bodies formatting depending on the Content-Type. To use it, simply invoke the Code|Reformat code action.
Please be aware that formatting HTTP requests with variables in the request body is currently not supported (WI-42463). To format such a request, press Alt+Enter, choose Edit JSON/XML fragment, and then invoke the Reformat action in the opened tab.
In addition to new features, this build brings many major bug fixes and usability improvements including:
- Find usages: Find usages didn’t work on multiresolved references for class members WI-5467
- New delete GIT tag action IDEA-147018
- Application-level File Watchers WEB-12478
Use the board here to view an up-to-date list of the features planned for 2018.2 release, as well as discovered bugs. The list only reflects our current plan and is not final. It may be revised during development since new issues may appear and existing may be re-planned to appear in later versions. Please share your opinions on what is important to you and what would you like to see in the new version!
Download PhpStorm 2018.2 EAP 182.3208.33 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