Tag Archives: productivity

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 code 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 , | 10 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

Language Injections Enhancements in PhpStorm 8

In many codebases, small islands of different programming languages are being used in code, for example chunks of JavaScript written in a PHP string, or portions of HTML in a JavaScript variable, or database queries inside a string. With PhpStorm 8, we’ve … Continue reading

Posted in Cool Feature, Early Access Program | Tagged , , , , , , , | 10 Comments

PHP Mess Detector in PhpStorm

PhpStorm comes with many inspections that help us analyze and improve the quality of our codebase. By using PHP Mess Detector (PHPMD), we can enable many additional code quality checks on our codebase: it can detect possible bugs, suboptimal code, … Continue reading

Posted in Cool Feature | Tagged , , , , , | 9 Comments