Skip to content

Commit f55ad96

Browse files
authored
Doctrine annotations is not required anymore for validator
1 parent be6a0ca commit f55ad96

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

validation.rst

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,14 @@ install the validator before using it:
2323

2424
.. code-block:: terminal
2525
26-
$ composer require symfony/validator doctrine/annotations
26+
$ composer require symfony/validator
27+
28+
If your project still use annotations, ``doctrine/annotations`` is also needed:
2729

30+
.. code-block:: terminal
31+
32+
$ composer require doctrine/annotations
33+
2834
.. note::
2935

3036
If your application doesn't use Symfony Flex, you might need to do some

0 commit comments

Comments
 (0)