Tag Archives: PHP

PhpStorm Type Inference and Mocking Frameworks

Recently, we received a question on Twitter asking about how PhpStorm handles type inference when working with mocking frameworks. Imagine having the following two classes: When writing a unit test for ClassA, it’s very easy to mock ClassB using PHPUnit’s … Continue reading

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

PHP Mess Detector Support in PhpStorm 6.0

PhpStorm has added one more tool to its list of external code quality validators: PHP Mess Detector.

Posted in Cool Feature, PhpStorm | Tagged , , , | 8 Comments

Integrating Composer command line tool with PhpStorm

Built-in Command Line Tool support plugin provides autocompletion and documentation for any command line based tools. It needs just an xml commands description to support new tool. We plan to add automatic recognition of composer and other popular tools in future, but … Continue reading

Posted in Cool Feature, PhpStorm, Tutorial | Tagged , , , | 16 Comments

New in 4.0: Easier debugging of remote PHP command line scripts

Many of PhpStorm users like to debug their PHP web applications and local command line scripts using our zero-configuration debugging approach due to its simplicity and comfort. This time we would like to announce that since PhpStorm 4.0 you can … Continue reading

Posted in Cool Feature, PhpStorm | Tagged , , , , | 11 Comments

Checking your code with PHP Code Sniffer in PhpStorm 4.0

PhpStorm 4.0 allows you to check your code on the fly with PHP Code Sniffer (phpcs) just by opening a PHP file. The check is triggered every time you change something in the file thus making it extremely easy to … Continue reading

Posted in Cool Feature, PhpStorm | Tagged , | 32 Comments

New in 4.0: Support of PHP 5.4 Built-in Web Server

As of PHP 5.4.0, the CLI SAPI provides a built-in web server which is intended for development purposes only. We are glad to announce that since PhpStorm 4.0 you can control a web server instance directly from the IDE.

Posted in Cool Feature, PhpStorm | Tagged , | 5 Comments

Debug command line scripts with PhpStorm 2.1

Hello everybody, Recently, we have been often asked to provide a detailed guide in debugging command line scripts. And finally here you are!

Posted in Cool Feature, PhpStorm, Tutorial | Tagged , , , , | 8 Comments

Search for code duplicates in WebStorm/PhpStorm

We’re glad to announce a new code analysis feature that is available in the most recent PhpStorm EAP— Locate Duplicates. This feature lets you quickly find duplicate code fragments and then fix them, therefore reducing the size of your code … Continue reading

Posted in Cool Feature, PhpStorm, WebStorm | Tagged , , , , | 7 Comments

New debug features in PhpStorm 2.1

Hello guys, Let’s talk about some new debug features available in PhpStorm 2.1.

Posted in Cool Feature, PhpStorm | Tagged , , , , | Comments Off

New PHPDoc inspections and quick fixes

There is a number of new PHPDoc inspections available in the latest PhpStorm 2.1 EAP builds which allow to find basic problems in PHP code documenting. These new inspections can be turned on/off in Settings|Inspections|PHP|CodeStyle/PHPDoc. Traditionally each inspection has a … Continue reading

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