Total Complexity | 5 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Changes | 5 | ||
Bugs | 2 | Features | 0 |
1 | <?php |
||
9 | final class Loader |
||
10 | { |
||
11 | /** @var array<string, bool> */ |
||
12 | private static array $loaded = []; |
||
13 | |||
14 | public static function loadRaw(string $code): mixed |
||
|
|||
15 | { |
||
16 | return eval($code); |
||
17 | } |
||
18 | |||
19 | /** @throws InvalidPhpCodeException on php error in code */ |
||
20 | public static function load(string $code): mixed |
||
26 | } |
||
27 | } |
||
28 | |||
29 | public static function loadOnce(string $code): void |
||
36 | } |
||
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