Yes BC break, sorry.
El 04/01/2014 19:59, "Tobias Schultze" <notifications@github.com> escribió:

> In src/Symfony/Component/Validator/Constraints/EmailValidator.php:
>
> > @@ -36,12 +50,23 @@ public function validate($value, Constraint $constraint)
> >          }
> >
> >          $value = (string) $value;
> > -        $valid = filter_var($value, FILTER_VALIDATE_EMAIL);
> > +        if ($constraint->strict === null) {
> > +            $constraint->strict = $this->isStrict;
> > +        }
> > +
> > +        if ($constraint->strict === true && class_exists('\Egulias\EmailValidator\EmailValidator')) {
> > +            $strictValidator = new StrictEmailValidator();
> > +            $valid = $strictValidator->isValid($value, $constraint->checkMX);
> > +        } elseif ($constraint->strict === true) {
> > +            throw new \RuntimeException('Strict email validation requires egulias/email-validator');
> > +        } else {
> > +            $valid = preg_match('/.+\@.+\..+/', $value);
>
> you mean BC break. BC means the opposite
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/symfony/symfony/pull/9140/files#r8652639>
> .
>