We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 845d29e commit 279fa48Copy full SHA for 279fa48
tests/mutex/PHPRedisMutexTest.php
@@ -91,11 +91,17 @@ public function testSyncronizedWorks($serialization)
91
});
92
}
93
94
- public function dpSerializationModes() {
95
- return [
+ public function dpSerializationModes()
+ {
96
+ $serializers = [
97
[Redis::SERIALIZER_NONE],
98
[Redis::SERIALIZER_PHP],
- [Redis::SERIALIZER_IGBINARY],
99
];
100
+
101
+ if (defined("Redis::SERIALIZER_IGBINARY")) {
102
+ $serializers[] = [constant("Redis::SERIALIZER_IGBINARY")];
103
+ }
104
105
+ return $serializers;
106
107
0 commit comments