Conditions | 1 |
Total Lines | 17 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
37 | public static function outputProvider() |
||
38 | { |
||
39 | $stringClass = new class() { |
||
40 | public function __toString(): string |
||
41 | { |
||
42 | return 'as string'; |
||
43 | } |
||
44 | }; |
||
45 | |||
46 | return [ |
||
47 | [null, null], |
||
48 | [10, '10'], |
||
49 | [true, '1'], |
||
50 | [false, ''], |
||
51 | [new \stdClass(), '[object] stdClass'], |
||
52 | [['foo'], '(array)'], |
||
53 | [$stringClass, 'as string'], |
||
54 | ]; |
||
65 |
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