Skip to content

Commit 7adffdb

Browse files
committed
deprecate the use of option arrays to configure validation constraints
1 parent 6358e12 commit 7adffdb

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)