Total Complexity | 3 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
17 | class SplFloatTest extends TestCase |
||
18 | { |
||
19 | |||
20 | public function test() |
||
21 | { |
||
22 | $test = new SplFloat(); |
||
23 | $this->assertSame(0.0, (float) (string) $test); |
||
24 | unset($test); |
||
25 | |||
26 | $test = new SplFloat(10.1); |
||
27 | $this->assertSame(10.1, (float) (string) $test); |
||
28 | unset($test); |
||
29 | |||
30 | $test = new SplFloat(10.1, false); |
||
31 | $this->assertSame(10.1, (float) (string) $test); |
||
32 | unset($test); |
||
33 | } |
||
34 | |||
35 | public function test_unexpected_value_exception_bool() |
||
39 | } |
||
40 | |||
41 | public function test_unexpected_value_exception_string() |
||
48 |
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