Skip to content

Commit f5bac22

Browse files
committed
minor #17473 [Validator] enable_annotations also read attributes (alamirault)
This PR was submitted for the 6.2 branch but it was merged into the 5.4 branch instead. Discussion ---------- [Validator] `enable_annotations` also read attributes [AnnotationLoader](https://symfony.com/doc/current/components/validator/resources.html#the-annotationloader) doc tell attributes are read but in `enable_annotations` reference it's not said Commits ------- c654ef8 enable_annotations read also attributes
2 parents 0b94fb3 + c654ef8 commit f5bac22

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

reference/configuration/framework.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2578,7 +2578,7 @@ enable_annotations
25782578

25792579
**type**: ``boolean`` **default**: ``false``
25802580

2581-
If this option is enabled, validation constraints can be defined using annotations.
2581+
If this option is enabled, validation constraints can be defined using annotations or attributes.
25822582

25832583
translation_domain
25842584
..................
@@ -2787,7 +2787,7 @@ enable_annotations
27872787

27882788
**type**: ``boolean`` **default**: ``false``
27892789

2790-
If this option is enabled, serialization groups can be defined using annotations.
2790+
If this option is enabled, serialization groups can be defined using annotations or attributes.
27912791

27922792
.. seealso::
27932793

0 commit comments

Comments
 (0)