From 39095a309818cb29569ae736102922dd6dfe6bda Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Wed, 17 May 2023 08:57:36 +0200 Subject: [PATCH] Fix coding styles --- config/autoload/dependencies.global.php | 3 ++- module/Rest/test-api/Action/CreateShortUrlTest.php | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/autoload/dependencies.global.php b/config/autoload/dependencies.global.php index 657caffb..a0014ef6 100644 --- a/config/autoload/dependencies.global.php +++ b/config/autoload/dependencies.global.php @@ -4,6 +4,7 @@ declare(strict_types=1); use GuzzleHttp\Client; use Laminas\ServiceManager\AbstractFactory\ConfigAbstractFactory; +use Mezzio\Application; use Mezzio\Container; use Psr\Http\Client\ClientInterface; use Psr\Http\Message\ServerRequestFactoryInterface; @@ -20,7 +21,7 @@ return [ ], 'delegators' => [ - Mezzio\Application::class => [ + Application::class => [ Container\ApplicationConfigInjectionDelegator::class, ], ], diff --git a/module/Rest/test-api/Action/CreateShortUrlTest.php b/module/Rest/test-api/Action/CreateShortUrlTest.php index dfdd170e..5b22e79a 100644 --- a/module/Rest/test-api/Action/CreateShortUrlTest.php +++ b/module/Rest/test-api/Action/CreateShortUrlTest.php @@ -12,7 +12,6 @@ use Shlinkio\Shlink\TestUtils\ApiTest\ApiTestCase; use function Functional\map; use function range; -use function Shlinkio\Shlink\Config\env; use function sprintf; class CreateShortUrlTest extends ApiTestCase