You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* 5.4:
[Validator] Fix Email validator logic
Fix user_identifier support after username has been deprecated in favor of it.
[PropertyInfo] Fixes constructor extractor for mixed type
use method_exists() instead of catching reflection exceptions
@@ -71,7 +72,7 @@ public function validate(mixed $value, Constraint $constraint)
71
72
72
73
if (null === $constraint->mode) {
73
74
if (Email::VALIDATION_MODE_STRICT === $this->defaultMode && !class_exists(EguliasEmailValidator::class)) {
74
-
thrownewLogicException(sprintf('The "egulias/email-validator" component is required to make the "%s" constraint default to strict mode.', EguliasEmailValidator::class));
75
+
thrownewLogicException(sprintf('The "egulias/email-validator" component is required to make the "%s" constraint default to strict mode.', Email::class));
0 commit comments