Skip to content

Commit ecc3523

Browse files
Merge branch '3.4' into 4.4
* 3.4: Enable "native_constant_invocation" CS rule Make AbstractPhpFileCacheWarmer public
2 parents 7103961 + 7af3179 commit ecc3523

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PropertyAccessor.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -889,7 +889,7 @@ private function getPropertyPath($propertyPath): PropertyPath
889889
public static function createCache($namespace, $defaultLifetime, $version, LoggerInterface $logger = null)
890890
{
891891
if (null === $defaultLifetime) {
892-
@trigger_error(sprintf('Passing null as "$defaultLifetime" 2nd argument of the "%s()" method is deprecated since Symfony 4.4, pass 0 instead.', __METHOD__), E_USER_DEPRECATED);
892+
@trigger_error(sprintf('Passing null as "$defaultLifetime" 2nd argument of the "%s()" method is deprecated since Symfony 4.4, pass 0 instead.', __METHOD__), \E_USER_DEPRECATED);
893893
}
894894

895895
if (!class_exists('Symfony\Component\Cache\Adapter\ApcuAdapter')) {
@@ -901,7 +901,7 @@ public static function createCache($namespace, $defaultLifetime, $version, Logge
901901
}
902902

903903
$apcu = new ApcuAdapter($namespace, $defaultLifetime / 5, $version);
904-
if ('cli' === \PHP_SAPI && !filter_var(ini_get('apc.enable_cli'), FILTER_VALIDATE_BOOLEAN)) {
904+
if ('cli' === \PHP_SAPI && !filter_var(ini_get('apc.enable_cli'), \FILTER_VALIDATE_BOOLEAN)) {
905905
$apcu->setLogger(new NullLogger());
906906
} elseif (null !== $logger) {
907907
$apcu->setLogger($logger);

0 commit comments

Comments
 (0)