File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 1717use Rector \DowngradePhp80 \Rector \ClassMethod \DowngradeTrailingCommasInParamUseRector ;
1818use Rector \DowngradePhp80 \Rector \FunctionLike \DowngradeMixedTypeDeclarationRector ;
1919use Rector \DowngradePhp80 \Rector \FunctionLike \DowngradeUnionTypeDeclarationRector ;
20+ use Rector \DowngradePhp80 \Rector \NullsafeMethodCall \DowngradeNullsafeToTernaryOperatorRector ;
2021use Rector \DowngradePhp80 \Rector \Property \DowngradeUnionTypeTypedPropertyRector ;
2122use Rector \DowngradePhp81 \Rector \FunctionLike \DowngradePureIntersectionTypeRector ;
2223use Rector \DowngradePhp81 \Rector \Property \DowngradeReadonlyPropertyRector ;
3435 }
3536
3637 if ($ targetPhpVersionId < 80000 ) {
38+ $ config ->rule (DowngradeMixedTypeDeclarationRector::class);
3739 $ config ->rule (DowngradeNonCapturingCatchesRector::class);
40+ $ config ->rule (DowngradeNullsafeToTernaryOperatorRector::class);
3841 $ config ->rule (DowngradePropertyPromotionRector::class);
3942 $ config ->rule (DowngradeTrailingCommasInParamUseRector::class);
40- $ config ->rule (DowngradeMixedTypeDeclarationRector::class);
4143 $ config ->rule (DowngradeUnionTypeDeclarationRector::class);
4244 $ config ->rule (DowngradeUnionTypeTypedPropertyRector::class);
4345 }
You can’t perform that action at this time.
0 commit comments