diff --git a/phpstan.dist.neon b/phpstan.dist.neon index 22710f59..c069aab4 100644 --- a/phpstan.dist.neon +++ b/phpstan.dist.neon @@ -37,12 +37,6 @@ parameters: count: 1 path: tests/PHPStan/object-cache.php - # PHPStan shortcoming - - - message: "#^Parameter \\#1 \\$autoload_function of function spl_autoload_register expects callable\\(string\\)\\: void, array\\{\\$this\\(Rhubarb\\\\RedisCache\\\\Autoloader\\), 'load_class'\\} given\\.$#" - count: 1 - path: includes/class-autoloader.php - # Redis Cache implementation differs from core - message: "#^Class WP_Object_Cache constructor invoked with 1 parameter, 0 required\\.$#"