Author Archives: Anton Monakov

Twig handling improvements

PhpStorm provides native support for Twig templates, and with version 2017.3 it just got better. The Twig formatting mechanism now handles complex structures properly. It provides correct indentation for your code blocks and preserves it when copying and pasting code … Continue reading

Posted in Cool Feature, Newsletter | Tagged , , | 3 Comments

PHPUnit support enhancements

PhpStorm 2017.3 brings you several minor enhancements, allowing for more effective work with unit tests. The new Undefined PHPUnit data provider inspection detects a method that you’ve specified via the @dataProvider annotation but have not declared in unit tests yet. … Continue reading

Posted in Cool Feature, Newsletter | Tagged , , | Leave a comment

Test methods generation

PhpStorm 2017.3 makes it easier to create tests with all supported test frameworks. Previously available for PHPUnit tests only, test file templates will now assist you in creating Codeception Unit, Codeception Functional, and PHPSpec Specification tests.

Posted in Cool Feature, Newsletter | Tagged | Leave a comment

Bring exceptions under control

PhpStorm 2017.3 introduces several useful inspections and the corresponding quick-fixes for handling exceptions in your code. Unhandled exception Situations where executing your code will lead to a Fatal Error should be detected in advance and avoided. The new Unhandled exception … Continue reading

Posted in Cool Feature, Newsletter | 20 Comments

Nullability support

PHP 7.1 introduced support for nullable types. When declaring a parameter or a return value, you can prepend its type with “?” to explicitly state that it is nullable. This way, you permit the NULL value to be passed or … Continue reading

Posted in Cool Feature, Newsletter | Leave a comment

Files and code generation enhancements

PhpStorm 2017.3 has a number of subtle, yet effective, enhancements to help you with your file and code generation. PHP File templates PhpStorm 2017.3 unifies the way you work with your PHP file templates. The New PHP Class dialog now … Continue reading

Posted in Cool Feature, Newsletter | 1 Comment

Composer Log

Composer is an indispensable tool; it has been integrated with PhpStorm since version 6. Prior to version 2017.3, however, the messages from the Composer actions were shown in the Event Log together with all the other messages. When there were … Continue reading

Posted in Cool Feature, Newsletter | Tagged | Leave a comment

Power Save Mode in PhpStorm

It is no secret that PhpStorm’s CPU usage can be quite high at times. This is primarily caused by various code insight features including auto-completion, syntax errors checking, intention actions and on-the-fly inspections. These processes are always running in the … Continue reading

Posted in Cool Feature, Newsletter | Leave a comment

Connecting to Deployment Servers and Remote Interpreters with SSH-Agent

When you work with remote servers, a common and recommended security measure is to use SSH key pairs for authentication. Our friends at PyCharm have prepared a great blog post on the topic. It explains how to generate an SSH … Continue reading

Posted in Cool Feature, Newsletter, Tutorial | Tagged , | 7 Comments

Editor-based Rest Client

Among other features introduced in 2017.3 EAP we mentioned the editor-based REST client, which offers a new approach to working with web APIs. Earlier, you could run your requests with the REST client built right into PhpStorm, but it required … Continue reading

Posted in Cool Feature, Newsletter, PhpStorm, Tutorial | Tagged | 33 Comments