Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
19 | public function test() |
||
20 | { |
||
21 | $test = new SplBool(); |
||
22 | $this->assertFalse((bool) (string) $test); |
||
23 | unset($test); |
||
24 | |||
25 | $test = new SplBool(true); |
||
26 | $this->assertTrue((bool) (string) $test); |
||
27 | unset($test); |
||
28 | |||
29 | $test = new SplBool(1, false); |
||
30 | $this->assertTrue((bool) (string) $test); |
||
31 | unset($test); |
||
32 | } |
||
64 |
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