Update deps

This commit is contained in:
Jeremy Benoist 2017-01-10 17:35:17 +01:00
parent a4180d0b8e
commit e4ccd3effe
No known key found for this signature in database
GPG Key ID: BCA73962457ACC3C

View File

@ -780,7 +780,11 @@ class SymfonyRequirements extends RequirementCollection
{
$size = ini_get('realpath_cache_size');
$size = trim($size);
$unit = '';
if (!ctype_digit($size)) {
$unit = strtolower(substr($size, -1, 1));
$size = (int) substr($size, 0, -1);
}
switch ($unit) {
case 'g':
return $size * 1024 * 1024 * 1024;