File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
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 ;
@@ -102,8 +103,7 @@ final class DeadCodeLevel
102103 RemoveConcatAutocastRector::class,
103104 SimplifyIfElseWithSameContentRector::class,
104105
105- // needs more testing, Nov 2025
106- // RemoveNextSameValueConditionRector::class,
106+ RemoveNextSameValueConditionRector::class,
107107 SimplifyUselessVariableRector::class,
108108 RemoveDeadZeroAndOneOperationRector::class,
109109
You can’t perform that action at this time.
0 commit comments