Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 127b35d

Browse filesBrowse 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
Copy full SHA for 127b35d

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎validation.rst

Copy file name to clipboardExpand all lines: validation.rst
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.