Skip to content

feat: Add support for callables for TTL in Cache Handlers #14280

feat: Add support for callables for TTL in Cache Handlers

feat: Add support for callables for TTL in Cache Handlers #14280

Triggered via pull request May 6, 2026 04:57
Status Failure
Total duration 39s
Artifacts

test-phpstan.yml

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

Annotations

6 errors
PHP Static Analysis
Process completed with exit code 1.
PHP Static Analysis: tests/system/Cache/Handlers/RedisHandlerTest.php#L153
Parameter #2 $ttl of method CodeIgniter\Cache\Handlers\BaseHandler::remember() expects (callable(): int)|(callable(mixed): int)|int, Closure(mixed, mixed): 2 given.
PHP Static Analysis: tests/system/Cache/Handlers/PredisHandlerTest.php#L152
Parameter #2 $ttl of method CodeIgniter\Cache\Handlers\BaseHandler::remember() expects (callable(): int)|(callable(mixed): int)|int, Closure(mixed, mixed): 2 given.
PHP Static Analysis: tests/system/Cache/Handlers/MemcachedHandlerTest.php#L142
Parameter #2 $ttl of method CodeIgniter\Cache\Handlers\BaseHandler::remember() expects (callable(): int)|(callable(mixed): int)|int, Closure(mixed, mixed): 2 given.
PHP Static Analysis: tests/system/Cache/Handlers/FileHandlerTest.php#L187
Parameter #2 $ttl of method CodeIgniter\Cache\Handlers\BaseHandler::remember() expects (callable(): int)|(callable(mixed): int)|int, Closure(mixed, mixed): 2 given.
PHP Static Analysis: tests/system/Cache/Handlers/ApcuHandlerTest.php#L135
Parameter #2 $ttl of method CodeIgniter\Cache\Handlers\BaseHandler::remember() expects (callable(): int)|(callable(mixed): int)|int, Closure(mixed, mixed): 2 given.