Total Complexity | 4 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
21 | final class GetTraceSettingsFromConsoleInput |
||
22 | { |
||
23 | public function setOptions(Command $command): void |
||
24 | { |
||
25 | $command |
||
26 | ->addOption( |
||
27 | 'depth', |
||
28 | 'd', |
||
29 | InputOption::VALUE_OPTIONAL, |
||
30 | 'max depth' |
||
31 | ) |
||
32 | ; |
||
33 | } |
||
34 | |||
35 | /** |
||
36 | * @param InputInterface $input |
||
37 | * @return GetTraceSettings |
||
38 | * @throws InspectorSettingsException |
||
39 | */ |
||
40 | public function fromConsoleInput(InputInterface $input): GetTraceSettings |
||
51 | } |
||
52 | } |
||
53 |
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