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