Instant Upgrades and Automated Refactoring of any PHP 5.3+ code
Go to file
Tomas Votruba 345a89a7e2 Updated Rector to commit a657258f31
a657258f31 cleanup CHANGELOG, is part of GitHub releases now (#2)
2021-05-10 00:23:30 +00:00
.docker Updated Rector to commit dedd4b55fe 2021-05-09 20:15:43 +00:00
.github Updated Rector to commit dedd4b55fe 2021-05-09 20:15:43 +00:00
bin Updated Rector to commit a657258f31 2021-05-10 00:23:30 +00:00
ci Updated Rector to commit dedd4b55fe 2021-05-09 20:15:43 +00:00
config Updated Rector to commit a657258f31 2021-05-10 00:23:30 +00:00
docs [automated] Re-Generate Nodes/Rectors Documentation (#6396) 2021-05-09 02:15:50 +02:00
packages Updated Rector to commit a657258f31 2021-05-10 00:23:30 +00:00
rules Updated Rector to commit a657258f31 2021-05-10 00:23:30 +00:00
src Updated Rector to commit a657258f31 2021-05-10 00:23:30 +00:00
stubs Updated Rector to commit dedd4b55fe 2021-05-09 20:15:43 +00:00
templates Move from SETS parameter to explicit import() (#6375) 2021-05-06 20:06:31 +00:00
tests Updated Rector to commit dedd4b55fe 2021-05-09 20:15:43 +00:00
upgrade Updated Rector to commit a657258f31 2021-05-10 00:23:30 +00:00
vendor Updated Rector to commit a657258f31 2021-05-10 00:23:30 +00:00
.dockerignore Updated Rector to commit dedd4b55fe 2021-05-09 20:15:43 +00:00
.gitattributes [TASK] Take .editorconfig into account (#6272) 2021-05-06 13:26:28 +02:00
bootstrap.php Updated Rector to commit dedd4b55fe 2021-05-09 20:15:43 +00:00
CODE_OF_CONDUCT.md Use HTTPS instead of HTTP 2018-02-14 07:23:09 -02:00
composer.json Updated Rector to commit dedd4b55fe 2021-05-09 20:15:43 +00:00
CONTRIBUTING.md Move contributing guide to its own file 2020-03-21 14:22:10 +01:00
Dockerfile Updated Rector to commit dedd4b55fe 2021-05-09 20:15:43 +00:00
LICENSE Update LICENSE year forever 2018-01-02 20:27:07 -02:00
preload.php Updated Rector to commit dedd4b55fe 2021-05-09 20:15:43 +00:00
README.md Updated Rector to commit dedd4b55fe 2021-05-09 20:15:43 +00:00
rector.php [scoped on PHP 7.0] bin/rector run with extracted phpstan (#6371) 2021-05-06 23:43:45 +02:00
UPGRADE.md Add upgrade path to Rector 0.10 - upgrade set included (#6061) 2021-04-09 01:12:42 +00:00

Prefixed Rector

Build Status Github Actions Downloads

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 --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