Conditions | 3 |
Paths | 4 |
Total Lines | 12 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | public static function createDefaultApie(bool $debug = false, array $additionalPlugins = [], ?string $cacheFolder = null, bool $defaultResources = true): Apie |
||
|
|||
11 | { |
||
12 | $plugins = $additionalPlugins; |
||
13 | $plugins[] = class_exists(CarbonPlugin::class) ? new CarbonPlugin() : new DateTimePlugin(); |
||
14 | $plugins[] = new PaginationPlugin(); |
||
15 | $plugins[] = new UuidPlugin(); |
||
16 | $plugins[] = new ValueObjectPlugin(); |
||
17 | if ($defaultResources) { |
||
18 | $plugins[] = new ApplicationInfoPlugin(); |
||
19 | $plugins[] = new StatusCheckPlugin([]); |
||
20 | } |
||
21 | return new Apie($plugins, $debug, $cacheFolder); |
||
22 | } |
||
24 |
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