Skip to content

[Config] deprecate cannotBeEmpty() for boolean and numeric nodes #15285

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
Aug 1, 2015

Conversation

xabbuh
Copy link
Member

@xabbuh xabbuh commented Jul 15, 2015

Q A
Bug fix? no
New feature? no
BC breaks? no
Deprecations? yes
Tests pass? yes
Fixed tickets
License MIT
Doc PR

@xabbuh xabbuh added the Config label Jul 15, 2015
@xabbuh
Copy link
Member Author

xabbuh commented Jul 15, 2015

Technically, the methods won't be removed, but will throw exceptions instead. Though I think this doesn't make a different for users of the classes and they should not need to bother with internal details. That's why I chose to say that they will be removed in the deprecation messages.

@fabpot
Copy link
Member

fabpot commented Aug 1, 2015

Thank you @xabbuh.

@fabpot fabpot merged commit d4473f3 into symfony:2.8 Aug 1, 2015
fabpot added a commit that referenced this pull request Aug 1, 2015
…eric nodes (xabbuh)

This PR was merged into the 2.8 branch.

Discussion
----------

[Config] deprecate cannotBeEmpty() for boolean and numeric nodes

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | yes
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        |

Commits
-------

d4473f3 [Config] deprecate cannotBeEmpty() for boolean and numeric nodes
@xabbuh xabbuh deleted the deprecate-cannot-be-empty branch August 1, 2015 09:07
@fabpot fabpot mentioned this pull request Nov 16, 2015
eriwin pushed a commit to waarneembemiddeling/bigregister-bundle that referenced this pull request May 9, 2016
Since Symfony 3.0 the cannotBeEmpty() is removed for an integerNode. For more information see:
symfony/symfony#15170
symfony/symfony#15285
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants