Skip to content

Commit f0dd3c6

Browse files
committed
skip RemoveAlwaysTrueIfConditionRector on trait
1 parent 499554b commit f0dd3c6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

rector.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
use Rector\CodingStyle\Rector\ArrowFunction\StaticArrowFunctionRector;
77
use Rector\CodingStyle\Rector\Closure\StaticClosureRector;
88
use Rector\Config\RectorConfig;
9+
use Rector\DeadCode\Rector\If_\RemoveAlwaysTrueIfConditionRector;
910
use Rector\Set\ValueObject\LevelSetList;
1011
use Rector\Set\ValueObject\SetList;
1112

@@ -30,5 +31,8 @@
3031
StaticClosureRector::class => [
3132
__DIR__ . '/spec',
3233
],
34+
RemoveAlwaysTrueIfConditionRector::class => [
35+
__DIR__ . '/src/HttpsTrait.php',
36+
]
3337
]);
3438
};

0 commit comments

Comments
 (0)