Skip to content

Commit d3e0cc5

Browse files
committed
#4 update rules rector
1 parent dd21017 commit d3e0cc5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

rector.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
use Rector\Privatization\Rector\ClassMethod\PrivatizeFinalClassMethodRector;
2424
use Rector\Privatization\Rector\Property\PrivatizeFinalClassPropertyRector;
2525
use Rector\Set\ValueObject\SetList;
26+
use Rector\Strict\Rector\Empty_\DisallowedEmptyRuleFixerRector;
2627
use Rector\TypeDeclaration\Rector\ClassMethod\AddVoidReturnTypeWhereNoReturnRector;
2728
use Rector\TypeDeclaration\Rector\ClassMethod\ReturnTypeFromReturnDirectArrayRector;
2829
use Rector\TypeDeclaration\Rector\ClassMethod\ReturnTypeFromStrictNewArrayRector;
@@ -64,6 +65,7 @@
6465
]);
6566

6667
$rectorConfig->skip([
68+
DisallowedEmptyRuleFixerRector::class,
6769
CompactToVariablesRector::class,
6870
RemoveEmptyClassMethodRector::class,
6971
RemoveNonExistingVarAnnotationRector::class,

0 commit comments

Comments
 (0)