Code Duplication    Length = 3-3 lines in 2 locations

lib/PhpParser/Lexer.php 2 locations

@@ 181-183 (lines=3) @@
178
                $this->filePos += strlen($token[1]);
179
180
                if (T_COMMENT === $token[0]) {
181
                    if (isset($this->usedAttributes['comments'])) {
182
                        $startAttributes['comments'][] = new Comment($token[1], $token[2]);
183
                    }
184
                } elseif (T_DOC_COMMENT === $token[0]) {
185
                    if (isset($this->usedAttributes['comments'])) {
186
                        $startAttributes['comments'][] = new Comment\Doc($token[1], $token[2]);
@@ 185-187 (lines=3) @@
182
                        $startAttributes['comments'][] = new Comment($token[1], $token[2]);
183
                    }
184
                } elseif (T_DOC_COMMENT === $token[0]) {
185
                    if (isset($this->usedAttributes['comments'])) {
186
                        $startAttributes['comments'][] = new Comment\Doc($token[1], $token[2]);
187
                    }
188
                } elseif (!isset($this->dropTokens[$token[0]])) {
189
                    $value = $token[1];
190