3
3
declare (strict_types=1 );
4
4
5
5
use Rector \Core \Configuration \Option ;
6
- use Rector \DowngradePhp74 \Rector \Coalesce \DowngradeNullCoalescingOperatorRector ;
7
- use Rector \DowngradePhp74 \Rector \ArrowFunction \ArrowFunctionToAnonymousFunctionRector ;
8
- use Rector \DowngradePhp74 \Rector \Property \DowngradeTypedPropertyRector ;
6
+
9
7
use Rector \DowngradePhp80 \Rector \Catch_ \DowngradeNonCapturingCatchesRector ;
10
8
use Rector \DowngradePhp80 \Rector \Class_ \DowngradePropertyPromotionRector ;
9
+ use Rector \DowngradePhp80 \Rector \ClassMethod \DowngradeStaticTypeDeclarationRector ;
11
10
use Rector \DowngradePhp80 \Rector \ClassMethod \DowngradeTrailingCommasInParamUseRector ;
11
+ use Rector \DowngradePhp80 \Rector \Expression \DowngradeMatchToSwitchRector ;
12
+ use Rector \DowngradePhp80 \Rector \Expression \DowngradeThrowExprRector ;
13
+ use Rector \DowngradePhp80 \Rector \FuncCall \DowngradeStrContainsRector ;
12
14
use Rector \DowngradePhp80 \Rector \FunctionLike \DowngradeUnionTypeDeclarationRector ;
13
- use Rector \DowngradePhp80 \Rector \Property \DowngradeUnionTypeTypedPropertyRector ;
14
15
use Rector \DowngradePhp80 \Rector \NullsafeMethodCall \DowngradeNullsafeToTernaryOperatorRector ;
15
- use Rector \DowngradePhp80 \Rector \ClassMethod \DowngradeStaticTypeDeclarationRector ;
16
- use Rector \DowngradePhp80 \Rector \FuncCall \DowngradeStrContainsRector ;
17
- use Rector \DowngradePhp80 \Rector \Expression \DowngradeThrowExprRector ;
18
- use Rector \DowngradePhp81 \Rector \FuncCall \DowngradeArrayIsListRector ;
16
+ use Rector \DowngradePhp80 \Rector \Property \DowngradeUnionTypeTypedPropertyRector ;
17
+
19
18
use Rector \DowngradePhp81 \Rector \Array_ \DowngradeArraySpreadStringKeyRector ;
19
+ use Rector \DowngradePhp81 \Rector \FuncCall \DowngradeArrayIsListRector ;
20
20
use Rector \DowngradePhp81 \Rector \FuncCall \DowngradeFirstClassCallableSyntaxRector ;
21
21
use Rector \DowngradePhp81 \Rector \FunctionLike \DowngradeNewInInitializerRector ;
22
22
use Rector \DowngradePhp81 \Rector \Property \DowngradeReadonlyPropertyRector ;
23
- use Rector \DowngradePhp80 \Rector \Expression \DowngradeMatchToSwitchRector ;
24
23
25
24
use Symfony \Component \DependencyInjection \Loader \Configurator \ContainerConfigurator ;
26
25
33
32
34
33
$ services = $ containerConfigurator ->services ();
35
34
36
- $ services ->set (DowngradeTrailingCommasInParamUseRector ::class);
35
+ $ services ->set (DowngradeMatchToSwitchRector ::class);
37
36
$ services ->set (DowngradeNonCapturingCatchesRector::class);
38
- $ services ->set (DowngradeUnionTypeTypedPropertyRector::class);
39
- $ services ->set (DowngradePropertyPromotionRector::class);
40
- $ services ->set (DowngradeUnionTypeDeclarationRector::class);
41
37
$ services ->set (DowngradeNullsafeToTernaryOperatorRector::class);
38
+ $ services ->set (DowngradePropertyPromotionRector::class);
42
39
$ services ->set (DowngradeStaticTypeDeclarationRector::class);
43
40
$ services ->set (DowngradeStrContainsRector::class);
44
41
$ services ->set (DowngradeThrowExprRector::class);
42
+ $ services ->set (DowngradeTrailingCommasInParamUseRector::class);
43
+ $ services ->set (DowngradeUnionTypeDeclarationRector::class);
44
+ $ services ->set (DowngradeUnionTypeTypedPropertyRector::class);
45
+
45
46
$ services ->set (DowngradeArrayIsListRector::class);
46
47
$ services ->set (DowngradeArraySpreadStringKeyRector::class);
47
48
$ services ->set (DowngradeFirstClassCallableSyntaxRector::class);
48
49
$ services ->set (DowngradeNewInInitializerRector::class);
49
50
$ services ->set (DowngradeReadonlyPropertyRector::class);
50
- $ services ->set (DowngradeMatchToSwitchRector::class);
51
51
};
0 commit comments