Skip to content

Commit 127b35d

Browse files
committed
minor #10174 Also requiring annotations so they can be used (weaverryan)
This PR was merged into the 4.1 branch. Discussion ---------- Also requiring annotations so they can be used It's an edge case, as most people use the `website-skeleton` or install the `annotations` (SensioFWExtra) package, but just in case, the user *does* need `doctrine/annotations` in order to support using annotations with validation - https://github.com/symfony/symfony/blob/f96753b9ab497a42f7a76188e2de4911b50f5407/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php#L744 Cheers! Commits ------- 89610c7 Also requiring annotations so they can be used
2 parents 766fab4 + 89610c7 commit 127b35d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

validation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ install the validator before using it:
1919

2020
.. code-block:: terminal
2121
22-
$ composer require symfony/validator
22+
$ composer require symfony/validator doctrine/annotations
2323
2424
.. index::
2525
single: Validation; The basics

0 commit comments

Comments
 (0)