Search this blog
Other JetBrains Blogs
Want a PhpStorm T-Shirt?
Visit our Apparel Store!
Tag Archives: refactoring
A very powerful refactoring is the Change signature refactoring in PhpStorm. It enables us to modify a function signature in many ways: we can change the function name, change its visibility, add, remove and reorder parameters as well as rename … Continue reading
Those of you who have already tried PhpStorm 6 might have noticed a lot of great additions to PHP imports support. In this post we would like to tell you about a long awaited feature: Optimize Imports for PHP.
Moving code around is an essential part of application design and maintenance, but it may become a tedious task in modern code utilising namespaces and the PSR0 file layout convention. Move Class refactoring is a reliable tool that will remove … Continue reading
As you work on a big project, you often face the need to refactor your code to maintain it properly. Likewise, there are many situations when you start to add functionality from the bottom of the class hierarchy and then … Continue reading
We are happy to announce the first public build of PhpStorm & WebStorm 6.0!
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
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
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.
Hello guys, PhpStorm 2.0 brings you several new refactorings including “Inline Variable”. This is the first refactoring from the ‘Inline…’ refactorings family. “Inline Variable” replaces a variable with its previously assigned value and could be considered as reverse to the … Continue reading
Rename refactoring is one of the basic types of refactoring, and PhpStorm supports it since the early builds. This post will let you know about the new rename refactoring features available in PhpStorm 2.0! Advanced options for renaming named entities Rename … Continue reading