Skip to content

Commit ddc8592

Browse files
committed
Merge branch '2.7' into 2.8
* 2.7: Fixes #22264 - add support for Chrome headless, see also Seldaek/monolog#966 Dont call sprintf() when no placeholders are used
2 parents 0242bca + 578d514 commit ddc8592

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Command/ContainerDebugCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,11 +169,11 @@ protected function getContainerBuilder()
169169
}
170170

171171
if (!$this->getApplication()->getKernel()->isDebug()) {
172-
throw new \LogicException(sprintf('Debug information about the container is only available in debug mode.'));
172+
throw new \LogicException('Debug information about the container is only available in debug mode.');
173173
}
174174

175175
if (!is_file($cachedFile = $this->getContainer()->getParameter('debug.container.dump'))) {
176-
throw new \LogicException(sprintf('Debug information about the container could not be found. Please clear the cache and try again.'));
176+
throw new \LogicException('Debug information about the container could not be found. Please clear the cache and try again.');
177177
}
178178

179179
$container = new ContainerBuilder();

0 commit comments

Comments
 (0)