rector/config/level/symfony/symfony34.yml
2018-08-03 09:12:54 +02:00

19 lines
644 B
YAML

services:
# yaml
# covers https://github.com/symfony/symfony/pull/24523
Rector\Symfony\Rector\Yaml\SessionStrictTrueByDefaultYamlRector: ~
Rector\YamlRector\Rector\ReplaceStringYamlRector:
$oldToNewString:
' !php/object:': ' !php/object '
' !php/const:': ' !php/const '
' !str': ' !!str'
Rector\Rector\Argument\ArgumentRemoverRector:
$argumentChangesByMethodAndType:
-
class: 'Symfony\Component\Yaml\Yaml'
method: 'parse'
position: 2
value: 'Symfony\Component\Yaml\Yaml::PARSE_KEYS_AS_STRINGS'