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] Fix traverse option on Valid constraint when used as Attribute #46244

Merged
merged 1 commit into from Jul 15, 2022

Conversation

tobias-93
Copy link
Contributor

@tobias-93 tobias-93 commented May 3, 2022

Q A
Branch? 5.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets Fix #46243
License MIT
Doc PR n.a.

Fix Valid constraint when using as Attribute.

@nicolas-grekas
Copy link
Member

@nicolas-grekas nicolas-grekas commented May 7, 2022

Can you please add a test case? Note also that we cannot use mixed as 5.4 should support PHP 7.2

@tobias-93
Copy link
Contributor Author

@tobias-93 tobias-93 commented May 11, 2022

@nicolas-grekas Thanks for the feedback. I have removed the mixed parameter, and added a test. The remaining failing tests are parts of Symfony I didn't touch, so that's hopefully not my fault...

xabbuh
xabbuh previously approved these changes May 18, 2022
@tobias-93
Copy link
Contributor Author

@tobias-93 tobias-93 commented Jun 29, 2022

@nicolas-grekas @derrabus Any progress here?

xabbuh
xabbuh approved these changes Jul 8, 2022
xabbuh
xabbuh approved these changes Jul 13, 2022
fabpot
fabpot approved these changes Jul 15, 2022
@fabpot
Copy link
Member

@fabpot fabpot commented Jul 15, 2022

Thank you @tobias-93.

@fabpot fabpot merged commit 550e4cc into symfony:5.4 Jul 15, 2022
9 of 11 checks passed
This was referenced Jul 29, 2022
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

7 participants