| Total Complexity | 2 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Coverage | 62.5% |
| Changes | 0 | ||
| 1 | <?php |
||
| 21 | class MagicCommand extends AbstractCommand |
||
| 22 | { |
||
| 23 | /** |
||
| 24 | * Command configuration |
||
| 25 | 15 | */ |
|
| 26 | protected function configure() |
||
| 27 | { |
||
| 28 | $this |
||
| 29 | 15 | // the name of the command (the part after "bin/bluzman") |
|
| 30 | ->setName('i-need-magic') |
||
| 31 | 15 | // the short description shown while running "php bin/bluzman list" |
|
| 32 | ->setDescription('Magic is here') |
||
| 33 | // the full command description shown when running the command with |
||
| 34 | 15 | // the "--help" option |
|
| 35 | ->setHelp('This command allows you to contribute') |
||
| 36 | 15 | ; |
|
| 37 | } |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @param InputInterface $input |
||
| 41 | * @param OutputInterface $output |
||
| 42 | * @return int |
||
| 43 | */ |
||
| 44 | protected function execute(InputInterface $input, OutputInterface $output): int |
||
| 48 | } |
||
| 49 | } |
||
| 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