Skip to content

Commit 9c93833

Browse files
committed
chore: add DisallowedEmptyRuleFixerRector
1 parent 2874fb1 commit 9c93833

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

rector.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
use Rector\Privatization\Rector\Property\PrivatizeFinalClassPropertyRector;
4545
use Rector\Set\ValueObject\LevelSetList;
4646
use Rector\Set\ValueObject\SetList;
47+
use Rector\Strict\Rector\Empty_\DisallowedEmptyRuleFixerRector;
4748
use Rector\Strict\Rector\If_\BooleanInIfConditionRuleFixerRector;
4849
use Rector\TypeDeclaration\Rector\Empty_\EmptyOnNullableObjectToInstanceOfRector;
4950
use Utils\Rector\PassStrictParameterToFunctionParameterRector;
@@ -143,6 +144,7 @@
143144
$rectorConfig->rule(SimplifyEmptyCheckOnEmptyArrayRector::class);
144145
$rectorConfig->rule(TernaryEmptyArrayArrayDimFetchToCoalesceRector::class);
145146
$rectorConfig->rule(EmptyOnNullableObjectToInstanceOfRector::class);
147+
$rectorConfig->rule(DisallowedEmptyRuleFixerRector::class);
146148
$rectorConfig->rule(StringClassNameToClassConstantRector::class);
147149
$rectorConfig->rule(PrivatizeFinalClassPropertyRector::class);
148150
$rectorConfig->rule(CompleteDynamicPropertiesRector::class);

0 commit comments

Comments
 (0)