Newest · Tools and testing
Rector PHP: Automated Upgrades and Safe Refactoring
Modernize legacy PHP applications with Rector. Configure rector.php, apply staged version sets or levels, run dry runs in CI, and skip rules with test suites.
- Installing Rector and Setting Up rector.php
- Target PHP Version Sets Versus Incremental Rule Levels
- Worked Before and After Refactoring Examples
- Excluding Rules and Handling Edge Cases with withSkip()