Skip to content

Commit

Permalink
resolve phpstan warning
Browse files Browse the repository at this point in the history
  • Loading branch information
tillkruss committed Feb 29, 2024
1 parent 0f0002f commit bd2d658
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions phpstan.dist.neon
Original file line number Diff line number Diff line change
Expand Up @@ -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\\.$#"
Expand Down

0 comments on commit bd2d658

Please sign in to comment.