We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 340e262 + b367941 commit adc4d38Copy full SHA for adc4d38
Tests/Constraints/EmailValidatorTest.php
@@ -197,7 +197,7 @@ public function testModeStrict()
197
{
198
$constraint = new Email(['mode' => Email::VALIDATION_MODE_STRICT]);
199
200
- $this->validator->validate('example@localhost', $constraint);
+ $this->validator->validate('example@mywebsite.tld', $constraint);
201
202
$this->assertNoViolation();
203
}
composer.json
@@ -42,7 +42,7 @@
42
"symfony/translation": "^4.4|^5.0",
43
"doctrine/annotations": "^1.10.4",
44
"doctrine/cache": "~1.0",
45
- "egulias/email-validator": "^2.1.10"
+ "egulias/email-validator": "^2.1.10|^3"
46
},
47
"conflict": {
48
"doctrine/lexer": "<1.0.2",
0 commit comments