Update to Drupal 8.2.6. For more information, see https://www.drupal.org/project/drupal/releases/8.2.6

This commit is contained in:
Pantheon Automation 2017-02-02 16:28:38 -08:00 committed by Greg Anderson
parent db56c09587
commit f1e72395cb
588 changed files with 26857 additions and 2777 deletions
vendor/symfony/polyfill-php54

View file

@ -16,7 +16,14 @@ if (PHP_VERSION_ID < 50400) {
function trait_exists($class, $autoload = true) { return $autoload && class_exists($class, $autoload) && false; }
}
if (!function_exists('class_uses')) {
function class_uses($class, $autoload = true) { return $autoload && class_exists($class, $autoload) && false; }
function class_uses($class, $autoload = true)
{
if (is_object($class) || class_exists($class, $autoload) || interface_exists($class, false)) {
return array();
}
return false;
}
}
if (!function_exists('hex2bin')) {
function hex2bin($data) { return p\Php54::hex2bin($data); }