File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change 1515use Rector \DowngradePhp80 \Rector \Catch_ \DowngradeNonCapturingCatchesRector ;
1616use Rector \DowngradePhp80 \Rector \Class_ \DowngradePropertyPromotionRector ;
1717use Rector \DowngradePhp80 \Rector \ClassMethod \DowngradeTrailingCommasInParamUseRector ;
18+ use Rector \DowngradePhp80 \Rector \Expression \DowngradeMatchToSwitchRector ;
1819use Rector \DowngradePhp80 \Rector \FunctionLike \DowngradeMixedTypeDeclarationRector ;
1920use Rector \DowngradePhp80 \Rector \FunctionLike \DowngradeUnionTypeDeclarationRector ;
2021use Rector \DowngradePhp80 \Rector \NullsafeMethodCall \DowngradeNullsafeToTernaryOperatorRector ;
3536 }
3637
3738 if ($ targetPhpVersionId < 80000 ) {
39+ $ config ->rule (DowngradeMatchToSwitchRector::class);
3840 $ config ->rule (DowngradeMixedTypeDeclarationRector::class);
3941 $ config ->rule (DowngradeNonCapturingCatchesRector::class);
4042 $ config ->rule (DowngradeNullsafeToTernaryOperatorRector::class);
You can’t perform that action at this time.
0 commit comments