| Conditions | 3 |
| Paths | 3 |
| Total Lines | 15 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 29 | public function __toString(): string |
||
| 30 | { |
||
| 31 | if (is_scalar($this->value)) { |
||
| 32 | return sprintf( |
||
| 33 | '(%s) %s', |
||
| 34 | gettype($this->value), |
||
| 35 | (string) $this->value |
||
| 36 | ); |
||
| 37 | } |
||
| 38 | |||
| 39 | if (is_object($this->value)) { |
||
| 40 | return '(object) ' . get_class($this->value); |
||
| 41 | } |
||
| 42 | |||
| 43 | return '(' . gettype($this->value) . ')'; |
||
| 44 | } |
||
| 79 |
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