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