File tree 2 files changed +20
-20
lines changed
src/Symfony/Component/Config
2 files changed +20
-20
lines changed Original file line number Diff line number Diff line change @@ -399,23 +399,3 @@ FrameworkBundle
399
399
session :
400
400
cookie_httponly : false
401
401
` ` `
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 ` .
Original file line number Diff line number Diff line change 1
1
CHANGELOG
2
2
=========
3
3
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
+
4
24
2.7.0
5
25
-----
6
26
You can’t perform that action at this time.
0 commit comments