move feature description to changelog file

This commit is contained in:
Christian Flothmann 2015-09-08 08:37:45 +02:00
parent a8c3b234a7
commit e1818bd5d9
2 changed files with 20 additions and 20 deletions

View File

@ -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`.

View File

@ -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
-----