-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Config] Fix cannotBeEmpty() #24633
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
[Config] Fix cannotBeEmpty() #24633
Conversation
Small side note, the case where mine triggered, wasn't working with |
@iltar from your issue;
Im not actually sure this relates to the PR of mine 🤔 it should be ->cannotBeEmpty is not.. then. So curious about the breakage you experiencing :) Still 👍 for this path. |
@ro0NL No, that error is not related to the original issue, but your deprecation is saying |
Updated deprecation message. @iltar OK for you? I still find your issue confusing; the title refers to cannotBeEmpty(), yet the body mentions requiresAtLeastOneElement. Im assuming cannotBeEmpty() indeed raises this issue in 3.4 |
Yes, that message sounds good! 👍 |
ping @symfony/deciders |
Thank you @ro0NL. |
This PR was merged into the 3.4 branch. Discussion ---------- [Config] Fix cannotBeEmpty() | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | yes | Tests pass? | yes | Fixed tickets | #24614 | License | MIT | Doc PR | symfony/symfony-docs#... <!--highly recommended for new features--> Open for better deprecation message, but this should clarify. cc @iltar Commits ------- 2269f70 [Config] Fix cannotBeEmpty()
Awesome, thanks for fixing it! ❤️ |
Open for better deprecation message, but this should clarify.
cc @iltar