We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71527af commit de7f1d9Copy full SHA for de7f1d9
1 file changed
config/set/php81.php
@@ -2,6 +2,7 @@
2
3
declare(strict_types=1);
4
5
+use Rector\CodingStyle\Rector\FunctionLike\FunctionLikeToFirstClassCallableRector;
6
use Rector\Config\RectorConfig;
7
use Rector\Php81\Rector\Array_\FirstClassCallableRector;
8
use Rector\Php81\Rector\Class_\MyCLabsClassToEnumRector;
@@ -26,7 +27,10 @@
26
27
SpatieEnumMethodCallToEnumConstRector::class,
28
NullToStrictStringFuncCallArgRector::class,
29
NullToStrictIntPregSlitFuncCallLimitArgRector::class,
30
+ // array of local method call
31
FirstClassCallableRector::class,
32
+ // closure/arrow function
33
+ FunctionLikeToFirstClassCallableRector::class,
34
RemoveReflectionSetAccessibleCallsRector::class,
35
]);
36
};
0 commit comments