Skip to content

Commit

Permalink
PHPCS fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Falk Hermann <[email protected]>
Signed-off-by: Falk Hermann <[email protected]>
  • Loading branch information
FalkHe committed Mar 9, 2023
1 parent 890a8b8 commit 141e188
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/ContainerResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 141e188

Please sign in to comment.