Skip to content

feat(cache): add deleteMatching method definition in CacheInterface #13261

feat(cache): add deleteMatching method definition in CacheInterface

feat(cache): add deleteMatching method definition in CacheInterface #13261

Triggered via pull request November 26, 2025 08:10
Status Failure
Total duration 57s
Artifacts

test-phpstan.yml

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

Annotations

4 errors
PHP Static Analysis
Process completed with exit code 1.
PHP Static Analysis
Child process error (exit code 1): [ErrorException] Declaration of CodeIgniter\Cache\Handlers\FileHandler::deleteMatching(string $pattern) must be compatible with CodeIgniter\Cache\CacheInterface::deleteMatching(string $pattern): int at SYSTEMPATH/Cache/Handlers/FileHandler.php:137 Backtrace: 1 [internal function] CodeIgniter\Debug\Exceptions()->shutdownHandler() PHP Fatal error: Declaration of CodeIgniter\Cache\Handlers\FileHandler::deleteMatching(string $pattern) must be compatible with CodeIgniter\Cache\CacheInterface::deleteMatching(string $pattern): int in /home/runner/work/CodeIgniter4/CodeIgniter4/system/Cache/Handlers/FileHandler.php on line 137 while running parallel worker
PHP Static Analysis
Child process error (exit code 1): [ErrorException] Declaration of CodeIgniter\Test\Mock\MockCache::deleteMatching(string $pattern) must be compatible with CodeIgniter\Cache\CacheInterface::deleteMatching(string $pattern): int at SYSTEMPATH/Test/Mock/MockCache.php:135 Backtrace: 1 [internal function] CodeIgniter\Debug\Exceptions()->shutdownHandler() PHP Fatal error: Declaration of CodeIgniter\Test\Mock\MockCache::deleteMatching(string $pattern) must be compatible with CodeIgniter\Cache\CacheInterface::deleteMatching(string $pattern): int in /home/runner/work/CodeIgniter4/CodeIgniter4/system/Test/Mock/MockCache.php on line 135 while running parallel worker
PHP Static Analysis
Child process error (exit code 1): [ErrorException] Declaration of CodeIgniter\Cache\Handlers\DummyHandler::deleteMatching(string $pattern) must be compatible with CodeIgniter\Cache\CacheInterface::deleteMatching(string $pattern): int at SYSTEMPATH/Cache/Handlers/DummyHandler.php:69 Backtrace: 1 [internal function] CodeIgniter\Debug\Exceptions()->shutdownHandler() PHP Fatal error: Declaration of CodeIgniter\Cache\Handlers\DummyHandler::deleteMatching(string $pattern) must be compatible with CodeIgniter\Cache\CacheInterface::deleteMatching(string $pattern): int in /home/runner/work/CodeIgniter4/CodeIgniter4/system/Cache/Handlers/DummyHandler.php on line 69 while running parallel worker