public function EmailValidatorTest::getInvalidEmails in Zircon Profile 8.0
Same name in this branch
- 8.0 vendor/symfony/validator/Tests/Constraints/EmailValidatorTest.php \Symfony\Component\Validator\Tests\Constraints\EmailValidatorTest::getInvalidEmails()
- 8.0 vendor/egulias/email-validator/tests/egulias/Tests/EmailValidator/EmailValidatorTest.php \Egulias\Tests\EmailValidator\EmailValidatorTest::getInvalidEmails()
Same name and namespace in other branches
- 8 vendor/egulias/email-validator/tests/egulias/Tests/EmailValidator/EmailValidatorTest.php \Egulias\Tests\EmailValidator\EmailValidatorTest::getInvalidEmails()
File
- vendor/
egulias/ email-validator/ tests/ egulias/ Tests/ EmailValidator/ EmailValidatorTest.php, line 77
Class
Namespace
Egulias\Tests\EmailValidatorCode
public function getInvalidEmails() {
return array(
array(
'test@example.com test',
),
array(
'user name@example.com',
),
array(
'user name@example.com',
),
array(
'example.@example.co.uk',
),
array(
'example@example@example.co.uk',
),
array(
'(test_exampel@example.fr)',
),
array(
'example(example)example@example.co.uk',
),
array(
'.example@localhost',
),
array(
'ex\\ample@localhost',
),
array(
'example@local\\host',
),
array(
'example@localhost.',
),
array(
'user name@example.com',
),
array(
'username@ example . com',
),
array(
'example@(fake).com',
),
array(
'example@(fake.com',
),
array(
'username@example,com',
),
array(
'usern,ame@example.com',
),
array(
'user[na]me@example.com',
),
array(
'"""@iana.org',
),
array(
'"\\"@iana.org',
),
array(
'"test"test@iana.org',
),
array(
'"test""test"@iana.org',
),
array(
'"test"."test"@iana.org',
),
array(
'"test".test@iana.org',
),
array(
'"test"' . chr(0) . '@iana.org',
),
array(
'"test\\"@iana.org',
),
array(
chr(226) . '@iana.org',
),
array(
'test@' . chr(226) . '.org',
),
array(
'\\r\\ntest@iana.org',
),
array(
'\\r\\n test@iana.org',
),
array(
'\\r\\n \\r\\ntest@iana.org',
),
array(
'\\r\\n \\r\\ntest@iana.org',
),
array(
'\\r\\n \\r\\n test@iana.org',
),
array(
'test@iana.org \\r\\n',
),
array(
'test@iana.org \\r\\n ',
),
array(
'test@iana.org \\r\\n \\r\\n',
),
array(
'test@iana.org \\r\\n\\r\\n',
),
array(
'test@iana.org \\r\\n\\r\\n ',
),
array(
'test@iana/icann.org',
),
array(
'test@foo;bar.com',
),
array(
'test;123@foobar.com',
),
array(
'test@example..com',
),
array(
'email.email@email."',
),
array(
'test@email>',
),
array(
'test@email<',
),
array(
'test@email{',
),
);
}