symfony/symfony — pull request #9140 by egulias (2013-09-26 18:28:33+00:00)
Title: [WIP][Validator][Email] - Strict validation and soft dependency

| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | yes
| BC breaks? | yes
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | #1581
| License | MIT
| Doc PR | Will do when finished

TODO
---------
- [ ] submit changes to the documentation
- [ ] document the BC breaks
- [ ] finish the code
- [ ] gather feedback for my changes

In #1581 @bschussek suggested to pass the strict_email config to `Validator\EmailValidator::__construct($strict)`, I did not put it there yet since the constraint can receive that configuration each time the constraint is used despite the fact of the global configuration. This could lead to some logic in the constructor and I wanted first to integrate the strict validator.

BC Break
--------------
I'm not sure of this, but as a soft dependency is added and now some emails that where valid before no longer are I thought it is.