Skip to content

Commit 2459118

Browse files
committed
Merge branch '2.3'
* 2.3: Added sleep() workaround for windows php rename bug [HttpKernel] removed unused variable [Form] Fixed: Added "validation_groups" option to submit button [Process] Fix for #8754 (Timed-out processes are successful) Conflicts: src/Symfony/Component/Form/Tests/Extension/Validator/Type/FormTypeValidatorExtensionTest.php
2 parents 9a4dd8d + 6aaf2ee commit 2459118

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Command/CacheClearCommand.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,9 @@ protected function execute(InputInterface $input, OutputInterface $output)
8383
$this->warmup($warmupDir, $realCacheDir, !$input->getOption('no-optional-warmers'));
8484

8585
$filesystem->rename($realCacheDir, $oldCacheDir);
86+
if (defined('PHP_WINDOWS_VERSION_BUILD')) {
87+
sleep(1); // workaround for windows php rename bug
88+
}
8689
$filesystem->rename($warmupDir, $realCacheDir);
8790
}
8891

0 commit comments

Comments
 (0)