Total Complexity | 4 |
Total Lines | 46 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
17 | class SplBoolTest extends TestCase |
||
18 | { |
||
19 | |||
20 | public function test() |
||
21 | { |
||
22 | $test = new SplBool; |
||
23 | $this->assertFalse((bool) (string) $test); |
||
24 | unset($test); |
||
25 | |||
26 | $test = new SplBool(true); |
||
27 | $this->assertTrue((bool) (string) $test); |
||
28 | unset($test); |
||
29 | |||
30 | $test = new SplBool(1, false); |
||
31 | $this->assertTrue((bool) (string) $test); |
||
32 | unset($test); |
||
33 | } |
||
34 | |||
35 | public function test_unexpected_value_exception_int() |
||
39 | } |
||
40 | |||
41 | public function test_unexpected_value_exception_string() |
||
45 | } |
||
46 | |||
47 | public function test_list() |
||
66 |
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