Conditions | 1 |
Paths | 1 |
Total Lines | 18 |
Code Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
19 | public function testChainResolver(): void |
||
20 | { |
||
21 | $resolver1 = new ChainResolver([ |
||
22 | new StaticResolver('sk_SK') |
||
23 | ]); |
||
24 | $this->assertSame('sk_SK', $resolver1->resolve()); |
||
25 | |||
26 | $resolver2 = new ChainResolver([ |
||
27 | new StaticResolver(''), |
||
28 | new StaticResolver('en_US') |
||
29 | ]); |
||
30 | $this->assertSame('en_US', $resolver2->resolve()); |
||
31 | |||
32 | $resolver3 = new ChainResolver([ |
||
33 | new StaticResolver(''), |
||
34 | new StaticResolver('') |
||
35 | ]); |
||
36 | $this->assertNull($resolver3->resolve()); |
||
37 | } |
||
39 |
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