Skip to content

Commit 692346d

Browse files
committed
skip narrow on test
1 parent 3b815db commit 692346d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

rector.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
declare(strict_types=1);
44

55
use Rector\Config\RectorConfig;
6+
use Rector\DeadCode\Rector\FunctionLike\NarrowTooWideReturnTypeRector;
67
use Rector\TypeDeclaration\Rector\ClassMethod\BoolReturnTypeFromBooleanStrictReturnsRector;
78

89
return RectorConfig::configure()
@@ -21,6 +22,9 @@
2122
BoolReturnTypeFromBooleanStrictReturnsRector::class => [
2223
__DIR__ . '/tests/FilterTest.php',
2324
],
25+
NarrowTooWideReturnTypeRector::class => [
26+
__DIR__ . '/tests/FilterTest.php',
27+
],
2428
])
2529
->withParallel()
2630
->withRootFiles()

0 commit comments

Comments
 (0)