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