Category Archives: Cool Feature

PhpStorm 2018.1.2 EAP 181.4668.24

It’s a start of Early Access Program for PhpStorm 2018.1.2, a second minor update for the recently released PhpStorm 2018.1. A fresh build 181.4668.24 is available here, in JetBrains Toolbox App or, if you have installed PhpStorm 2018.1.1 and have “Early Access Program” channel in Settings->System Settings->Updates, you should … Continue reading

Posted in Cool Feature | 11 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 , | 2 Comments

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

How to provide stubs for PhpStorm

We call PhpStorm “an IDE that actually ‘gets’ your code,” meaning that it provides completion, type inference, inspection, documentation pop-ups, and a lot more coding assistance. For all the Standard PHP Library components as well as for common extensions, this … Continue reading

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

Getting PhpStorm ready for Xdebug 2.6

When it comes to PHP debugging, Xdebug is the de-facto standard. With the 2.6 version released last week, it’s a good time to take a look at the new features. And since Xdebug has always been tightly integrated with PhpStorm, … Continue reading

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

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