Skip to content

Commit b7ceda5

Browse files
committed
temporary skip RemoveAlwaysTrueIfConditionRector as check truthy by @param doc
1 parent 1d4f677 commit b7ceda5

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
@@ -29,6 +29,7 @@
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;
3233
use Rector\DeadCode\Rector\If_\UnwrapFutureCompatibleIfPhpVersionRector;
3334
use Rector\DeadCode\Rector\MethodCall\RemoveEmptyMethodCallRector;
3435
use Rector\EarlyReturn\Rector\Foreach_\ChangeNestedForeachIfsToEarlyContinueRector;
@@ -114,6 +115,10 @@
114115
GetMockBuilderGetMockToCreateMockRector::class => [
115116
__DIR__ . '/tests/system/Email/EmailTest.php',
116117
],
118+
119+
// temporary skip as remove on variable check from @param doc
120+
// ref https://github.com/rectorphp/rector-src/pull/3402
121+
RemoveAlwaysTrueIfConditionRector::class,
117122
]);
118123

119124
// auto import fully qualified class names

0 commit comments

Comments
 (0)