8000 Fixed the default value of Choice strict option by javiereguiluz · Pull Request #9162 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

Fixed the default value of Choice strict option #9162

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
Jan 29, 2018

Conversation

javiereguiluz
Copy link
Member

@javiereguiluz javiereguiluz merged commit 539b843 into symfony:4.0 Jan 29, 2018
javiereguiluz added a commit that referenced this pull request Jan 29, 2018
…uiluz)

This PR was merged into the 4.0 branch.

Discussion
----------

Fixed the default value of Choice strict option

This default value changed:

In 3.4 and before, is `false`: https://github.com/symfony/symfony/blob/3.4/src/Symfony/Component/Validator/Constraints/Choice.php#L37

In 4.0 and later, is `true`: https://github.com/symfony/symfony/blob/bd6df791f74c67766c714010ad1141fd815b6cba/src/Symfony/Component/Validator/Constraints/Choice.php#L37

Commits
-------

539b843 Fixed the default value of Choice strict option
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0