Description
-
Those two headings say basically the same and could be merged into an include:
https://symfony.com/doc/current/reference/constraints/Email.html#mode
https://symfony.com/doc/current/reference/configuration/framework.html#email-validation-mode -
Strictly speaking, "default: loose" is wrong at https://symfony.com/doc/current/reference/constraints/Email.html#mode - cause the default for
Assert\Email
is what you have invalidator.yaml
. But users of the standalone component don't have that file, right? So at least a caution box with a link would be nice ("Users of the full framework...")
This validation is too simple and it’s recommended to use the html5 validation instead;
It's simpler, but it's not too simple ;-) I currently have an issue with an IDN address that is rejected by html5
; this could be mentioned as well.