| @@ 937-946 (lines=10) @@ | ||
| 934 | { |
|
| 935 | $allowedLines = []; |
|
| 936 | ||
| 937 | foreach (array_keys($linesToBeCovered) as $file) { |
|
| 938 | if (!isset($allowedLines[$file])) { |
|
| 939 | $allowedLines[$file] = []; |
|
| 940 | } |
|
| 941 | ||
| 942 | $allowedLines[$file] = array_merge( |
|
| 943 | $allowedLines[$file], |
|
| 944 | $linesToBeCovered[$file] |
|
| 945 | ); |
|
| 946 | } |
|
| 947 | ||
| 948 | foreach (array_keys($linesToBeUsed) as $file) { |
|
| 949 | if (!isset($allowedLines[$file])) { |
|
| @@ 948-957 (lines=10) @@ | ||
| 945 | ); |
|
| 946 | } |
|
| 947 | ||
| 948 | foreach (array_keys($linesToBeUsed) as $file) { |
|
| 949 | if (!isset($allowedLines[$file])) { |
|
| 950 | $allowedLines[$file] = []; |
|
| 951 | } |
|
| 952 | ||
| 953 | $allowedLines[$file] = array_merge( |
|
| 954 | $allowedLines[$file], |
|
| 955 | $linesToBeUsed[$file] |
|
| 956 | ); |
|
| 957 | } |
|
| 958 | ||
| 959 | foreach (array_keys($allowedLines) as $file) { |
|
| 960 | $allowedLines[$file] = array_flip( |
|