File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 5656use Rector \DeadCode \Rector \Return_ \RemoveDeadConditionAboveReturnRector ;
5757use Rector \DeadCode \Rector \StaticCall \RemoveParentCallWithoutParentRector ;
5858use Rector \DeadCode \Rector \Stmt \RemoveConditionExactReturnRector ;
59+ use Rector \DeadCode \Rector \Stmt \RemoveNextSameValueConditionRector ;
5960use Rector \DeadCode \Rector \Stmt \RemoveUnreachableStatementRector ;
6061use Rector \DeadCode \Rector \Switch_ \RemoveDuplicatedCaseInSwitchRector ;
6162use Rector \DeadCode \Rector \Ternary \TernaryToBooleanOrFalseToBooleanAndRector ;
@@ -103,7 +104,7 @@ final class DeadCodeLevel
103104 SimplifyIfElseWithSameContentRector::class,
104105
105106 // needs more testing, Nov 2025
106- // RemoveNextSameValueConditionRector::class,
107+ RemoveNextSameValueConditionRector::class,
107108 SimplifyUselessVariableRector::class,
108109 RemoveDeadZeroAndOneOperationRector::class,
109110
You can’t perform that action at this time.
0 commit comments