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);