Skip to content

Commit 42478e2

Browse files
committed
minor #16789 [Validator] Doctrine annotations is not required anymore for validator (l-vo)
This PR was merged into the 6.0 branch. Discussion ---------- [Validator] Doctrine annotations is not required anymore for validator <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `6.x` for features of unreleased versions). --> Commits ------- f55ad96 Doctrine annotations is not required anymore for validator
2 parents c35506b + f55ad96 commit 42478e2

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)