We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e46745 commit 8b9fc10Copy full SHA for 8b9fc10
_test/rector.php
@@ -40,6 +40,7 @@
40
use Rector\Set\ValueObject\SetList;
41
use Rector\Strict\Rector\Empty_\DisallowedEmptyRuleFixerRector;
42
use Rector\TypeDeclaration\Rector\ClassMethod\ReturnNeverTypeRector;
43
+use Rector\DeadCode\Rector\If_\ReduceAlwaysFalseIfOrRector;
44
45
return static function (RectorConfig $rectorConfig): void {
46
// FIXME we may want to autoload these later
@@ -131,6 +132,7 @@
131
132
RemoveUselessReturnTagRector::class, // keep doc blocks
133
ExplicitReturnNullRector::class, // we sometimes return void or string intentionally
134
UseIdenticalOverEqualWithSameTypeRector::class, // probably a good idea, maybe later
135
+ ReduceAlwaysFalseIfOrRector::class, // see rectorphp/rector#8916
136
137
]);
138
0 commit comments