Tag Archives: productivity

Code navigation improvements

In PhpStorm 2018.1, navigating your codebase is a bit easier. The navigation features are actually not new, but we’ve fixed several issues with them to make them behave more predictably. If something was not working for you previously, now it’s … Continue reading

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

Configurable unchecked exceptions

In PhpStorm 2017.3, we’ve implemented several inspections that will help you eliminate unhandled exceptions and redundant @throws from your code. Initially, it was possible to exclude the \RuntimeException and \LogicException exceptions, as well as their derived classes, from the inspection … Continue reading

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

Handling responses in the HTTP Client

At the HTTP client’s inception, we’ve been primarily focused on the composing requests experience, and PhpStorm 2018.1 brings numerous improvements in this area. Working with responses, however, has been greatly enhanced, too. Let’s resume where we left off, and take … Continue reading

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

Easier start with the HTTP client

The HTTP client in the code editor introduced in PhpStorm 2017.3 has been incredibly well received. In fact, it’s even due to fully replace the GUI-based REST client. Just in case you’ve missed it, take a look at the introductory … Continue reading

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

Codeception сode coverage support

PhpStorm 2018.1 delivers long-awaited code coverage support for Codeception. Now you can get a detailed overview of which portions of your application’s codebase are covered with tests.

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

Inline method refactoring

In PhpStorm, you can use the Extract method refactoring to transform a group of statements into a method. Surprisingly enough, doing the opposite has not been possible up until recently. In PhpStorm 2018.1, we are introducing the Inline method refactoring.

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

Testing improvements in PhpStorm 2018.1

PhpStorm 2018.1 brings several improvements to streamline and simplify your work with PHPUnit tests. You can now create target classes from tests, annotate your tests easily, and run the tests using the code editor gutter icons. Let’s take a closer … Continue reading

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

Refactor your code to functional style with PhpStorm 2018.1

How many times you wrote code like this to achieve a simple purpose? Mapping values of an array:

Filtering:

Or reducing an array to some value:

The above code samples involve the imperative programming style, which is … Continue reading

Posted in Cool Feature | Tagged , | 9 Comments

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 , , | 4 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