Skip to content
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

[Validator] do not merge constraints within interfaces #35591

Merged
merged 1 commit into from Apr 12, 2020

Conversation

greedyivan
Copy link
Contributor

Q A
Branch? 3.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets Fix #22538
License MIT
Doc PR

This fix disables merge constraints within interfaces.

There is no reason to merge constraints from one interface to another because each class merges the constraints of all its interfaces. Only one check is needed is to eliminate all interfaces that comes from parent class to avoid duplication.

@fabpot
Copy link
Member

fabpot commented Apr 12, 2020

Thank you @greedyivan.

@fabpot fabpot merged commit cd4a4bd into symfony:3.4 Apr 12, 2020
@greedyivan greedyivan deleted the bugfix_22538_34 branch April 14, 2020 07:40
This was referenced Apr 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants