forked from rectorphp/rector
-
Notifications
You must be signed in to change notification settings - Fork 0
/
symfony42.yaml
111 lines (96 loc) · 4.42 KB
/
symfony42.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
services:
# https://github.com/symfony/symfony/pull/28447
Rector\Rector\New_\NewToStaticCallRector:
Symfony\Component\HttpFoundation\Cookie: ['Symfony\Component\HttpFoundation\Cookie', 'create']
Rector\Rector\Class_\RenameClassRector:
# https://github.com/symfony/symfony/commit/a7e319d9e1316e2e18843f8ce15b67a8693e5bf9
Symfony\Bundle\FrameworkBundle\Controller\Controller: 'Symfony\Bundle\FrameworkBundle\Controller\AbstractController'
# https://github.com/symfony/symfony/commit/744bf0e7ac3ecf240d0bf055cc58f881bb0b3ec0
Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand: 'Symfony\Component\Console\Command\Command'
Symfony\Component\Translation\TranslatorInterface: 'Symfony\Contracts\Translation\TranslatorInterface'
# related to "Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand" deprecation, see https://github.com/rectorphp/rector/issues/1629
Rector\Symfony\Rector\FrameworkBundle\ContainerGetToConstructorInjectionRector: ~
# https://symfony.com/blog/new-in-symfony-4-2-important-deprecations
Rector\Symfony\Rector\New_\StringToArrayArgumentProcessRector: ~
Rector\Symfony\Rector\New_\RootNodeTreeBuilderRector: ~
Rector\Rector\Argument\ArgumentAdderRector:
# https://github.com/symfony/symfony/commit/fa2063efe43109aea093d6fbfc12d675dba82146
# https://github.com/symfony/symfony/commit/e3aa90f852f69040be19da3d8729cdf02d238ec7
Symfony\Component\BrowserKit\Client:
submit:
2:
name: 'serverParameters'
default_value: []
scope: ['method_call']
# https://github.com/symfony/symfony/commit/f634afdb6f573e4af8d89aaa605e0c7d4058676d
Symfony\Component\DomCrawler\Crawler:
children:
0:
# $selector
default_value: null
scope: ['method_call']
Symfony\Component\Finder\Finder:
sortByName:
0:
# $useNaturalSort
default_value: false
scope: ['method_call']
Symfony\Bridge\Monolog\Processor\DebugProcessor:
getLogs:
0:
# $request
default_value: null
scope: ['method_call']
countErrors:
0:
# $request
default_value: null
scope: ['method_call']
Symfony\Bridge\Monolog\Logger:
getLogs:
0:
# $request
default_value: null
scope: ['method_call']
countErrors:
0:
# $request
default_value: null
scope: ['method_call']
Symfony\Component\Serializer\Normalizer:
handleCircularReference:
1:
# $format
default_value: null
scope: ['method_call']
2:
# $context
default_value: []
scope: ['method_call']
Rector\Rector\MethodCall\RenameMethodRector:
Symfony\Component\Cache\CacheItem:
getPreviousTags: 'getMetadata'
Symfony\Component\Form\AbstractTypeExtension:
getExtendedType: 'getExtendedTypes'
Rector\Rector\ClassMethod\AddReturnTypeDeclarationRector:
Symfony\Component\Form\AbstractTypeExtension:
getExtendedTypes: 'iterable'
Rector\Rector\Visibility\ChangeMethodVisibilityRector:
Symfony\Component\Form\AbstractTypeExtension:
getExtendedTypes: 'static'
Rector\Rector\ClassMethod\WrapReturnRector:
Symfony\Component\Form\AbstractTypeExtension:
getExtendedTypes: 'array'
Rector\Rector\Argument\ArgumentDefaultValueReplacerRector:
# https://github.com/symfony/symfony/commit/9493cfd5f2366dab19bbdde0d0291d0575454567
Symfony\Component\HttpFoundation\Cookie:
$secure:
'false': null
$samesite:
'null': 'lax'
Rector\Rector\Argument\ArgumentRemoverRector:
# https://github.com/symfony/symfony/commit/f5c355e1ba399a1b3512367647d902148bdaf09f
Symfony\Component\HttpKernel\DataCollector\ConfigDataCollector:
__construct:
0: ~
1: ~