Skip to content

[Validator] Remove texts about require php 8.1 #18011

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion reference/constraints/All.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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([
Expand Down
1 change: 0 additions & 1 deletion reference/constraints/AtLeastOneOf.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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([
Expand Down
1 change: 0 additions & 1 deletion reference/constraints/Collection.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
1 change: 0 additions & 1 deletion reference/constraints/Sequentially.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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([
Expand Down