Skip to content

Commit 2cc5dd9

Browse files
committed
deprecate the use of option arrays to configure validation constraints
1 parent 2d1fe22 commit 2cc5dd9

File tree

164 files changed

+2650
-1958
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

+2650
-1958
lines changed

src/Symfony/Bridge/Doctrine/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)