| Conditions | 2 |
| Paths | 2 |
| Total Lines | 12 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 45 | protected function execute(InputInterface $input, OutputInterface $output) |
||
| 46 | { |
||
| 47 | $rows = []; |
||
| 48 | foreach ($this->offensiveWords as $word) { |
||
| 49 | $rows[] = [str_rot13($word[0]), $word[1], $word[0]]; |
||
| 50 | } |
||
| 51 | $table = new Table($output); |
||
| 52 | $table |
||
| 53 | ->setHeaders(['String', 'Points', 'ROT13 Transformation']) |
||
| 54 | ->setRows($rows) |
||
| 55 | ; |
||
| 56 | $table->render(); |
||
| 57 | } |
||
| 59 |