Skip to content

feat: Add Redis Sentinel support for Cache and Session handlers #15222

feat: Add Redis Sentinel support for Cache and Session handlers

feat: Add Redis Sentinel support for Cache and Session handlers #15222

Triggered via pull request July 10, 2026 22:46
Status Failure
Total duration 39s
Artifacts

test-phpstan.yml

on: pull_request
PHP Static Analysis
35s
PHP Static Analysis
Fit to window
Zoom out
Zoom in

Annotations

10 errors
PHP Static Analysis: system/Cache/Handlers/RedisHandler.php#L185
Strict comparison using !== between mixed and null will always evaluate to true.
PHP Static Analysis: system/Cache/Handlers/RedisHandler.php#L155
Call to method Redis::rawcommand() with incorrect case: rawCommand
PHP Static Analysis: system/Cache/Handlers/RedisHandler.php#L151
Strict comparison using !== between mixed and null will always evaluate to true.
PHP Static Analysis: system/Cache/Handlers/RedisHandler.php#L132
Method CodeIgniter\Cache\Handlers\RedisHandler::initializeSentinel() has parameter $config with no value type specified in iterable type array.
PHP Static Analysis: system/Cache/Handlers/PredisHandler.php#L171
Cannot unset offset 'persistent' on array{timeout: int, password?: string|null, database?: int, prefix?: string, scheme: 'tcp', host: mixed, port: int|null}.
PHP Static Analysis: system/Cache/Handlers/PredisHandler.php#L171
Cannot unset offset 'async' on array{timeout: int, password?: string|null, database?: int, prefix?: string, scheme: 'tcp', host: mixed, port: int|null}.
PHP Static Analysis: system/Cache/Handlers/PredisHandler.php#L146
Call to an undefined method Predis\Client::rawCommand().
PHP Static Analysis: system/Cache/Handlers/PredisHandler.php#L142
Strict comparison using !== between mixed and null will always evaluate to true.
PHP Static Analysis: system/Cache/Handlers/PredisHandler.php#L79
Method CodeIgniter\Cache\Handlers\PredisHandler::createPredisClient() has parameter $options with no value type specified in iterable type array.
PHP Static Analysis: system/Cache/Handlers/PredisHandler.php#L79
Method CodeIgniter\Cache\Handlers\PredisHandler::createPredisClient() has parameter $connection with no value type specified in iterable type array.