Skip to content

Commit fb17fe4

Browse files
committedJan 31, 2022
try latest rector dev-main
1 parent 8dc91e1 commit fb17fe4

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed
 

‎composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
"phpstan/phpstan": "^1.0",
7575
"phpstan/phpstan-webmozart-assert": "^1.0",
7676
"pimple/pimple": "^3.2",
77-
"rector/rector": "0.12.14",
77+
"rector/rector": "dev-main",
7878
"symfony/dependency-injection": "^5.0"
7979
},
8080
"suggest": {

‎rector.php

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
declare(strict_types=1);
44

55
use Rector\CodeQuality\Rector\Array_\CallableThisArrayToAnonymousFunctionRector;
6+
use Rector\CodingStyle\Rector\ClassConst\RemoveFinalFromConstRector;
67
use Rector\CodingStyle\Rector\ClassMethod\UnSpreadOperatorRector;
78
use Rector\Core\Configuration\Option;
89
use Rector\Privatization\Rector\Class_\FinalizeClassesWithoutChildrenRector;
@@ -33,5 +34,6 @@
3334
CallableThisArrayToAnonymousFunctionRector::class,
3435
UnSpreadOperatorRector::class,
3536
FinalizeClassesWithoutChildrenRector::class,
37+
RemoveFinalFromConstRector::class,
3638
]);
3739
};

0 commit comments

Comments
 (0)