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

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