10000 [Validator] fix the exception being thrown by xabbuh · Pull Request #53350 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@xabbuh
Copy link
Member
@xabbuh xabbuh commented Jan 2, 2024
Q A
Branch? 5.4
Bug fix? yes
New feature? no
Deprecations? no
Issues
License MIT

An UnexpectedValueException is caught and transformed into a violation (UnexpectedTypeException indicates a misconfiguration of a constraint and is not caught).

see also #27917

@chalasr
Copy link
Member
chalasr commented Jan 2, 2024

Thanks @xabbuh.

A47F

@chalasr chalasr merged commit 77f39fe into symfony:5.4 Jan 2, 2024
@xabbuh xabbuh deleted the constraint-exception-type branch January 2, 2024 17:56
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.

4 participants

0