Skip to content

Commit 07c19d0

Browse files
committed
wip
1 parent a466c66 commit 07c19d0

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
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",
@@ -66,7 +67,6 @@
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",

packages/upgrade/README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
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`

0 commit comments

Comments
 (0)