Total Complexity | 3 |
Total Lines | 16 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
8 | final class NonExistingSelectOnePathResult implements SelectOnePathResultInterface |
||
9 | { |
||
10 | |||
11 | public function exists(): bool |
||
12 | { |
||
13 | return false; |
||
14 | } |
||
15 | |||
16 | public function get(): PathInterface |
||
17 | { |
||
18 | throw new Exception\ValueNotFoundException; |
||
|
|||
19 | } |
||
20 | |||
21 | public function encode(): string |
||
24 | } |
||
25 | } |
||
26 |
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