| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php declare(strict_types = 1); |
||
| 18 | public function render(OutputInterface $output, ResultCollection $results) |
||
| 19 | { |
||
| 20 | echo "\n |
||
| 21 | ___ _ _ __ __ ____ _ _ ____ _ _ ____ |
||
| 22 | / __)( )_( )( )( )( _ \( \( )___( _ \( )_( )( _ \ |
||
| 23 | ( (__ ) _ ( )(__)( ) / ) ((___))___/ ) _ ( )___/ |
||
| 24 | \___)(_) (_)(______)(_)\_)(_)\_) (__) (_) (_)(__) https://github.com/bmitch/churn-php\n\n"; |
||
| 25 | |||
| 26 | $table = new Table($output); |
||
| 27 | $table->setHeaders(['File', 'Times Changed', 'Complexity', 'Score']); |
||
| 28 | $table->addRows($results->toArray()); |
||
| 29 | |||
| 30 | $table->render(); |
||
| 31 | echo "\n"; |
||
| 32 | } |
||
| 33 | } |
||
| 34 |