File tree 1 file changed +2
-0
lines changed
1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change 15
15
use Rector \DowngradePhp80 \Rector \Catch_ \DowngradeNonCapturingCatchesRector ;
16
16
use Rector \DowngradePhp80 \Rector \Class_ \DowngradePropertyPromotionRector ;
17
17
use Rector \DowngradePhp80 \Rector \ClassMethod \DowngradeTrailingCommasInParamUseRector ;
18
+ use Rector \DowngradePhp80 \Rector \Expression \DowngradeMatchToSwitchRector ;
18
19
use Rector \DowngradePhp80 \Rector \FunctionLike \DowngradeMixedTypeDeclarationRector ;
19
20
use Rector \DowngradePhp80 \Rector \FunctionLike \DowngradeUnionTypeDeclarationRector ;
20
21
use Rector \DowngradePhp80 \Rector \NullsafeMethodCall \DowngradeNullsafeToTernaryOperatorRector ;
35
36
}
36
37
37
38
if ($ targetPhpVersionId < 80000 ) {
39
+ $ config ->rule (DowngradeMatchToSwitchRector::class);
38
40
$ config ->rule (DowngradeMixedTypeDeclarationRector::class);
39
41
$ config ->rule (DowngradeNonCapturingCatchesRector::class);
40
42
$ config ->rule (DowngradeNullsafeToTernaryOperatorRector::class);
You can’t perform that action at this time.
0 commit comments