File tree Expand file tree Collapse file tree 2 files changed +16
-1
lines changed
Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change 3232 "psr/http-factory" : " ^1.0" ,
3333 "psr/http-message" : " ^1.0|^2.0" ,
3434 "psr/log" : " ^3.0.0" ,
35+ "rector/rector" : " ^2.1" ,
3536 "symfony/cache" : " ^7.3" ,
3637 "symfony/mailer" : " ^7.2.6" ,
3738 "symfony/process" : " ^7.3" ,
6667 "phpstan/phpstan" : " ^2.0" ,
6768 "phpunit/phpunit" : " ^12.2.3" ,
6869 "predis/predis" : " ^3.0.0" ,
69- "rector/rector" : " ^2.0-rc2" ,
7070 "spatie/phpunit-snapshot-assertions" : " ^5.1.8" ,
7171 "spaze/phpstan-disallowed-calls" : " ^4.0" ,
7272 "symfony/amazon-mailer" : " ^7.2.0" ,
Original file line number Diff line number Diff line change 1+ ## Upgrade guide
2+
3+
4+ 1 . Make sure rector is installed:
5+ - ` composer require rector/rector --dev `
6+ - Run ` vendor/bin/rector ` if you don't have a ` rector.php ` config file
7+ 2 . Add the necessary rector sets in your ` rector.php ` config file:
8+
9+ ``` php
10+ return RectorConfig::configure()
11+ // …
12+ ->withSets([__DIR__ . '/vendor/tempest/framework/packages/upgrade/src/tempest2.php']);
13+ ```
14+
15+ 3 . Run ` vendor/bin/rector `
You can’t perform that action at this time.
0 commit comments