Commit 76df329
committed
bug symfony#58169 [Cache] Fix compatibility with Redis 6.1.0 pre-releases (cedric-anne)
This PR was squashed before being merged into the 6.4 branch.
Discussion
----------
[Cache] Fix compatibility with Redis 6.1.0 pre-releases
| Q | A
| ------------- | ---
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Issues | Fix symfony#57884
| License | MIT
The solution provided in symfony#57885 will fix the compatibility with the PHPRedis 6.1.0 release, but the issue persists on the pre-releases (for instance the [6.1.0RC1](https://pecl.php.net/package/redis/6.1.0RC1) version).
I propose to use the new signatures for any 6.1.0 version, including its pre-releases.
```php
version_compare('6.1.0RC1', '6.1.0', '>='); // false
version_compare('6.1.0RC1', '6.1.0-dev', '>='); // true
```
Commits
-------
9569a5f [Cache] Fix compatibility with Redis 6.1.0 pre-releasesFile tree
2 files changed
+3
-3
lines changed- src/Symfony/Component/Cache/Traits
2 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
0 commit comments