Skip to content

Commit c638e0f

Browse files
committed
re-run rector with enable RemoveDeadZeroAndOneOperationRector
1 parent a47dfb6 commit c638e0f

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

rector.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
use Rector\DeadCode\Rector\If_\RemoveAlwaysTrueIfConditionRector;
3333
use Rector\DeadCode\Rector\If_\UnwrapFutureCompatibleIfPhpVersionRector;
3434
use Rector\DeadCode\Rector\MethodCall\RemoveEmptyMethodCallRector;
35-
use Rector\DeadCode\Rector\Plus\RemoveDeadZeroAndOneOperationRector;
3635
use Rector\EarlyReturn\Rector\Foreach_\ChangeNestedForeachIfsToEarlyContinueRector;
3736
use Rector\EarlyReturn\Rector\If_\ChangeIfElseValueAssignToEarlyReturnRector;
3837
use Rector\EarlyReturn\Rector\If_\RemoveAlwaysElseRector;
@@ -134,9 +133,6 @@
134133

135134
// buggy on read based on @var on property
136135
RemoveAlwaysTrueIfConditionRector::class,
137-
138-
// buggy on string * int
139-
RemoveDeadZeroAndOneOperationRector::class,
140136
]);
141137

142138
// auto import fully qualified class names

0 commit comments

Comments
 (0)