Skip to content

Commit a46bf37

Browse files
committed
feature #54744 [Validator] deprecate the use of option arrays to configure validation constraints (xabbuh)
This PR was merged into the 7.3 branch. Discussion ---------- [Validator] deprecate the use of option arrays to configure validation constraints | Q | A | ------------- | --- | Branch? | 7.3 | Bug fix? | no | New feature? | no | Deprecations? | yes | Issues | Fix #51393 | License | MIT Commits ------- 3d2be3841a deprecate the use of option arrays to configure validation constraints
2 parents 09e1e0e + 7adffdb commit a46bf37

File tree

4 files changed

+191
-156
lines changed

4 files changed

+191
-156
lines changed

Tests/Validator/Constraints/UniqueEntityTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ public function testAttributeWithGroupsAndPaylod()
6161
self::assertSame(['some_group'], $constraint->groups);
6262
}
6363

64+
/**
65+
* @group legacy
66+
*/
6467
public function testValueOptionConfiguresFields()
6568
{
6669
$constraint = new UniqueEntity(['value' => 'email']);

0 commit comments

Comments
 (0)