@@ 123-125 (lines=3) @@ | ||
120 | throw new CRNoLF(); |
|
121 | } |
|
122 | ||
123 | if ($this->lexer->isNextToken(EmailLexer::GENERIC) && $previous['type'] !== EmailLexer::S_AT) { |
|
124 | throw new AtextAfterCFWS(); |
|
125 | } |
|
126 | ||
127 | if ($this->lexer->token['type'] === EmailLexer::S_LF || $this->lexer->token['type'] === EmailLexer::C_NUL) { |
|
128 | throw new ExpectingCTEXT(); |
|
@@ 220-222 (lines=3) @@ | ||
217 | return $hasClosingQuote; |
|
218 | } |
|
219 | $previous = $this->lexer->getPrevious(); |
|
220 | if ($this->lexer->isNextToken(EmailLexer::GENERIC) && $previous['type'] === EmailLexer::GENERIC) { |
|
221 | throw new ExpectingATEXT(); |
|
222 | } |
|
223 | ||
224 | try { |
|
225 | $this->lexer->find(EmailLexer::S_DQUOTE); |