| Conditions | 2 |
| Paths | 3 |
| Total Lines | 13 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 8 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 35 | 2 | protected function execute(InputInterface $input, OutputInterface $output): int |
|
| 36 | { |
||
| 37 | 2 | $output->writeln('<info> Generate DTO classes... </info>'); |
|
| 38 | try { |
||
| 39 | 2 | $this->DTOFacade->generate(); |
|
| 40 | 1 | $output->writeln('<info> Success!</info>'); |
|
| 41 | 1 | } catch (\Throwable $e) { |
|
| 42 | 1 | $output->writeln(sprintf('<error> %s </error>', $e->getMessage())); |
|
| 43 | |||
| 44 | 1 | throw $e; |
|
| 45 | } |
||
| 46 | |||
| 47 | 1 | return Command::SUCCESS; |
|
| 48 | } |
||
| 50 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths