Skip to content

Commit

Permalink
Issue #198: Fixed ConfigProvider referencing issue reported by phpcs.
Browse files Browse the repository at this point in the history
Signed-off-by: alexmerlin <[email protected]>
  • Loading branch information
alexmerlin committed Aug 21, 2023
1 parent 7f86980 commit b0749fd
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
'config_cache_path' => 'data/cache/config-cache.php',
];

// @codingStandardsIgnoreStart
$aggregator = new Laminas\ConfigAggregator\ConfigAggregator([
Mezzio\Authorization\ConfigProvider::class,
Mezzio\Authorization\Acl\ConfigProvider::class,
Mezzio\Authorization\Rbac\ConfigProvider::class,
Mezzio\Authentication\ConfigProvider::class,
Expand All @@ -19,11 +19,15 @@
Mezzio\Hal\ConfigProvider::class,
Mezzio\ProblemDetails\ConfigProvider::class,
Mezzio\Router\FastRouteRouter\ConfigProvider::class,
Mezzio\Tooling\ConfigProvider::class,
Mezzio\Twig\ConfigProvider::class,
Laminas\Diactoros\ConfigProvider::class,
Laminas\InputFilter\ConfigProvider::class,
Laminas\Filter\ConfigProvider::class,
Laminas\HttpHandlerRunner\ConfigProvider::class,
Laminas\Hydrator\ConfigProvider::class,
Laminas\Log\ConfigProvider::class,
Laminas\Mail\ConfigProvider::class,
Laminas\Paginator\ConfigProvider::class,
Laminas\Validator\ConfigProvider::class,
// Include cache configuration
Expand Down Expand Up @@ -59,6 +63,5 @@
realpath(__DIR__) . '/development.config.php'
),
], $cacheConfig['config_cache_path']);
// @codingStandardsIgnoreEnd

return $aggregator->getMergedConfig();

0 comments on commit b0749fd

Please sign in to comment.