Skip to content

Fix for issue 11049 #11398

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

Closed
wants to merge 3 commits into from
Closed

Fix for issue 11049 #11398

wants to merge 3 commits into from

Conversation

tobias-93
Copy link
Contributor

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

See the original ticket.
I've added support for the new Symfony\Component\Validator\Context\ExecutionContextInterface in Symfony\Component\Validator\ConstraintValidator, so the new Validation api can be used.

@Tobion
Copy link
Contributor

Tobion commented Jul 16, 2014

BC break: YES

*/
public function initialize(ExecutionContextInterface $context);
public function initialize($context);
Copy link
Member

Choose a reason for hiding this comment

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

hmm, changing this interface is indeed a BC break.

@webmozart what would be the right way to handle the 2.5 API there ?

@webmozart
Copy link
Contributor

Won't fix. See my comment to #11049 for more explanation.

@webmozart webmozart closed this Jul 17, 2014
@stof
Copy link
Member

stof commented Jul 17, 2014

given that the new context interface extends the legacy one, this BC break is indeed not necessary

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants