You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thrownew \LogicException(sprintf('The router "%s" cannot be warmed up because it does not implement "%s".', get_debug_type($router), WarmableInterface::class));
45
+
thrownew \LogicException(\sprintf('The router "%s" cannot be warmed up because it does not implement "%s".', get_debug_type($router), WarmableInterface::class));
thrownew \LogicException(sprintf('The extension with alias "%s" does not have its getConfiguration() method setup.', $extension->getAlias()));
168
+
thrownew \LogicException(\sprintf('The extension with alias "%s" does not have its getConfiguration() method setup.', $extension->getAlias()));
169
169
}
170
170
171
171
if (!$configurationinstanceof ConfigurationInterface) {
172
-
thrownew \LogicException(sprintf('Configuration class "%s" should implement ConfigurationInterface in order to be dumpable.', get_debug_type($configuration)));
172
+
thrownew \LogicException(\sprintf('Configuration class "%s" should implement ConfigurationInterface in order to be dumpable.', get_debug_type($configuration)));
Copy file name to clipboardExpand all lines: Command/CacheClearCommand.php
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -80,7 +80,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
80
80
$fs->remove($oldCacheDir);
81
81
82
82
if (!is_writable($realCacheDir)) {
83
-
thrownewRuntimeException(sprintf('Unable to write in the "%s" directory.', $realCacheDir));
83
+
thrownewRuntimeException(\sprintf('Unable to write in the "%s" directory.', $realCacheDir));
84
84
}
85
85
86
86
$useBuildDir = $realBuildDir !== $realCacheDir;
@@ -89,7 +89,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
89
89
$fs->remove($oldBuildDir);
90
90
91
91
if (!is_writable($realBuildDir)) {
92
-
thrownewRuntimeException(sprintf('Unable to write in the "%s" directory.', $realBuildDir));
92
+
thrownewRuntimeException(\sprintf('Unable to write in the "%s" directory.', $realBuildDir));
93
93
}
94
94
95
95
if ($this->isNfs($realCacheDir)) {
@@ -100,7 +100,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
100
100
$fs->mkdir($realCacheDir);
101
101
}
102
102
103
-
$io->comment(sprintf('Clearing the cache for the <info>%s</info> environment with debug <info>%s</info>', $kernel->getEnvironment(), var_export($kernel->isDebug(), true)));
103
+
$io->comment(\sprintf('Clearing the cache for the <info>%s</info> environment with debug <info>%s</info>', $kernel->getEnvironment(), var_export($kernel->isDebug(), true)));
104
104
if ($useBuildDir) {
105
105
$this->cacheClearer->clear($realBuildDir);
106
106
}
@@ -199,7 +199,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
199
199
$io->comment('Finished');
200
200
}
201
201
202
-
$io->success(sprintf('Cache for the "%s" environment (debug=%s) was successfully cleared.', $kernel->getEnvironment(), var_export($kernel->isDebug(), true)));
202
+
$io->success(\sprintf('Cache for the "%s" environment (debug=%s) was successfully cleared.', $kernel->getEnvironment(), var_export($kernel->isDebug(), true)));
Copy file name to clipboardExpand all lines: Command/CacheWarmupCommand.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -61,7 +61,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
61
61
$io = newSymfonyStyle($input, $output);
62
62
63
63
$kernel = $this->getApplication()->getKernel();
64
-
$io->comment(sprintf('Warming up the cache for the <info>%s</info> environment with debug <info>%s</info>', $kernel->getEnvironment(), var_export($kernel->isDebug(), true)));
64
+
$io->comment(\sprintf('Warming up the cache for the <info>%s</info> environment with debug <info>%s</info>', $kernel->getEnvironment(), var_export($kernel->isDebug(), true)));
65
65
66
66
if (!$input->getOption('no-optional-warmers')) {
67
67
$this->cacheWarmer->enableOptionalWarmers();
@@ -79,7 +79,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
79
79
Preloader::append($preloadFile, $preload);
80
80
}
81
81
82
-
$io->success(sprintf('Cache for the "%s" environment (debug=%s) was successfully warmed.', $kernel->getEnvironment(), var_export($kernel->isDebug(), true)));
82
+
$io->success(\sprintf('Cache for the "%s" environment (debug=%s) was successfully warmed.', $kernel->getEnvironment(), var_export($kernel->isDebug(), true)));
0 commit comments