Skip to content

Commit 09403e5

Browse files
committed
Run rector with composer
1 parent f9b1600 commit 09403e5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@
7474
"test": "phpunit",
7575
"test:coverage": "phpunit --coverage-clover ./coverage.xml",
7676
"cs": "phpcs",
77-
"cs:fix": "phpcbf"
77+
"cs:fix": "phpcbf",
78+
"rector": "rector"
7879
},
7980
"config": {
8081
"allow-plugins": {

rector.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@
1414
__DIR__ . '/src',
1515
__DIR__ . '/tests',
1616
])
17-
// uncomment to reach your current PHP version
18-
->withPhpSets(php82: true)
17+
->withPhpSets()
1918
->withTypeCoverageLevel(0)
2019
->withSkip([
2120
RemoveExtraParametersRector::class,

0 commit comments

Comments
 (0)