8000 Merge branch '6.4' into 7.1 · symfony/cache@3c420ed · GitHub
[go: up one dir, main page]

Skip to content

Commit 3c420ed

Browse files
committed
Merge branch '6.4' into 7.1
* 6.4: Mitigate PHPUnit deprecations [TwigBundle] Add support for resetting globals between HTTP requests Mitigate PHPUnit deprecations [Cache] Fix compatibility with Redis 6.1.0 pre-releases [Validator] Add Catalan and Spanish translation for `Week` constraint Don't use is_resource() on non-streams [Ldap] Fix extension deprecation
2 parents b61e464 + b4452a1 commit 3c420ed

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Traits/Redis6ProxyTrait.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
namespace Symfony\Component\Cache\Traits;
1313

14-
if (version_compare(phpversion('redis'), '6.1.0', '>=')) {
14+
if (version_compare(phpversion('redis'), '6.1.0-dev', '>=')) {
1515
/**
1616
* @internal
1717
*/
@@ -27,7 +27,7 @@ public function hRandField($key, $options = null): \Redis|array|string|false
2727
return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->hRandField(...\func_get_args());
2828
}
2929

30-
public function hSet($key, $fields_and_vals): \Redis|false|int
30+
public function hSet($key, ...$fields_and_vals): \Redis|false|int
3131
{
3232
return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->hSet(...\func_get_args());
3333
}

Traits/RedisCluster6ProxyTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
namespace Symfony\Component\Cache\Traits;
1313

14-
if (version_compare(phpversion('redis'), '6.1.0', '>')) {
14+
if (version_compare(phpversion('redis'), '6.1.0-dev', '>')) {
1515
/**
1616
* @internal
1717
*/

0 commit comments

Comments
 (0)
0