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

[Validator] do not guess getter method names#21115

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:2.7fromxabbuh:issue-18700
Feb 19, 2017

Conversation

@xabbuh
Copy link
Member

@xabbuhxabbuh commentedDec 31, 2016
edited
Loading

QA
Branch?2.7
Bug fix?yes
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets#5219,#18700
LicenseMIT
Doc PRTODO

@xabbuh
Copy link
MemberAuthor

Actually, I think that changes made to theXMLFileLoader and theYamlFileLoader should be moved into a different PR targetingmaster as a new feature.

* @return $this
*/
publicfunctionaddGetterConstraint($property,Constraint$constraint)
publicfunctionaddGetterConstraint($property,Constraint$constraint,$method =null)
Copy link
Member

Choose a reason for hiding this comment

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

Isn't this a BC break?

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

You are right. I have added new methods instead.

@xabbuh
Copy link
MemberAuthor

I also reverted the changes to theYamlFileLoader andXmlFileLoader as they are not needed to fix the issue reported in#18700 and qualify as new features instead.

Status: Needs Review

@xabbuh
Copy link
MemberAuthor

ping @symfony/deciders

@fabpot
Copy link
Member

Thank you@xabbuh.

@fabpotfabpot merged commitbd3a90a intosymfony:2.7Feb 19, 2017
fabpot added a commit that referenced this pull requestFeb 19, 2017
This PR was merged into the 2.7 branch.Discussion----------[Validator] do not guess getter method names| Q             | A| ------------- | ---| Branch?       | 2.7| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#5219,#18700| License       | MIT| Doc PR        | TODOCommits-------bd3a90a [Validator] do not guess getter method names
@xabbuhxabbuh deleted the issue-18700 branchFebruary 20, 2017 06:41
This was referencedMar 6, 2017
* @param Constraint $constraint The constraint
* @param string $property The name of the property
* @param Constraint $constraint The constraint
* @param string|null $method The method that is called to retrieve the value being validated (null for auto-detection)
Copy link
Contributor

Choose a reason for hiding this comment

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

Wrong PHPDoc.

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

good catch, see#21993

nicolas-grekas added a commit that referenced this pull requestMar 14, 2017
This PR was merged into the 2.7 branch.Discussion----------[Validator] revert wrong Phpdoc change| Q             | A| ------------- | ---| Branch?       | 2.7| Bug fix?      | no| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#21115 (comment)| License       | MIT| Doc PR        |Commits-------86e8afa [Validator] revert wrong Phpdoc change
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@dunglasdunglasdunglas left review comments

+1 more reviewer

@teohhanhuiteohhanhuiteohhanhui left review comments

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

2.7

Development

Successfully merging this pull request may close these issues.

5 participants

@xabbuh@fabpot@dunglas@teohhanhui@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp