Conditions | 2 |
Paths | 2 |
Total Lines | 18 |
Code Lines | 13 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
18 | public function testIsValidLocale() |
||
19 | { |
||
20 | $m = $this->method; |
||
21 | $t = $this->tr; |
||
22 | |||
23 | $booleanAssertions = [ |
||
24 | 'ab' => true, |
||
25 | 'ab-CD' => true, |
||
26 | 'ab-CDE' => false, |
||
27 | 'abc-DE' => false, |
||
28 | 'abc-DEF' => false, |
||
29 | 'abc' => false, |
||
30 | 'ab-' => false, |
||
31 | 'a' => false, |
||
32 | ]; |
||
33 | |||
34 | foreach ($booleanAssertions as $key => $value) { |
||
35 | $this->assertEquals($m->invokeArgs($t, [$key]), $value); |
||
36 | } |
||
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