@@ 103-105 (lines=3) @@ | ||
100 | throw new CRNoLF(); |
|
101 | } |
|
102 | ||
103 | if ($this->lexer->isNextToken(EmailLexer::GENERIC) && $previous['type'] !== EmailLexer::S_AT) { |
|
104 | throw new AtextAfterCFWS(); |
|
105 | } |
|
106 | ||
107 | if ($this->lexer->token['type'] === EmailLexer::S_LF || $this->lexer->token['type'] === EmailLexer::C_NUL) { |
|
108 | throw new ExpectingCTEXT(); |
|
@@ 186-188 (lines=3) @@ | ||
183 | return $hasClosingQuote; |
|
184 | } |
|
185 | $previous = $this->lexer->getPrevious(); |
|
186 | if ($this->lexer->isNextToken(EmailLexer::GENERIC) && $previous['type'] === EmailLexer::GENERIC) { |
|
187 | throw new ExpectingATEXT(); |
|
188 | } |
|
189 | ||
190 | try { |
|
191 | $this->lexer->find(EmailLexer::S_DQUOTE); |