Code Duplication    Length = 10-10 lines in 2 locations

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

@@ 869-878 (lines=10) @@
866
    {
867
        $allowedLines = array();
868
869
        foreach (array_keys($linesToBeCovered) as $file) {
870
            if (!isset($allowedLines[$file])) {
871
                $allowedLines[$file] = array();
872
            }
873
874
            $allowedLines[$file] = array_merge(
875
                $allowedLines[$file],
876
                $linesToBeCovered[$file]
877
            );
878
        }
879
880
        foreach (array_keys($linesToBeUsed) as $file) {
881
            if (!isset($allowedLines[$file])) {
@@ 880-889 (lines=10) @@
877
            );
878
        }
879
880
        foreach (array_keys($linesToBeUsed) as $file) {
881
            if (!isset($allowedLines[$file])) {
882
                $allowedLines[$file] = array();
883
            }
884
885
            $allowedLines[$file] = array_merge(
886
                $allowedLines[$file],
887
                $linesToBeUsed[$file]
888
            );
889
        }
890
891
        foreach (array_keys($allowedLines) as $file) {
892
            $allowedLines[$file] = array_flip(