Skip to content

Commit de9113b

Browse files
committed
fix version check to include dev versions
for example, our Windows builds on the 7.1 branch use version 6.0.0-dev of the redis extension
1 parent ed84570 commit de9113b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Messenger/Bridge/Redis/Transport/Connection.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ public function __construct(array $options, \Redis|Relay|\RedisCluster|null $red
124124
}
125125

126126
try {
127-
if (\extension_loaded('redis') && version_compare(phpversion('redis'), '6.0.0', '>=')) {
127+
if (\extension_loaded('redis') && version_compare(phpversion('redis'), '6.0.0-dev', '>=')) {
128128
$params = [
129129
'host' => $host,
130130
'port' => $port,

0 commit comments

Comments
 (0)