Skip to content

Commit 4c43f7f

Browse files
Merge branch '4.4' into 5.1
* 4.4: Enable "native_constant_invocation" CS rule Make AbstractPhpFileCacheWarmer public
2 parents c2a95da + ecc3523 commit 4c43f7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PropertyAccessor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -676,7 +676,7 @@ public static function createCache(string $namespace, int $defaultLifetime, stri
676676
}
677677

678678
$apcu = new ApcuAdapter($namespace, $defaultLifetime / 5, $version);
679-
if ('cli' === \PHP_SAPI && !filter_var(ini_get('apc.enable_cli'), FILTER_VALIDATE_BOOLEAN)) {
679+
if ('cli' === \PHP_SAPI && !filter_var(ini_get('apc.enable_cli'), \FILTER_VALIDATE_BOOLEAN)) {
680680
$apcu->setLogger(new NullLogger());
681681
} elseif (null !== $logger) {
682682
$apcu->setLogger($logger);

0 commit comments

Comments
 (0)