| Conditions | 3 |
| Paths | 3 |
| Total Lines | 16 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 38 | public static function fromConsoleInput(InputInterface $input): self |
||
| 39 | { |
||
| 40 | $pid = $input->getOption('pid'); |
||
| 41 | if (is_null($pid)) { |
||
| 42 | throw TargetProcessInspectorSettingsException::create( |
||
| 43 | TargetProcessInspectorSettingsException::PID_NOT_SPECIFIED |
||
| 44 | ); |
||
| 45 | } |
||
| 46 | $pid = filter_var($pid, FILTER_VALIDATE_INT); |
||
| 47 | if ($pid === false) { |
||
| 48 | throw TargetProcessInspectorSettingsException::create( |
||
| 49 | TargetProcessInspectorSettingsException::PID_NOT_SPECIFIED |
||
| 50 | ); |
||
| 51 | } |
||
| 52 | |||
| 53 | return new self($pid); |
||
| 54 | } |
||
| 56 |
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