Conditions | 3 |
Paths | 4 |
Total Lines | 13 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
25 | public function collect(): array { |
||
26 | $positive = phpdbg_end_oplog(); |
||
27 | $negative = phpdbg_get_executable(); |
||
28 | |||
29 | foreach($positive as $file => &$lines) { |
||
30 | $lines = array_fill_keys(array_keys($lines), 1); |
||
31 | } |
||
32 | |||
33 | foreach($negative as $file => &$lines) { |
||
34 | $lines = array_fill_keys(array_keys($lines), -1); |
||
35 | } |
||
36 | |||
37 | return [$positive, $negative]; |
||
38 | } |
||
40 | ?> |