Everything on rector.
3 articles tagged rector, sorted newest first.
Write a Custom Rector Rule to Refactor Your Own Laravel Conventions
Rector gets used for framework upgrades and almost never for the thing it is best at — mechanically applying a decision your own team made. Here's the AST-first workflow, and the two mistakes that make a new rule silently do nothing.
Rector PHP: Automate Laravel Upgrade Refactors
Stop hand-editing hundreds of files when bumping PHP or Laravel versions. Here's how to wire Rector into a Laravel project, run it safely, and write a custom rule for the patterns specific to your codebase.
PHP 8.5 Deprecations Cheat Sheet: What to Fix Before Upgrading
PHP 8.5 ships with a batch of deprecations that will become hard errors in PHP 9.0. Here's the complete list with one-line fixes and a Rector command to automate the scan.