Tag Archives: PHP

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 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 Announcement, Feature | 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 Feature | Tagged , , , , | Leave a comment

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 Feature | Tagged , , | 9 Comments

Customizable getter and setter method templates in PhpStorm

Another EAP build of PhpStorm 2.1 comes with bundled templates for PHP getter and setter methods. You can change these templates for your own needs in Settings|File Templates|Code|PHP Getter/Setter Method.

Posted in Feature | Tagged , | 7 Comments

‘Extract Function/Method’ refactoring for PHP

Hello guys, We are working hard on new features for PhpStorm 2.1, and the ‘Extract Function/Method’ refactoring for PHP is one of them. This feature has been available since the first PhpStorm 2.1 EAP(106.444), and we are looking forward for … Continue reading

Posted in Feature | Tagged , , , | 14 Comments

Phing support

Phing is a powerful build tool based on Apache Ant. Apache Ant has an extensive and long-standing support in IDEA. At least, I used it even in IDEA 7. So now I’m glad to introduce Phing support in PhpStorm EAP … Continue reading

Posted in Uncategorized | Tagged , , | 28 Comments

Productivity hints: Writing assignments with ‘Introduce Variable’ refactoring

Hello guys, Recently after demoing the PhpStorm to users on a conference I discovered that our practice of writing assignments “backwards” via “Introduce variable” was really surprising to users… Lets discuss what exactly we are doing and why. How do … Continue reading

Posted in Feature | Tagged , , , | 7 Comments

Configuring PHP debugging in PhpStorm 2.0

Introduction In the previous post Zero-configuration debugging with XDebug and PhpStorm 2.0, we discussed setting up debugging automatically. This works perfectly in most cases. However, sometimes you may still need to configure debugging manually. In this article we will explain … Continue reading

Posted in Tutorial | Tagged , , , , | 12 Comments

“Introduce Constant” refactoring for PHP

The “Introduce Constant” refactoring is very similar to the “Introduce Variable” refactoring – it creates a constant which holds the selected expression as the value and replaces it occurrences by reference to this newly created constant.

Posted in Feature | Tagged , , | 3 Comments