Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 33c797e

Browse files
committed
minor #17741 [Yaml] fix typos in changelog and upgrade files (xabbuh)
This PR was merged into the 3.1-dev branch. Discussion ---------- [Yaml] fix typos in changelog and upgrade files | Q | A | ------------- | --- | Fixed tickets | | License | MIT Commits ------- 12c88dd [Yaml] fix typos in changelog and upgrade files
2 parents cd37427 + 12c88dd commit 33c797e

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

UPGRADE-3.1.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Yaml
4545
After:
4646

4747
```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);
4949
```
5050

5151
* Deprecated support for passing `true`/`false` as the third argument to the
@@ -78,7 +78,7 @@ Yaml
7878
Yaml::parse('{ "foo": "bar", "fiz": "cat" }', Yaml::PARSE_OBJECT_FOR_MAP);
7979
```
8080

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.
8282

8383
Before:
8484

UPGRADE-4.0.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Yaml
3636
After:
3737

3838
```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);
4040
```
4141

4242
* Removed support for passing `true`/`false` as the third argument to the
@@ -69,7 +69,7 @@ Yaml
6969
Yaml::parse('{ "foo": "bar", "fiz": "cat" }', Yaml::PARSE_OBJECT_FOR_MAP);
7070
```
7171

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.
7373

7474
Before:
7575

src/Symfony/Component/Yaml/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ CHANGELOG
77
* Added support for customizing the YAML parser behavior through an optional bit field:
88

99
```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);
1111
```
1212

1313
* Added support for customizing the dumped YAML string through an optional bit field:

0 commit comments

Comments
 (0)