RedisVersionCheck
final class RedisVersionCheck implements EnvironmentCheckInterface
Checks that Redis/Valkey version meets requirements.
For any mode: Requires Redis 8.0+ or Valkey 9.0+ for hash-field expiration commands including HSETEX and HEXPIRE. For all mode: Any version is acceptable (just verifies connection).
Constants
| private REDIS_REQUIRED_VERSION |
|
| private VALKEY_REQUIRED_VERSION |
|
Methods
string
name()
Get the human-readable name of this check.
run()
Run the check and return results.
string|null
getFixInstructions()
Get details about how to fix a failed check.
Details
at line 30
__construct(RedisConnection $redis, string $taggingMode)
No description
at line 36
string
name()
Get the human-readable name of this check.
at line 41
CheckResult
run()
Run the check and return results.
at line 85
string|null
getFixInstructions()
Get details about how to fix a failed check.
Returns null if no specific fix instructions are needed.