Skip to content

Commit 22d3e63

Browse files
committed
skip FunctionLikeToFirstClassCallableRector
1 parent 1d25035 commit 22d3e63

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

rector.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
declare(strict_types=1);
44

5+
use Rector\CodingStyle\Rector\FunctionLike\FunctionLikeToFirstClassCallableRector;
56
use Rector\Config\RectorConfig;
67
use Rector\DeadCode\Rector\FunctionLike\NarrowTooWideReturnTypeRector;
78
use Rector\TypeDeclaration\Rector\ClassMethod\BoolReturnTypeFromBooleanStrictReturnsRector;
@@ -25,6 +26,8 @@
2526
NarrowTooWideReturnTypeRector::class => [
2627
__DIR__ . '/tests/FilterTest.php',
2728
],
29+
30+
FunctionLikeToFirstClassCallableRector::class,
2831
])
2932
->withSets([
3033
__DIR__ . '/vendor/rector/rector/config/set/type-declaration-docblocks.php',

0 commit comments

Comments
 (0)