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 \RuntimeException(sprintf('Unable to write in the "%s" directory', $realCacheDir));
67
-
}
68
-
69
-
if ($filesystem->exists($oldCacheDir)) {
70
-
$filesystem->remove($oldCacheDir);
59
+
if (!is_writable($cacheDir)) {
60
+
thrownew \RuntimeException(sprintf('Unable to write in the "%s" directory', $cacheDir));
71
61
}
72
62
73
63
$kernel = $this->getContainer()->get('kernel');
74
64
$io->comment(sprintf('Clearing the cache for the <info>%s</info> environment with debug <info>%s</info>', $kernel->getEnvironment(), var_export($kernel->isDebug(), true)));
@trigger_error('Calling cache:clear without the --no-warmup option is deprecated since version 3.3. Cache warmup should be done with the cache:warmup command instead.', E_USER_DEPRECATED);
$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: src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php
-6Lines changed: 0 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -65,12 +65,6 @@ public function getConfigTreeBuilder()
65
65
->info("Set true to enable support for the '_method' request parameter to determine the intended HTTP method on POST requests. Note: When using the HttpCache, you need to call the method in your front controller instead")
66
66
->defaultTrue()
67
67
->end()
68
-
->arrayNode('trusted_proxies') // @deprecated in version 3.3, to be removed in 4.0
69
-
->beforeNormalization()
70
-
->always()
71
-
->thenInvalid('The "framework.trusted_proxies" configuration key has been removed in Symfony 3.3. Use the Request::setTrustedProxies() method in your front controller instead.')
if (isset($config['cache']) && $config['cache']) {
1246
-
@trigger_error('The "framework.serializer.cache" option is deprecated since Symfony 3.1 and will be removed in 4.0. Configure the "cache.serializer" service under "framework.cache.pools" instead.', E_USER_DEPRECATED);
if ($this->container->hasParameter('kernel.trusted_proxies')) {
64
-
@trigger_error('The "kernel.trusted_proxies" parameter is deprecated since version 3.3 and will be removed in 4.0. Use the Request::setTrustedProxies() method in your front controller instead.', E_USER_DEPRECATED);
65
-
66
-
if ($trustedProxies = $this->container->getParameter('kernel.trusted_proxies')) {
0 commit comments