mirror of
https://github.com/rectorphp/rector.git
synced 2025-03-16 05:19:45 +01:00
* [scoped] build PHP 7.0 repo to own repository to avoid breaking prefixed rector * lint with PHP 7.0 files
Prefixed Rector
Do you have conflicts on Rector install? You're in the right place. Prefixed Rector can be installed even on very old Symfony.
Do you have older PHP? Rector prefixed goes down to PHP 7.1, so you can install it even on older projects.
Install
composer require rector/rector-prefixed --dev
# generate "rector.php" config
vendor/bin/rector init
# dry run
vendor/bin/rector process src --dry-run
# changing run
vendor/bin/rector process src