mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-19 06:18:07 +01:00
19 lines
644 B
YAML
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'
|