Skip to content

Commit da9045c

Browse files
committed
enable RemoveAlwaysTrueIfConditionRector
1 parent 22807e0 commit da9045c

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

rector.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
use Rector\CodingStyle\Rector\FuncCall\CountArrayToEmptyArrayComparisonRector;
3030
use Rector\Config\RectorConfig;
3131
use Rector\DeadCode\Rector\ClassMethod\RemoveUnusedPrivateMethodRector;
32-
use Rector\DeadCode\Rector\If_\RemoveAlwaysTrueIfConditionRector;
3332
use Rector\DeadCode\Rector\If_\UnwrapFutureCompatibleIfPhpVersionRector;
3433
use Rector\DeadCode\Rector\MethodCall\RemoveEmptyMethodCallRector;
3534
use Rector\EarlyReturn\Rector\Foreach_\ChangeNestedForeachIfsToEarlyContinueRector;
@@ -115,10 +114,6 @@
115114
GetMockBuilderGetMockToCreateMockRector::class => [
116115
__DIR__ . '/tests/system/Email/EmailTest.php',
117116
],
118-
119-
// temporary skip as remove on variable check from @param doc
120-
// @see https://github.com/rectorphp/rector-src/pull/3402
121-
RemoveAlwaysTrueIfConditionRector::class,
122117
]);
123118

124119
// auto import fully qualified class names

0 commit comments

Comments
 (0)