| Conditions | 3 |
| Paths | 3 |
| Total Lines | 15 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 41 | protected function execute(InputInterface $input, OutputInterface $output) |
||
| 42 | { |
||
| 43 | $style = new SymfonyStyle($input, $output); |
||
| 44 | $errors = $this->validator->validateClasses($this->classes); |
||
| 45 | if (empty($errors)) { |
||
| 46 | $style->success('Everything is fine'); |
||
| 47 | |||
| 48 | return; |
||
| 49 | } |
||
| 50 | |||
| 51 | $style->error('Found some issues: '); |
||
| 52 | foreach ($errors as $error) { |
||
| 53 | $style->error($error); |
||
| 54 | } |
||
| 55 | } |
||
| 56 | } |
||
| 57 |