Skip to content
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

enable HTML5 e-mail validation #327

Merged
1 commit merged into from Jul 27, 2018
Merged

enable HTML5 e-mail validation #327

1 commit merged into from Jul 27, 2018

Conversation

xabbuh
Copy link
Member

@xabbuh xabbuh commented Dec 22, 2017

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request does not pass validation.

@@ -0,0 +1,6 @@
{
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

invalid character '}' looking for beginning of object key string

@xabbuh
Copy link
Member Author

xabbuh commented Dec 22, 2017

There's just one problem here: We not only need the Validator component 4.1, but the FrameworkBundle must be 4.1 or higher too. Should we solve this conflict by adding a PHP config instead which enables this based on the FrameworkBundle version?

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request passes validation.

@Nyholm
Copy link
Member

Nyholm commented Dec 23, 2017

I think the more predictable way is to throw an exception if one uses this config with FrameworkBundle 4.0

Copy link
Member

@nicolas-grekas nicolas-grekas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's do this, and we'll see if anyone hits the reported concern (I'd doubt)

@ghost ghost merged commit 420e4c1 into symfony:master Jul 27, 2018
ghost pushed a commit that referenced this pull request Jul 27, 2018
@xabbuh xabbuh deleted the symfony-25478 branch July 27, 2018 07:40
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants