Skip to content

Commit e1818bd

Browse files
committed
move feature description to changelog file
1 parent a8c3b23 commit e1818bd

File tree

2 files changed

+20
-20
lines changed

2 files changed

+20
-20
lines changed

UPGRADE-2.8.md

-20
Original file line numberDiff line numberDiff line change
@@ -399,23 +399,3 @@ FrameworkBundle
399399
session:
400400
cookie_httponly: false
401401
```
402-
403-
Config
404-
------
405-
406-
The edge case of defining just one value for nodes of type Enum is now allowed:
407-
408-
```php
409-
$rootNode
410-
->children()
411-
->enumNode('variable')
412-
->values(array('value'))
413-
->end()
414-
->end()
415-
;
416-
```
417-
418-
Before: `InvalidArgumentException` (variable must contain at least two
419-
distinct elements).
420-
After: the code will work as expected and it will restrict the values of the
421-
`variable` option to just `value`.

src/Symfony/Component/Config/CHANGELOG.md

+20
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,26 @@
11
CHANGELOG
22
=========
33

4+
2.8.0
5+
-----
6+
7+
The edge case of defining just one value for nodes of type Enum is now allowed:
8+
9+
```php
10+
$rootNode
11+
->children()
12+
->enumNode('variable')
13+
->values(array('value'))
14+
->end()
15+
->end()
16+
;
17+
```
18+
19+
Before: `InvalidArgumentException` (variable must contain at least two
20+
distinct elements).
21+
After: the code will work as expected and it will restrict the values of the
22+
`variable` option to just `value`.
23+
424
2.7.0
525
-----
626

0 commit comments

Comments
 (0)