Total Complexity | 6 |
Total Lines | 45 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
8 | trait GetDataTrait |
||
9 | { |
||
10 | |||
11 | /** |
||
12 | * Get full file url |
||
13 | * |
||
14 | * @param string $file |
||
15 | * @return string |
||
16 | */ |
||
17 | public static function getFileUrl(string $file): string |
||
21 | } |
||
22 | |||
23 | /** |
||
24 | * Return array from file |
||
25 | * |
||
26 | * @param string $file |
||
27 | * @return array|false |
||
28 | */ |
||
29 | public static function getListFromFile(string $file) |
||
32 | } |
||
33 | |||
34 | /** |
||
35 | * Found string inside file |
||
36 | * |
||
37 | * @param string $string |
||
38 | * @param string $file |
||
39 | * @return bool |
||
40 | */ |
||
41 | public static function foundInFile(string $string, string $file): boolean |
||
55 |
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