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

Skip to content

[Yaml] fix typos in changelog and upgrade files #17741

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 9, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions UPGRADE-3.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:

Expand Down
4 changes: 2 additions & 2 deletions UPGRADE-4.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:

Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Component/Yaml/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down