File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 66use Rector \Php81 \Rector \Array_ \FirstClassCallableRector ;
77use Rector \Php81 \Rector \Class_ \MyCLabsClassToEnumRector ;
88use Rector \Php81 \Rector \Class_ \SpatieEnumClassToEnumRector ;
9- use Rector \Php81 \Rector \ClassMethod \NewInInitializerRector ;
109use Rector \Php81 \Rector \FuncCall \NullToStrictStringFuncCallArgRector ;
1110use Rector \Php81 \Rector \MethodCall \MyCLabsMethodCallToEnumConstRector ;
1211use Rector \Php81 \Rector \MethodCall \SpatieEnumMethodCallToEnumConstRector ;
2322 ReadOnlyPropertyRector::class,
2423 SpatieEnumClassToEnumRector::class,
2524 SpatieEnumMethodCallToEnumConstRector::class,
26- NewInInitializerRector::class,
2725 NullToStrictStringFuncCallArgRector::class,
2826 FirstClassCallableRector::class,
2927 ]);
Original file line number Diff line number Diff line change @@ -216,6 +216,8 @@ parameters:
216216 # optional as changes behavior, should be used explicitly outside PHP upgrade
217217 - ' #Register "Rector\\Php73\\Rector\\FuncCall\\JsonThrowOnErrorRector" service to "php73\.php" config set #'
218218
219+ - ' #Register "Rector\\Php81\\Rector\\ClassMethod\\NewInInitializerRector" service to "php81\.php" config set #'
220+
219221 # closure detailed
220222 - '#Method Rector\\Config\\RectorConfig\:\:singleton\ (\ ) has parameter \$concrete with no signature specified for Closure #'
221223
You can’t perform that action at this time.
0 commit comments