Skip to content

Commit 3d71f97

Browse files
committed
skip on RemoveDeadZeroAndOneOperationRector
1 parent f45cce0 commit 3d71f97

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

rector.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
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;
3536
use Rector\EarlyReturn\Rector\Foreach_\ChangeNestedForeachIfsToEarlyContinueRector;
3637
use Rector\EarlyReturn\Rector\If_\ChangeIfElseValueAssignToEarlyReturnRector;
3738
use Rector\EarlyReturn\Rector\If_\RemoveAlwaysElseRector;
@@ -131,7 +132,11 @@
131132
__DIR__ . '/tests/system/Email/EmailTest.php',
132133
],
133134

135+
// buggy on read based on @var on property
134136
RemoveAlwaysTrueIfConditionRector::class,
137+
138+
// buggy on string * int
139+
RemoveDeadZeroAndOneOperationRector::class,
135140
]);
136141

137142
// auto import fully qualified class names

0 commit comments

Comments
 (0)