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