You are here

public function EmailValidatorTest::getInvalidEmails in Zircon Profile 8.0

Same name in this branch
  1. 8.0 vendor/symfony/validator/Tests/Constraints/EmailValidatorTest.php \Symfony\Component\Validator\Tests\Constraints\EmailValidatorTest::getInvalidEmails()
  2. 8.0 vendor/egulias/email-validator/tests/egulias/Tests/EmailValidator/EmailValidatorTest.php \Egulias\Tests\EmailValidator\EmailValidatorTest::getInvalidEmails()
Same name and namespace in other branches
  1. 8 vendor/symfony/validator/Tests/Constraints/EmailValidatorTest.php \Symfony\Component\Validator\Tests\Constraints\EmailValidatorTest::getInvalidEmails()

File

vendor/symfony/validator/Tests/Constraints/EmailValidatorTest.php, line 88

Class

EmailValidatorTest

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

public function getInvalidEmails() {
  return array(
    array(
      'example',
    ),
    array(
      'example@',
    ),
    array(
      'example@localhost',
    ),
    array(
      'foo@example.com bar',
    ),
  );
}