mirror of
https://github.com/rectorphp/rector.git
synced 2024-07-30 21:30:23 +00:00
configure symfony31 set
This commit is contained in:
parent
fc01c1f801
commit
9aa4915838
@ -9,6 +9,20 @@ services:
|
||||
Rector\Rector\Dynamic\ArgumentDefaultValueReplacerRector:
|
||||
$argumentChangesByMethodAndType:
|
||||
# covers https://github.com/symfony/symfony/blob/3.4/UPGRADE-3.1.md#yaml
|
||||
-
|
||||
class: 'Symfony\Component\Yaml\Yaml'
|
||||
method: 'parse'
|
||||
position: 1
|
||||
before: ['false', 'false', 'true']
|
||||
after: 'Symfony\Component\Yaml\Yaml::PARSE_OBJECT_FOR_MAP'
|
||||
|
||||
-
|
||||
class: 'Symfony\Component\Yaml\Yaml'
|
||||
method: 'parse'
|
||||
position: 1
|
||||
before: ['false', 'true']
|
||||
after: 'Symfony\Component\Yaml\Yaml::PARSE_OBJECT'
|
||||
|
||||
-
|
||||
class: 'Symfony\Component\Yaml\Yaml'
|
||||
method: 'parse'
|
||||
@ -22,16 +36,3 @@ services:
|
||||
position: 1
|
||||
before: 'false'
|
||||
after: 0
|
||||
|
||||
# -
|
||||
# class: 'Symfony\Component\Yaml\Yaml'
|
||||
# method: 'parse'
|
||||
# position: 1
|
||||
# before: ['true', 'false']
|
||||
# after: 'Symfony\Component\Yaml\Yaml::PARSE_EXCEPTION_ON_INVALID_TYPE'
|
||||
## -
|
||||
# class: 'Symfony\Component\Yaml\Yaml'
|
||||
# method: 'parse'
|
||||
# position: 1
|
||||
# before: ['false', 'false', 'true']
|
||||
# after: 'Symfony\Component\Yaml\Yaml::PARSE_OBJECT_FOR_MAP'
|
||||
|
Loading…
Reference in New Issue
Block a user