| Conditions | 2 |
| Paths | 2 |
| Total Lines | 14 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 1 | Features | 1 |
| 1 | <?php |
||
| 42 | public function execute(InputInterface $input, OutputInterface $output) |
||
| 43 | { |
||
| 44 | $files = $this->files->toArray(); |
||
| 45 | |||
| 46 | if (count($files)) { |
||
| 47 | $bull = PHP_EOL . '- '; |
||
| 48 | throw new RuntimeException( |
||
| 49 | sprintf( |
||
| 50 | 'The following files are not allowed:%s', |
||
| 51 | rtrim($bull . implode($bull, $files) . PHP_EOL . $this->reason) |
||
| 52 | ) |
||
| 53 | ); |
||
| 54 | } |
||
| 55 | } |
||
| 56 | } |
||
| 57 |