1 | <?php |
||
2 | |||
3 | declare(strict_types=1); |
||
4 | |||
5 | namespace Shlinkio\Shlink; |
||
6 | |||
7 | use Laminas\ConfigAggregator; |
||
8 | use Mezzio; |
||
9 | use Mezzio\ProblemDetails; |
||
10 | |||
11 | use function Shlinkio\Shlink\Common\env; |
||
12 | |||
13 | return (new ConfigAggregator\ConfigAggregator([ |
||
14 | Mezzio\ConfigProvider::class, |
||
15 | Mezzio\Router\ConfigProvider::class, |
||
16 | Mezzio\Router\FastRouteRouter\ConfigProvider::class, |
||
17 | Mezzio\Plates\ConfigProvider::class, |
||
18 | Mezzio\Swoole\ConfigProvider::class, |
||
19 | ProblemDetails\ConfigProvider::class, |
||
20 | Common\ConfigProvider::class, |
||
21 | Config\ConfigProvider::class, |
||
22 | IpGeolocation\ConfigProvider::class, |
||
23 | EventDispatcher\ConfigProvider::class, |
||
24 | Core\ConfigProvider::class, |
||
25 | CLI\ConfigProvider::class, |
||
26 | Rest\ConfigProvider::class, |
||
27 | new ConfigAggregator\PhpFileProvider('config/autoload/{{,*.}global,{,*.}local}.php'), |
||
28 | env('APP_ENV') === 'test' |
||
29 | ? new ConfigAggregator\PhpFileProvider('config/test/*.global.php') |
||
30 | : new ConfigAggregator\LaminasConfigProvider('config/params/{generated_config.php,*.config.{php,json}}'), |
||
31 | ], 'data/cache/app_config.php', [ |
||
32 | Core\Config\SimplifiedConfigParser::class, |
||
0 ignored issues
–
show
|
|||
33 | Core\Config\BasePathPrefixer::class, |
||
34 | Core\Config\DeprecatedConfigParser::class, |
||
35 | ]))->getMergedConfig(); |
||
36 |
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