File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
src/Symfony/Component/Yaml Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 45
45
After:
46
46
47
47
``` php
48
- Yaml::parse('{ "foo": "bar", "fiz": "cat" }', YAML ::PARSE_EXCEPTION_ON_INVALID_TYPE);
48
+ Yaml::parse('{ "foo": "bar", "fiz": "cat" }', Yaml ::PARSE_EXCEPTION_ON_INVALID_TYPE);
49
49
```
50
50
51
51
* Deprecated support for passing ` true ` /` false ` as the third argument to the
78
78
Yaml::parse('{ "foo": "bar", "fiz": "cat" }', Yaml::PARSE_OBJECT_FOR_MAP);
79
79
```
80
80
81
- * Deprecated support for passing ` true ` /` false ` as the third argument to the ` dump() ` methods to toggle object support.
81
+ * Deprecated support for passing ` true ` /` false ` as the fifth argument to the ` dump() ` method to toggle object support.
82
82
83
83
Before:
84
84
Original file line number Diff line number Diff line change 36
36
After:
37
37
38
38
``` php
39
- Yaml::parse('{ "foo": "bar", "fiz": "cat" }', YAML ::PARSE_EXCEPTION_ON_INVALID_TYPE);
39
+ Yaml::parse('{ "foo": "bar", "fiz": "cat" }', Yaml ::PARSE_EXCEPTION_ON_INVALID_TYPE);
40
40
```
41
41
42
42
* Removed support for passing ` true ` /` false ` as the third argument to the
69
69
Yaml::parse('{ "foo": "bar", "fiz": "cat" }', Yaml::PARSE_OBJECT_FOR_MAP);
70
70
```
71
71
72
- * Removed support for passing ` true ` /` false ` as the third argument to the ` dump() ` methods to toggle object support.
72
+ * Removed support for passing ` true ` /` false ` as the fifth argument to the ` dump() ` method to toggle object support.
73
73
74
74
Before:
75
75
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ CHANGELOG
7
7
* Added support for customizing the YAML parser behavior through an optional bit field:
8
8
9
9
``` php
10
- Yaml::parse('{ "foo": "bar", "fiz": "cat" }', Yaml::EXCEPTION_ON_INVALID_TYPE | Yaml::PARSE_OBJECT | Yaml::PARSE_OBJECT_FOR_MAP);
10
+ Yaml::parse('{ "foo": "bar", "fiz": "cat" }', Yaml::PARSE_EXCEPTION_ON_INVALID_TYPE | Yaml::PARSE_OBJECT | Yaml::PARSE_OBJECT_FOR_MAP);
11
11
```
12
12
13
13
* Added support for customizing the dumped YAML string through an optional bit field:
You can’t perform that action at this time.
0 commit comments