Code Duplication    Length = 5-5 lines in 2 locations

vendor/phpunit/php-code-coverage/src/CodeCoverage.php 2 locations

@@ 753-757 (lines=5) @@
750
                            $token instanceof PHP_Token_TRAIT ||
751
                            $token instanceof PHP_Token_CLASS) {
752
                            if (empty($classes[$token->getName()]['methods'])) {
753
                                for ($i = $token->getLine();
754
                                     $i <= $token->getEndLine();
755
                                     $i++) {
756
                                    $this->ignoredLines[$filename][] = $i;
757
                                }
758
                            } else {
759
                                $firstMethod = array_shift(
760
                                    $classes[$token->getName()]['methods']
@@ 780-784 (lines=5) @@
777
                                    $this->ignoredLines[$filename][] = $i;
778
                                }
779
780
                                for ($i = $token->getEndLine();
781
                                     $i > $lastMethod['endLine'];
782
                                     $i--) {
783
                                    $this->ignoredLines[$filename][] = $i;
784
                                }
785
                            }
786
                        }
787
                        break;