| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 13 | 
| Code Lines | 9 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php declare(strict_types = 1);  | 
            ||
| 17 | public function render(OutputInterface $output, ResultCollection $results)  | 
            ||
| 18 |     { | 
            ||
| 19 |         $data = array_map(function (array $result) { | 
            ||
| 20 | return [  | 
            ||
| 21 | 'file' => $result[0],  | 
            ||
| 22 | 'commits' => $result[1],  | 
            ||
| 23 | 'complexity' => $result[2],  | 
            ||
| 24 | 'score' => $result[3],  | 
            ||
| 25 | ];  | 
            ||
| 26 | }, $results->toArray());  | 
            ||
| 27 | |||
| 28 | $output->write(json_encode($data));  | 
            ||
| 29 | }  | 
            ||
| 30 | }  | 
            ||
| 31 |