From e1818bd5d98f81df38fbab5df4feb5b093cceb55 Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Tue, 8 Sep 2015 08:37:45 +0200 Subject: [PATCH] move feature description to changelog file --- UPGRADE-2.8.md | 20 -------------------- src/Symfony/Component/Config/CHANGELOG.md | 20 ++++++++++++++++++++ 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/UPGRADE-2.8.md b/UPGRADE-2.8.md index 655acee0de..2c18e58f50 100644 --- a/UPGRADE-2.8.md +++ b/UPGRADE-2.8.md @@ -399,23 +399,3 @@ FrameworkBundle session: cookie_httponly: false ``` - -Config ------- - -The edge case of defining just one value for nodes of type Enum is now allowed: - -```php -$rootNode - ->children() - ->enumNode('variable') - ->values(array('value')) - ->end() - ->end() -; -``` - -Before: `InvalidArgumentException` (variable must contain at least two -distinct elements). -After: the code will work as expected and it will restrict the values of the -`variable` option to just `value`. diff --git a/src/Symfony/Component/Config/CHANGELOG.md b/src/Symfony/Component/Config/CHANGELOG.md index e1b19e6cb6..0c71e2cc1e 100644 --- a/src/Symfony/Component/Config/CHANGELOG.md +++ b/src/Symfony/Component/Config/CHANGELOG.md @@ -1,6 +1,26 @@ CHANGELOG ========= +2.8.0 +----- + +The edge case of defining just one value for nodes of type Enum is now allowed: + +```php +$rootNode + ->children() + ->enumNode('variable') + ->values(array('value')) + ->end() + ->end() +; +``` + +Before: `InvalidArgumentException` (variable must contain at least two +distinct elements). +After: the code will work as expected and it will restrict the values of the +`variable` option to just `value`. + 2.7.0 -----