From f85d5b00cfb2ce2ea5b9342e488348860061b321 Mon Sep 17 00:00:00 2001 From: Falk Hermann Date: Thu, 9 Mar 2023 10:19:48 +0100 Subject: [PATCH] PHPCS fixes Signed-off-by: Falk Hermann --- src/ContainerResolver.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/ContainerResolver.php b/src/ContainerResolver.php index 6234fa4..8378a16 100644 --- a/src/ContainerResolver.php +++ b/src/ContainerResolver.php @@ -15,10 +15,13 @@ use Symfony\Component\Console\Input\InputInterface; use Webmozart\Assert\Assert; +use const E_USER_DEPRECATED; + use function class_exists; use function file_exists; use function sprintf; use function str_contains; +use function trigger_error; /** * @internal @@ -107,9 +110,9 @@ private function resolveMvcContainer(string $path): ContainerInterface $serviceManager = $mvcApplication->getServiceManager(); } else { /* @deprecated MVC Application is not bootstrapped */ - trigger_error('Running laminas-cli in MVC Environment without bootstrapping ' . - 'the MVC Application is deprecated. ' . - '@see https://github.com/laminas/laminas-cli/issues/106', E_USER_DEPRECATED); + trigger_error('Running laminas-cli in MVC Environment without bootstrapping ' + . 'the MVC Application is deprecated. ' + .'@see https://github.com/laminas/laminas-cli/issues/106', E_USER_DEPRECATED); $servicesConfig = $appConfig['service_manager'] ?? []; Assert::isMap($servicesConfig);