File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -8,12 +8,14 @@ need to be done.
88
99## Automated tool
1010
11- [ RectorPHP] ( https://github.com/rectorphp/rector ) can be used to migrate
12- automatically your codebase. Assuming your files to be migrated lives
11+ [ RectorPHP] ( https://github.com/rectorphp/rector ) can be used to automatically migrate your codebase.
12+ Note that this support has been dropped from current releases of rector,
13+ so you need to require an earlier release to do this.
14+ Assuming that your files to be migrated live
1315in ` src/ ` , you can run the migration like so:
1416
1517``` sh
16- composer require rector/rector rector/rector-phpoffice phpoffice/phpspreadsheet --dev
18+ composer require rector/rector:0.15.10 rector/rector-phpoffice phpoffice/phpspreadsheet --dev
1719
1820# this creates rector.php config
1921vendor/bin/rector init
You can’t perform that action at this time.
0 commit comments