[Yaml] fix typos in changelog and upgrade files

This commit is contained in:
Christian Flothmann 2016-02-09 21:01:34 +01:00
parent cd374277a4
commit 12c88dde0a
3 changed files with 5 additions and 5 deletions

View File

@ -45,7 +45,7 @@ Yaml
After:
```php
Yaml::parse('{ "foo": "bar", "fiz": "cat" }', YAML::PARSE_EXCEPTION_ON_INVALID_TYPE);
Yaml::parse('{ "foo": "bar", "fiz": "cat" }', Yaml::PARSE_EXCEPTION_ON_INVALID_TYPE);
```
* Deprecated support for passing `true`/`false` as the third argument to the
@ -78,7 +78,7 @@ Yaml
Yaml::parse('{ "foo": "bar", "fiz": "cat" }', Yaml::PARSE_OBJECT_FOR_MAP);
```
* Deprecated support for passing `true`/`false` as the third argument to the `dump()` methods to toggle object support.
* Deprecated support for passing `true`/`false` as the fifth argument to the `dump()` method to toggle object support.
Before:

View File

@ -36,7 +36,7 @@ Yaml
After:
```php
Yaml::parse('{ "foo": "bar", "fiz": "cat" }', YAML::PARSE_EXCEPTION_ON_INVALID_TYPE);
Yaml::parse('{ "foo": "bar", "fiz": "cat" }', Yaml::PARSE_EXCEPTION_ON_INVALID_TYPE);
```
* Removed support for passing `true`/`false` as the third argument to the
@ -69,7 +69,7 @@ Yaml
Yaml::parse('{ "foo": "bar", "fiz": "cat" }', Yaml::PARSE_OBJECT_FOR_MAP);
```
* Removed support for passing `true`/`false` as the third argument to the `dump()` methods to toggle object support.
* Removed support for passing `true`/`false` as the fifth argument to the `dump()` method to toggle object support.
Before:

View File

@ -7,7 +7,7 @@ CHANGELOG
* Added support for customizing the YAML parser behavior through an optional bit field:
```php
Yaml::parse('{ "foo": "bar", "fiz": "cat" }', Yaml::EXCEPTION_ON_INVALID_TYPE | Yaml::PARSE_OBJECT | Yaml::PARSE_OBJECT_FOR_MAP);
Yaml::parse('{ "foo": "bar", "fiz": "cat" }', Yaml::PARSE_EXCEPTION_ON_INVALID_TYPE | Yaml::PARSE_OBJECT | Yaml::PARSE_OBJECT_FOR_MAP);
```
* Added support for customizing the dumped YAML string through an optional bit field: