Skip to content

Commit

Permalink
[EarlyReturn] Remove ReturnAfterToEarlyOnBreakRector as risky and tur…
Browse files Browse the repository at this point in the history
…ning around next/previous nodes (#2624)
  • Loading branch information
TomasVotruba committed Jul 3, 2022
1 parent 8eedf18 commit f78af10
Show file tree
Hide file tree
Showing 15 changed files with 0 additions and 468 deletions.
2 changes: 0 additions & 2 deletions config/set/early-return.php
Expand Up @@ -4,7 +4,6 @@

use Rector\Config\RectorConfig;
use Rector\EarlyReturn\Rector\Foreach_\ChangeNestedForeachIfsToEarlyContinueRector;
use Rector\EarlyReturn\Rector\Foreach_\ReturnAfterToEarlyOnBreakRector;
use Rector\EarlyReturn\Rector\If_\ChangeAndIfToEarlyReturnRector;
use Rector\EarlyReturn\Rector\If_\ChangeIfElseValueAssignToEarlyReturnRector;
use Rector\EarlyReturn\Rector\If_\ChangeNestedIfsToEarlyReturnRector;
Expand All @@ -26,7 +25,6 @@
ReturnBinaryAndToEarlyReturnRector::class,
ChangeOrIfReturnToEarlyReturnRector::class,
ChangeOrIfContinueToMultiContinueRector::class,
ReturnAfterToEarlyOnBreakRector::class,
PreparedValueToEarlyReturnRector::class,
ReturnBinaryOrToEarlyReturnRector::class,
ReturnEarlyIfVariableRector::class,
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit f78af10

Please sign in to comment.