Conditions | 2 |
Paths | 2 |
Total Lines | 11 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
36 | 5 | public function writeErrorReports(array $errorReports) |
|
37 | { |
||
38 | 5 | foreach ($errorReports as $file => $errors) { |
|
39 | 4 | $this->symfonyStyle->section('FILE: ' . $file); |
|
40 | |||
41 | 4 | $tableRows = $this->formatErrorsToTableRows($errors); |
|
42 | 4 | $this->symfonyStyle->table(['Line', 'Error', 'Sniff Code', 'Fixable'], $tableRows); |
|
43 | |||
44 | 4 | $this->symfonyStyle->newLine(); |
|
45 | } |
||
46 | 5 | } |
|
47 | |||
57 |