| Conditions | 2 |
| Paths | 2 |
| Total Lines | 12 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 46 | protected function execute(InputInterface $input, OutputInterface $output): int |
||
| 47 | { |
||
| 48 | try { |
||
| 49 | $this->configurationValidator->validate(); |
||
| 50 | } catch (ConfigurationNotValidException $e) { |
||
| 51 | $output->writeln(sprintf('<error>%s</error>', $e->getMessage())); |
||
| 52 | return 1; |
||
| 53 | } |
||
| 54 | |||
| 55 | $output->writeln(sprintf('<info>%s</info>', 'Configuration is valid.')); |
||
| 56 | |||
| 57 | return 0; |
||
| 58 | } |
||
| 60 |