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

[Form] do not overwrite the constraint being evaluated#30062

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
nicolas-grekas merged 1 commit intosymfony:3.4fromxabbuh:issue-27362
Feb 7, 2019

Conversation

@xabbuh
Copy link
Member

QA
Branch?3.4
Bug fix?yes
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets#27362
LicenseMIT
Doc PR

publicfunctionvalidate($form,Constraint$constraint)
publicfunctionvalidate($form,Constraint$formConstraint)
{
if (!$constraintinstanceof Form) {
Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

The$constraint name is also used below when the constraints configured through theconstraints option are iterated, but we do not want to overwrite the reference to the constraint that is validated by this constraints.

HeahDude reacted with thumbs up emoji
Copy link
Contributor

@HeahDudeHeahDude left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Tricky one, thanks!

@nicolas-grekas
Copy link
Member

Thank you@xabbuh.

@nicolas-grekasnicolas-grekas merged commit345a632 intosymfony:3.4Feb 7, 2019
nicolas-grekas added a commit that referenced this pull requestFeb 7, 2019
…bbuh)This PR was merged into the 3.4 branch.Discussion----------[Form] do not overwrite the constraint being evaluated| Q             | A| ------------- | ---| Branch?       | 3.4| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#27362| License       | MIT| Doc PR        |Commits-------345a632 do not overwrite the constraint being evaluated
@xabbuhxabbuh deleted the issue-27362 branchFebruary 7, 2019 08:56
This was referencedMar 3, 2019
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@javiereguiluzjaviereguiluzjaviereguiluz approved these changes

+2 more reviewers

@vudaltsovvudaltsovvudaltsov approved these changes

@HeahDudeHeahDudeHeahDude 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.

6 participants

@xabbuh@nicolas-grekas@javiereguiluz@vudaltsov@HeahDude@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp