forked from rectorphp/rector
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsymfony31.yaml
29 lines (27 loc) · 1.12 KB
/
symfony31.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
services:
# replace args
Rector\Rector\Argument\ArgumentDefaultValueReplacerRector:
# covers https://github.com/symfony/symfony/blob/3.4/UPGRADE-3.1.md#yaml
Symfony\Component\Yaml\Yaml:
parse:
1:
-
before: ['false', 'false', 'true']
after: 'Symfony\Component\Yaml\Yaml::PARSE_OBJECT_FOR_MAP'
-
before: ['false', 'true']
after: 'Symfony\Component\Yaml\Yaml::PARSE_OBJECT'
-
before: 'true'
after: 'Symfony\Component\Yaml\Yaml::PARSE_EXCEPTION_ON_INVALID_TYPE'
-
before: 'false'
after: 0
dump:
3:
-
before: ['false', 'true']
after: 'Symfony\Component\Yaml\Yaml::DUMP_OBJECT'
-
before: 'true'
after: 'Symfony\Component\Yaml\Yaml::DUMP_EXCEPTION_ON_INVALID_TYPE'