| Conditions | 3 |
| Paths | 4 |
| Total Lines | 11 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 45 | public function createSettings(InputInterface $input): GetTraceSettings |
||
| 46 | { |
||
| 47 | $depth = NullableCast::toString($input->getOption('depth')); |
||
| 48 | if (is_null($depth)) { |
||
| 49 | $depth = PHP_INT_MAX; |
||
| 50 | } |
||
| 51 | $depth = filter_var($depth, FILTER_VALIDATE_INT); |
||
| 52 | if ($depth === false) { |
||
| 53 | throw GetTraceSettingsException::create(GetTraceSettingsException::DEPTH_IS_NOT_INTEGER); |
||
| 54 | } |
||
| 55 | return new GetTraceSettings($depth); |
||
| 56 | } |
||
| 58 |
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