8000 deprecate the use of option arrays to configure validation constraints · symfony/symfony@3d2be38 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3d2be38

Browse files
committed
deprecate the use of option arrays to configure validation constraints
1 parent 7b0cdc8 commit 3d2be38

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

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)
0