Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
fabpot merged 1 commit intosymfony:3.4fromro0NL:config/cannot-be-empty
Nov 10, 2017
Merged

[Config] Fix cannotBeEmpty()#24633

fabpot merged 1 commit intosymfony:3.4fromro0NL:config/cannot-be-empty
Nov 10, 2017

Conversation

@ro0NL
Copy link
Contributor

QA
Branch?3.4
Bug fix?yes
New feature?no
BC breaks?no
Deprecations?yes
Tests pass?yes
Fixed tickets#24614
LicenseMIT
Doc PRsymfony/symfony-docs#...

Open for better deprecation message, but this should clarify.

cc@iltar

@linaori
Copy link
Contributor

Small side note, the case where mine triggered, wasn't working withrequiresAtLeastOneElement(), I've already tried that. I'll check tomorrow what it was used on (ping me in case I forget).

@ro0NL
Copy link
ContributorAuthor

ro0NL commentedOct 19, 2017
edited
Loading

@iltar from your issue;

->requiresAtLeastOneElement() is not applicable to concrete nodes

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.

@nicolas-grekasnicolas-grekas added this to the3.4 milestoneOct 19, 2017
@linaori
Copy link
Contributor

@ro0NL No, that error is not related to the original issue, but your deprecation is sayinguse requiresAtLeastOneElement() instead, which will also error for me, so it might not be the right description

@ro0NL
Copy link
ContributorAuthor

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

@linaori
Copy link
Contributor

Yes, that message sounds good! 👍

@ogizanagi
Copy link
Contributor

ping @symfony/deciders

@fabpot
Copy link
Member

Thank you@ro0NL.

@fabpotfabpot merged commit2269f70 intosymfony:3.4Nov 10, 2017
fabpot added a commit that referenced this pull requestNov 10, 2017
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@iltarCommits-------2269f70 [Config] Fix cannotBeEmpty()
@linaori
Copy link
Contributor

Awesome, thanks for fixing it! ❤️

@ro0NLro0NL deleted the config/cannot-be-empty branchNovember 10, 2017 15:55
This was referencedNov 12, 2017
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@fabpotfabpotfabpot approved these changes

@stofstofstof approved these changes

@xabbuhxabbuhxabbuh approved these changes

@chalasrchalasrchalasr approved these changes

+1 more reviewer

@ogizanagiogizanagiogizanagi approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

3.4

Development

Successfully merging this pull request may close these issues.

9 participants

@ro0NL@linaori@ogizanagi@fabpot@stof@xabbuh@chalasr@nicolas-grekas@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp