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