Skip to content

Commit 2c6bc6a

Browse files
Update rector/rector requirement from ^1.2 to ^2.0 (#37)
Co-authored-by: Sergei Predvoditelev <[email protected]>
1 parent bce52ba commit 2c6bc6a

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"require-dev": {
4242
"maglnet/composer-require-checker": "^4.7",
4343
"phpunit/phpunit": "^10.5",
44-
"rector/rector": "^1.2",
44+
"rector/rector": "^2.0",
4545
"roave/infection-static-analysis-plugin": "^1.35",
4646
"spatie/phpunit-watcher": "^1.24",
4747
"vimeo/psalm": "^5.26",

rector.php

-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
use Rector\CodeQuality\Rector\Class_\InlineConstructorDefaultToPropertyRector;
66
use Rector\Config\RectorConfig;
7-
use Rector\Php73\Rector\FuncCall\JsonThrowOnErrorRector;
87
use Rector\Php74\Rector\Closure\ClosureToArrowFunctionRector;
98
use Rector\Php81\Rector\Property\ReadOnlyPropertyRector;
109
use Rector\Php81\Rector\FuncCall\NullToStrictStringFuncCallArgRector;
@@ -26,7 +25,6 @@
2625

2726
$rectorConfig->skip([
2827
ClosureToArrowFunctionRector::class,
29-
JsonThrowOnErrorRector::class,
3028
ReadOnlyPropertyRector::class,
3129
NullToStrictStringFuncCallArgRector::class,
3230
]);

0 commit comments

Comments
 (0)