|
@@ 357-359 (lines=3) @@
|
| 354 |
|
throw new ConsecutiveAt(); |
| 355 |
|
} |
| 356 |
|
|
| 357 |
|
if ($this->lexer->token['type'] === EmailLexer::S_OPENQBRACKET && $prev['type'] !== EmailLexer::S_AT) { |
| 358 |
|
throw new ExpectingATEXT(); |
| 359 |
|
} |
| 360 |
|
|
| 361 |
|
if ($this->lexer->token['type'] === EmailLexer::S_HYPHEN && $this->lexer->isNextToken(EmailLexer::S_DOT)) { |
| 362 |
|
throw new DomainHyphened(); |
|
@@ 365-368 (lines=4) @@
|
| 362 |
|
throw new DomainHyphened(); |
| 363 |
|
} |
| 364 |
|
|
| 365 |
|
if ($this->lexer->token['type'] === EmailLexer::S_BACKSLASH |
| 366 |
|
&& $this->lexer->isNextToken(EmailLexer::GENERIC)) { |
| 367 |
|
throw new ExpectingATEXT(); |
| 368 |
|
} |
| 369 |
|
} |
| 370 |
|
|
| 371 |
|
/** |