summaryrefslogtreecommitdiff
path: root/vendor/symfony/http-kernel/Kernel.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/symfony/http-kernel/Kernel.php')
-rw-r--r--vendor/symfony/http-kernel/Kernel.php11
1 files changed, 7 insertions, 4 deletions
diff --git a/vendor/symfony/http-kernel/Kernel.php b/vendor/symfony/http-kernel/Kernel.php
index d34beba419..d09be5a0ba 100644
--- a/vendor/symfony/http-kernel/Kernel.php
+++ b/vendor/symfony/http-kernel/Kernel.php
@@ -73,11 +73,11 @@ abstract class Kernel implements KernelInterface, RebootableInterface, Terminabl
private $requestStackSize = 0;
private $resetServices = false;
- const VERSION = '4.2.1';
- const VERSION_ID = 40201;
+ const VERSION = '4.2.2';
+ const VERSION_ID = 40202;
const MAJOR_VERSION = 4;
const MINOR_VERSION = 2;
- const RELEASE_VERSION = 1;
+ const RELEASE_VERSION = 2;
const EXTRA_VERSION = '';
const END_OF_MAINTENANCE = '07/2019';
@@ -743,7 +743,10 @@ abstract class Kernel implements KernelInterface, RebootableInterface, Terminabl
$fs->dumpFile($dir.$file, $code);
@chmod($dir.$file, 0666 & ~umask());
}
- @unlink(\dirname($dir.$file).'.legacy');
+ $legacyFile = \dirname($dir.$file).'.legacy';
+ if (file_exists($legacyFile)) {
+ @unlink($legacyFile);
+ }
$cache->write($rootCode, $container->getResources());
}