Skip to content

Conversation

l-vo
Copy link
Contributor

@l-vo l-vo commented Apr 18, 2021

Since 5.2, first argument of enableAnnotationMapping must be set to true (https://github.com/symfony/symfony/blob/v5.2.0/src/Symfony/Component/Validator/ValidatorBuilder.php#L227)

Closes #14522 (I guess).

@l-vo l-vo requested a review from xabbuh as a code owner April 18, 2021 12:26
@carsonbot carsonbot changed the title Calling enableAnnotationMapping without argument is deprecated [Validator] Calling enableAnnotationMapping without argument is deprecated Apr 20, 2021
@javiereguiluz javiereguiluz added this to the 5.2 milestone Apr 20, 2021
@javiereguiluz javiereguiluz merged commit 61a7680 into symfony:5.2 Apr 20, 2021
@javiereguiluz
Copy link
Member

Good catch! Thanks Laurent!

@l-vo l-vo deleted the enableAnnotationMapping_without_args_deprecated branch April 20, 2021 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment