From e9972783d2074afedb0572e5862b771e30e08e1d Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Sat, 1 Dec 2018 21:53:46 +0100 Subject: [PATCH] Removed non-needed services from expressive-helpers --- config/autoload/dependencies.global.php | 5 ----- config/config.php | 1 - 2 files changed, 6 deletions(-) diff --git a/config/autoload/dependencies.global.php b/config/autoload/dependencies.global.php index cda3aeea..2dc0de9b 100644 --- a/config/autoload/dependencies.global.php +++ b/config/autoload/dependencies.global.php @@ -4,18 +4,13 @@ declare(strict_types=1); use Shlinkio\Shlink\Common\Factory\EmptyResponseImplicitOptionsMiddlewareFactory; use Zend\Expressive; use Zend\Expressive\Container; -use Zend\Expressive\Helper; use Zend\Expressive\Router\Middleware\ImplicitOptionsMiddleware; -use Zend\ServiceManager\Factory\InvokableFactory; return [ 'dependencies' => [ 'factories' => [ ImplicitOptionsMiddleware::class => EmptyResponseImplicitOptionsMiddlewareFactory::class, - - Helper\UrlHelper::class => Helper\UrlHelperFactory::class, - Helper\ServerUrlHelper::class => InvokableFactory::class, ], 'delegators' => [ diff --git a/config/config.php b/config/config.php index e52065d1..ce0950c3 100644 --- a/config/config.php +++ b/config/config.php @@ -12,7 +12,6 @@ return (new ConfigAggregator\ConfigAggregator([ Expressive\Router\ConfigProvider::class, Expressive\Router\FastRouteRouter\ConfigProvider::class, Expressive\Plates\ConfigProvider::class, - Expressive\Helper\ConfigProvider::class, Expressive\Swoole\ConfigProvider::class, ExpressiveErrorHandler\ConfigProvider::class, Common\ConfigProvider::class,