configure symfony31 set

This commit is contained in:
Tomas Votruba 2018-07-18 16:08:31 +02:00
parent fc01c1f801
commit 9aa4915838

View File

@ -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'