From 12c88dde0a4c1dfea3dbaa3bf09fc19375e774f4 Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Tue, 9 Feb 2016 21:01:34 +0100 Subject: [PATCH] [Yaml] fix typos in changelog and upgrade files --- UPGRADE-3.1.md | 4 ++-- UPGRADE-4.0.md | 4 ++-- src/Symfony/Component/Yaml/CHANGELOG.md | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/UPGRADE-3.1.md b/UPGRADE-3.1.md index c2f1627ce0..2920418afa 100644 --- a/UPGRADE-3.1.md +++ b/UPGRADE-3.1.md @@ -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: diff --git a/UPGRADE-4.0.md b/UPGRADE-4.0.md index 97148148ca..0f79ed5a24 100644 --- a/UPGRADE-4.0.md +++ b/UPGRADE-4.0.md @@ -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: diff --git a/src/Symfony/Component/Yaml/CHANGELOG.md b/src/Symfony/Component/Yaml/CHANGELOG.md index cdbc491ae4..d396713045 100644 --- a/src/Symfony/Component/Yaml/CHANGELOG.md +++ b/src/Symfony/Component/Yaml/CHANGELOG.md @@ -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: