| Conditions | 3 |
| Paths | 3 |
| Total Lines | 15 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | public function output($coverage, $percent, $minimumPercent) |
||
| 12 | { |
||
| 13 | $this->violations = ['files' => []]; |
||
| 14 | $total = 0; |
||
| 15 | foreach ($coverage as $file => $lines) { |
||
| 16 | foreach ($lines as $line => $errors) { |
||
| 17 | $this->displayErrors($errors, $file, $line); |
||
| 18 | } |
||
| 19 | $total++; |
||
| 20 | } |
||
| 21 | |||
| 22 | $this->addTotal($total); |
||
| 23 | |||
| 24 | echo json_encode($this->violations) . "\n"; |
||
| 25 | } |
||
| 26 | |||
| 57 |