diff --git a/src/Symfony/Bundle/FrameworkBundle/Command/CacheClearCommand.php b/src/Symfony/Bundle/FrameworkBundle/Command/CacheClearCommand.php index f84b4665ee..d384659259 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Command/CacheClearCommand.php +++ b/src/Symfony/Bundle/FrameworkBundle/Command/CacheClearCommand.php @@ -83,6 +83,9 @@ EOF $this->warmup($warmupDir, $realCacheDir, !$input->getOption('no-optional-warmers')); $filesystem->rename($realCacheDir, $oldCacheDir); + if (defined('PHP_WINDOWS_VERSION_BUILD')) { + sleep(1); // workaround for windows php rename bug + } $filesystem->rename($warmupDir, $realCacheDir); } diff --git a/src/Symfony/Component/HttpKernel/Kernel.php b/src/Symfony/Component/HttpKernel/Kernel.php index b717921cad..4e0c89a3e5 100644 --- a/src/Symfony/Component/HttpKernel/Kernel.php +++ b/src/Symfony/Component/HttpKernel/Kernel.php @@ -58,8 +58,8 @@ abstract class Kernel implements KernelInterface, TerminableInterface protected $booted; protected $name; protected $startTime; - protected $classes; protected $loadClassCache; + protected $errorReportingLevel; const VERSION = '2.3.4-DEV'; const VERSION_ID = '20304'; @@ -83,7 +83,6 @@ abstract class Kernel implements KernelInterface, TerminableInterface $this->booted = false; $this->rootDir = $this->getRootDir(); $this->name = $this->getName(); - $this->classes = array(); $this->bundles = array(); if ($this->debug) {