|
@@ 54-56 (lines=3) @@
|
| 51 |
|
return new ValidEmail(); |
| 52 |
|
} |
| 53 |
|
|
| 54 |
|
if (!$this->lexer->isNextTokenAny(array(EmailLexer::S_SP, EmailLexer::S_HTAB))) { |
| 55 |
|
return new InvalidEmail(new CRLFX2(), $this->lexer->token['value']); |
| 56 |
|
} |
| 57 |
|
|
| 58 |
|
//this has no coverage. Condition is repeated from above one |
| 59 |
|
if (!$this->lexer->isNextTokenAny(array(EmailLexer::S_SP, EmailLexer::S_HTAB))) { |
|
@@ 59-61 (lines=3) @@
|
| 56 |
|
} |
| 57 |
|
|
| 58 |
|
//this has no coverage. Condition is repeated from above one |
| 59 |
|
if (!$this->lexer->isNextTokenAny(array(EmailLexer::S_SP, EmailLexer::S_HTAB))) { |
| 60 |
|
return new InvalidEmail(new CRLFAtTheEnd(), $this->lexer->token['value']); |
| 61 |
|
} |
| 62 |
|
} |
| 63 |
|
|
| 64 |
|
/** |