File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change 44
55use Rector \CodingStyle \Rector \String_ \UseClassKeywordForClassNameResolutionRector ;
66use Rector \Config \RectorConfig ;
7+ use Rector \DeadCode \Rector \If_ \RemoveAlwaysTrueIfConditionRector ;
8+ use Rector \DeadCode \Rector \If_ \RemoveDeadInstanceOfRector ;
79use Rector \Php55 \Rector \String_ \StringClassNameToClassConstantRector ;
810use Rector \PHPUnit \Set \PHPUnitSetList ;
911
3739 __DIR__ . '/rules/DowngradePhp81/Rector/FuncCall/DowngradeFirstClassCallableSyntaxRector.php ' ,
3840 ],
3941
42+ RemoveAlwaysTrueIfConditionRector::class => [
43+ // false positive in or check usage
44+ __DIR__ . '/rules/DowngradePhp80/Rector/NullsafeMethodCall/DowngradeNullsafeToTernaryOperatorRector.php ' ,
45+ ],
46+
47+ RemoveDeadInstanceOfRector::class => [
48+ // false positive in or check usage
49+ __DIR__ . '/rules/DowngradePhp80/Rector/NullsafeMethodCall/DowngradeNullsafeToTernaryOperatorRector.php ' ,
50+ ],
51+
4052 // test paths
4153 '**/Fixture/* ' ,
4254 '**/Source/* ' ,
You can’t perform that action at this time.
0 commit comments