Skip to content

Commit e63e8a9

Browse files
authored
Merge pull request #3959 from oleibman/docrector
Update Rector Documentation
2 parents 016ad48 + 6208887 commit e63e8a9

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

docs/topics/migration-from-PHPExcel.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff 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
1315
in `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
1921
vendor/bin/rector init

0 commit comments

Comments
 (0)