Working with WordPress at any development level requires that you get your hands a bit dirty; PHP-dirty that is.
And if you’re serious about developing apps on top of WordPress then you’ll need tools and packages to get your work done – which may include refactoring apps that help you move faster through tons of code.
This automatic refactor for PHP generates diffs that describe the refactoring steps – this, naturally, prevents simple mistakes during refactorings and automates it.
Simple concept but the combination of libraries that they’ve included may make it worth a few moments of your time to review:
- PHP Parser by Nikic
- PHP Token Reflection from Ondřej Nešpor
- PHP Analyzer by Johannes Schmitt
They are releasing it for free via Github and plan on continuing to develop it over time. For example, they are looking into integration into Vim (using hot-keys to perform refactoring, which would speed it up even more because who doesn’t love hot-keys?) as well as introduction of more refactorings and improvements on the existing system.
Read more via the announcement post here and take a look at it when you have a moment this week.
No Comments