@@ 89-91 (lines=3) @@ | ||
86 | throw new ExpectingATEXT(); |
|
87 | } |
|
88 | ||
89 | if (!$this->lexer->isNextTokenAny(array(EmailLexer::S_SP, EmailLexer::S_HTAB, EmailLexer::C_DEL))) { |
|
90 | return false; |
|
91 | } |
|
92 | ||
93 | $this->warnings[QuotedPart::CODE] = |
|
94 | new QuotedPart($this->lexer->getPrevious()['type'], $this->lexer->token['type']); |
|
@@ 110-112 (lines=3) @@ | ||
107 | return new InvalidEmail(new ReasonExpectingATEXT('Found ATOM after escaping'), $this->lexer->token['value']); |
|
108 | } |
|
109 | ||
110 | if (!$this->lexer->isNextTokenAny(array(EmailLexer::S_SP, EmailLexer::S_HTAB, EmailLexer::C_DEL))) { |
|
111 | return new ValidEmail(); |
|
112 | } |
|
113 | ||
114 | $this->warnings[QuotedPart::CODE] = |
|
115 | new QuotedPart($this->lexer->getPrevious()['type'], $this->lexer->token['type']); |