-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
[Reference] add validation config reference section #4673
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
xabbuh
commented
Dec 20, 2014
Q | A |
---|---|
Doc fix? | yes |
New docs? | no |
Applies to | all |
Fixed tickets |
2b38a28
to
88df04a
Compare
88df04a
to
cdb4284
Compare
If this option is enabled, the `egulias/email-validator`_ library will be | ||
used by the :doc:`/reference/constraints/Email` constraint validator. Otherwise, | ||
the validator uses a simple regular expression to validate email addresses. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this was added in 2.5: https://github.com/symfony/symfony/blob/2.3/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php#L375
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch, Ryan. I'll remove it here and add it again when creating the pull request for the api
option.
I left a few comments, but nice catch on this being missing! It looks like several other options are introduced in 2.5 (and maybe also 2.6) - including the very-important api version for 2.5. Thanks! |
Honestly, I just caught this when I wanted to document the |
cdb4284
to
2a084c9
Compare
2a084c9
to
79ad3b5
Compare
I moved the |
Thanks for the quick work! Now I'll go check the other PR :) |
…bbuh) This PR was merged into the 2.3 branch. Discussion ---------- [Reference] add validation config reference section | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | all | Fixed tickets | Commits ------- 79ad3b5 add validation config reference section