move feature description to changelog file
This commit is contained in:
parent
a8c3b234a7
commit
e1818bd5d9
@ -399,23 +399,3 @@ FrameworkBundle
|
|||||||
session:
|
session:
|
||||||
cookie_httponly: false
|
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`.
|
|
||||||
|
@ -1,6 +1,26 @@
|
|||||||
CHANGELOG
|
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
|
2.7.0
|
||||||
-----
|
-----
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user