Conditions | 3 |
Paths | 4 |
Total Lines | 11 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
40 | public function fromConsoleInput(InputInterface $input): GetTraceSettings |
||
41 | { |
||
42 | $depth = $input->getOption('depth'); |
||
43 | if (is_null($depth)) { |
||
44 | $depth = PHP_INT_MAX; |
||
45 | } |
||
46 | $depth = filter_var($depth, FILTER_VALIDATE_INT); |
||
47 | if ($depth === false) { |
||
48 | throw GetTraceSettingsException::create(GetTraceSettingsException::DEPTH_IS_NOT_INTEGER); |
||
49 | } |
||
50 | return new GetTraceSettings($depth); |
||
51 | } |
||
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