Code Duplication    Length = 3-3 lines in 2 locations

src/Parser/DoubleQuote.php 1 location

@@ 43-45 (lines=3) @@
40
                $this->warnings[CFWSWithFWS::CODE] = new CFWSWithFWS();
41
                $setSpecialsWarning = false;
42
            }
43
            if ($this->lexer->token['type'] === EmailLexer::S_BACKSLASH && $this->lexer->isNextToken(EmailLexer::S_DQUOTE)) {
44
                $this->lexer->moveNext();
45
            }
46
47
            $this->lexer->moveNext();
48

src/Parser/DomainPart.php 1 location

@@ 196-198 (lines=3) @@
193
194
            $domain .= $this->lexer->token['value'];
195
196
            if ($this->lexer->token['type'] === EmailLexer::S_DOT && $this->lexer->isNextToken(EmailLexer::GENERIC)) {
197
                $tldMissing = false;
198
            }
199
200
            $exceptionsResult = $this->checkDomainPartExceptions($prev, $hasComments);
201
            if ($exceptionsResult->isInvalid()) {