Skip to content
This repository was archived by the owner on Nov 27, 2020. It is now read-only.

Commit 1cf31f8

Browse files
committed
updated VENDORS for 2.7.23
1 parent 49f86b5 commit 1cf31f8

File tree

2 files changed

+66
-55
lines changed

2 files changed

+66
-55
lines changed

app/SymfonyRequirements.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -763,7 +763,11 @@ protected function getRealpathCacheSize()
763763
{
764764
$size = ini_get('realpath_cache_size');
765765
$size = trim($size);
766-
$unit = strtolower(substr($size, -1, 1));
766+
$unit = '';
767+
if (!ctype_digit($size)) {
768+
$unit = strtolower(substr($size, -1, 1));
769+
$size = (int) substr($size, 0, -1);
770+
}
767771
switch ($unit) {
768772
case 'g':
769773
return $size * 1024 * 1024 * 1024;

composer.lock

Lines changed: 61 additions & 54 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)