diff --git a/reference/constraints/All.rst b/reference/constraints/All.rst index 30d71bbebfc..7fb1428bab7 100644 --- a/reference/constraints/All.rst +++ b/reference/constraints/All.rst @@ -25,7 +25,6 @@ entry in that array: use Symfony\Component\Validator\Constraints as Assert; - // IMPORTANT: nested attributes require PHP 8.1 or higher class User { #[Assert\All([ diff --git a/reference/constraints/AtLeastOneOf.rst b/reference/constraints/AtLeastOneOf.rst index 8b400c66dd1..e3402c23b02 100644 --- a/reference/constraints/AtLeastOneOf.rst +++ b/reference/constraints/AtLeastOneOf.rst @@ -29,7 +29,6 @@ The following constraints ensure that: use Symfony\Component\Validator\Constraints as Assert; - // IMPORTANT: nested attributes requires PHP 8.1 or higher class Student { #[Assert\AtLeastOneOf([ diff --git a/reference/constraints/Collection.rst b/reference/constraints/Collection.rst index 7ad50771226..97211354616 100644 --- a/reference/constraints/Collection.rst +++ b/reference/constraints/Collection.rst @@ -58,7 +58,6 @@ following: use Symfony\Component\Validator\Constraints as Assert; - // IMPORTANT: nested attributes requires PHP 8.1 or higher class Author { #[Assert\Collection( diff --git a/reference/constraints/Sequentially.rst b/reference/constraints/Sequentially.rst index 09fed581d25..950b5e81426 100644 --- a/reference/constraints/Sequentially.rst +++ b/reference/constraints/Sequentially.rst @@ -44,7 +44,6 @@ You can validate each of these constraints sequentially to solve these issues: use App\Validator\Constraints as AcmeAssert; use Symfony\Component\Validator\Constraints as Assert; - // IMPORTANT: nested attributes requires PHP 8.1 or higher class Place { #[Assert\Sequentially([