1 | <?php |
||
2 | |||
3 | namespace Apie\CommonApie; |
||
4 | |||
5 | /** |
||
6 | * Helper class to make a general Apie instance with common plugins active. |
||
7 | */ |
||
8 | class DefaultApie |
||
9 | { |
||
10 | public static function createDefaultApie(bool $debug = false, array $additionalPlugins = [], ?string $cacheFolder = null, bool $defaultResources = true): Apie |
||
0 ignored issues
–
show
|
|||
11 | { |
||
12 | $plugins = $additionalPlugins; |
||
13 | $plugins[] = class_exists(CarbonPlugin::class) ? new CarbonPlugin() : new DateTimePlugin(); |
||
0 ignored issues
–
show
The type
Apie\CommonApie\CarbonPlugin was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() The type
Apie\CommonApie\DateTimePlugin was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
14 | $plugins[] = new PaginationPlugin(); |
||
0 ignored issues
–
show
The type
Apie\CommonApie\PaginationPlugin was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
15 | $plugins[] = new UuidPlugin(); |
||
0 ignored issues
–
show
The type
Apie\CommonApie\UuidPlugin was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
16 | $plugins[] = new ValueObjectPlugin(); |
||
0 ignored issues
–
show
The type
Apie\CommonApie\ValueObjectPlugin was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
17 | if ($defaultResources) { |
||
18 | $plugins[] = new ApplicationInfoPlugin(); |
||
0 ignored issues
–
show
The type
Apie\CommonApie\ApplicationInfoPlugin was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
19 | $plugins[] = new StatusCheckPlugin([]); |
||
0 ignored issues
–
show
The type
Apie\CommonApie\StatusCheckPlugin was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
20 | } |
||
21 | return new Apie($plugins, $debug, $cacheFolder); |
||
22 | } |
||
23 | } |
||
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