Skip to content

[Config] move feature description to changelog file #15722

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 8, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 0 additions & 20 deletions UPGRADE-2.8.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
20 changes: 20 additions & 0 deletions src/Symfony/Component/Config/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
-----

Expand Down