[Validator] Add support of nested attributes

by @alexandre-daubois

Some issues have been detected in this pull request

Issues that can be fixed by applying a patch

Review the proposed patch then download it to apply it manually or execute the following command from the repository root directory:

curl https://fabbot.io/patch/symfony/symfony/41994/1a34fc32c664b8a0f4d5e86e2cf5604bc0f109b8/cs.diff | patch -p0
diff -ru src/Symfony/Component/Validator/Tests/Mapping/Loader/AnnotationLoaderTest.php src/Symfony/Component/Validator/Tests/Mapping/Loader/AnnotationLoaderTest.php
--- src/Symfony/Component/Validator/Tests/Mapping/Loader/AnnotationLoaderTest.php	2021-07-20 09:28:12.607320690 +0000
+++ src/Symfony/Component/Validator/Tests/Mapping/Loader/AnnotationLoaderTest.php	2021-07-20 09:28:13.434297197 +0000
@@ -18,7 +18,6 @@
 use Symfony\Component\Validator\Constraints\Callback;
 use Symfony\Component\Validator\Constraints\Choice;
 use Symfony\Component\Validator\Constraints\Collection;
-use Symfony\Component\Validator\Constraints\Composite;
 use Symfony\Component\Validator\Constraints\Email;
 use Symfony\Component\Validator\Constraints\IsTrue;
 use Symfony\Component\Validator\Constraints\NotBlank;

0
Common Typos

0
License Headers

0
Pull Request Contributor Headers

0
File Permissions

0
Merge Commits

0
Exception Messages Formatting

0
Usage of void in test files

0
Use ::class whenever possible