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

Appearance settings

[Validator] do not merge constraints within interfaces #35591

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

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.

@nicolas-grekas nicolas-grekas added this to the 3.4 milestone Feb 4, 2020
@greedyivan greedyivan force-pushed the bugfix_22538_34 branch 3 times, most recently from d8fc004 to ba54d3e Compare February 4, 2020 17:06
@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.

6 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.