diff --git a/psalm.xml b/psalm.xml
index d34a358..dfc0477 100644
--- a/psalm.xml
+++ b/psalm.xml
@@ -50,15 +50,6 @@
-
-
-
-
-
-
diff --git a/src/RedisClusterResourceManager.php b/src/RedisClusterResourceManager.php
index 6691cae..382a498 100644
--- a/src/RedisClusterResourceManager.php
+++ b/src/RedisClusterResourceManager.php
@@ -91,6 +91,12 @@ private function createRedisResource(RedisClusterOptions $options): RedisCluster
$password = null;
}
+ /**
+ * Psalm currently (<= 5.23.1) uses an outdated (phpredis < 5.3.2) constructor signature for the RedisCluster
+ * class in the phpredis extension.
+ *
+ * @psalm-suppress TooManyArguments https://github.com/vimeo/psalm/pull/10862
+ */
return new RedisClusterFromExtension(
null,
$options->getSeeds(),
@@ -119,6 +125,12 @@ private function createRedisResourceFromName(
$readTimeout = $options->getReadTimeout($name, $fallbackReadTimeout);
$password = $options->getPasswordByName($name, $fallbackPassword);
+ /**
+ * Psalm currently (<= 5.23.1) uses an outdated (phpredis < 5.3.2) constructor signature for the RedisCluster
+ * class in the phpredis extension.
+ *
+ * @psalm-suppress TooManyArguments https://github.com/vimeo/psalm/pull/10862
+ */
return new RedisClusterFromExtension(
null,
$seeds,