Skip to content

Commit da818b7

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 ------- 3d2be38 deprecate the use of option arrays to configure validation constraints
2 parents b684e7e + 3d2be38 commit da818b7

File tree

164 files changed

+2667
-1969
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

164 files changed

+2667
-1969
lines changed

src/Symfony/Bridge/Doctrine/Tests/Validator/Constraints/UniqueEntityTest.php

+3
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)