| Conditions | 8 |
| Paths | 7 |
| Total Lines | 14 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 1 | Features | 1 |
| 1 | <?php |
||
| 39 | public function supports($input): bool |
||
| 40 | { |
||
| 41 | if ($input instanceof ValueObjectInterface && $this->supports($input->toNative())) { |
||
| 42 | return true; |
||
| 43 | } |
||
| 44 | switch (gettype($input)) { |
||
| 45 | case 'boolean': |
||
| 46 | case 'integer': |
||
| 47 | case 'double': |
||
| 48 | return true; |
||
| 49 | case 'string': |
||
| 50 | return preg_match('/^\d+$/', $input) ? true : false; |
||
| 51 | } |
||
| 52 | return false; |
||
| 53 | } |
||
| 70 |
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