- Make sure rector is installed:
composer require rector/rector --dev- Run
vendor/bin/rectorif you don't have arector.phpconfig file
- Add the necessary rector sets in your
rector.phpconfig file:
return RectorConfig::configure()
// …
->withSets([
TempestSetList::TEMPEST_20,
]);- Run
vendor/bin/rector