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