Conditions | 5 |
Paths | 5 |
Total Lines | 12 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
40 | public function format_cell($value) |
||
41 | { |
||
42 | if (is_object($value)) { |
||
43 | if ($value instanceof \DateTime) { |
||
44 | return $value->format(\DateTime::ISO8601); |
||
45 | } |
||
46 | |||
47 | return 'object: '.get_class($value); |
||
48 | } elseif (is_scalar($value)) { |
||
49 | return $value; |
||
50 | } elseif (is_array($value)) { |
||
51 | return 'array'; |
||
52 | } |
||
55 |
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