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.
8
8
9
9
## Automated tool
10
10
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
13
15
in ` src/ ` , you can run the migration like so:
14
16
15
17
``` 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
17
19
18
20
# this creates rector.php config
19
21
vendor/bin/rector init
You can’t perform that action at this time.
0 commit comments