Hello! Please see the following for reference: https://github.com/driftingly/rector-laravel/pull/461 Running rector after making modifications is a perfect example for an agent hook, the same thing could be said for pint, phpstan, or other tools. Thanks! CC @peterfox