Skip to content

Commit e851c24

Browse files
Merge branch '2.8' into 3.2
* 2.8: Fix optional cache warmers are always instantiated whereas they should be lazy-loaded add some \ on PHP_VERSION_ID for 2.8 [PropertyInfo][DoctrineBridge] The bigint Doctrine's type must be converted to string
1 parent 84a4adb commit e851c24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Adapter/PhpArrayAdapter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ function ($key, $value, $isHit) {
6565
public static function create($file, CacheItemPoolInterface $fallbackPool)
6666
{
6767
// Shared memory is available in PHP 7.0+ with OPCache enabled and in HHVM
68-
if ((PHP_VERSION_ID >= 70000 && ini_get('opcache.enable')) || defined('HHVM_VERSION')) {
68+
if ((\PHP_VERSION_ID >= 70000 && ini_get('opcache.enable')) || defined('HHVM_VERSION')) {
6969
if (!$fallbackPool instanceof AdapterInterface) {
7070
$fallbackPool = new ProxyAdapter($fallbackPool);
7171
}

0 commit comments

Comments
 (0)