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));
49
+
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()));
162
+
thrownew \LogicException(\sprintf('The extension with alias "%s" does not have its getConfiguration() method setup.', $extension->getAlias()));
163
163
}
164
164
165
165
if (!$configurationinstanceof ConfigurationInterface) {
166
-
thrownew \LogicException(sprintf('Configuration class "%s" should implement ConfigurationInterface in order to be dumpable.', get_debug_type($configuration)));
166
+
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-4
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
}
@@ -189,7 +189,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
189
189
$io->comment('Finished');
190
190
}
191
191
192
-
$io->success(sprintf('Cache for the "%s" environment (debug=%s) was successfully cleared.', $kernel->getEnvironment(), var_export($kernel->isDebug(), true)));
192
+
$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-2
Original file line number
Diff line number
Diff line change
@@ -58,7 +58,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
58
58
$io = newSymfonyStyle($input, $output);
59
59
60
60
$kernel = $this->getApplication()->getKernel();
61
-
$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)));
61
+
$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)));
62
62
63
63
if (!$input->getOption('no-optional-warmers')) {
64
64
$this->cacheWarmer->enableOptionalWarmers();
@@ -76,7 +76,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
76
76
Preloader::append($preloadFile, $preload);
77
77
}
78
78
79
-
$io->success(sprintf('Cache for the "%s" environment (debug=%s) was successfully warmed.', $kernel->getEnvironment(), var_export($kernel->isDebug(), true)));
79
+
$io->success(\sprintf('Cache for the "%s" environment (debug=%s) was successfully warmed.', $kernel->getEnvironment(), var_export($kernel->isDebug(), true)));
0 commit comments