Update szepeviktor/phpstan-wordpress requirement from ^1.1 to ^2.0 #21
Annotations
9 errors
Run PHP Tests:
src/features/class-full-page-cache-404.php#L75
Method Alley\WP\WP_404_Caching\Features\Full_Page_Cache_404::get_cache_time() should return int but returns mixed.
|
Run PHP Tests:
src/features/class-full-page-cache-404.php#L84
Method Alley\WP\WP_404_Caching\Features\Full_Page_Cache_404::get_stale_cache_time() should return int but returns mixed.
|
Run PHP Tests:
src/features/class-full-page-cache-404.php#L93
Method Alley\WP\WP_404_Caching\Features\Full_Page_Cache_404::caching_enabled() should return bool but returns mixed.
|
Run PHP Tests:
src/features/class-full-page-cache-404.php#L230
Cannot call method is_404() on mixed.
|
Run PHP Tests:
src/features/class-full-page-cache-404.php#L252
Cannot call method is_404() on mixed.
|
Run PHP Tests:
src/features/class-full-page-cache-404.php#L311
Parameter #1 $str of function sanitize_text_field expects string, mixed given.
|
Run PHP Tests:
src/features/class-full-page-cache-404.php#L314
Parameter #1 $search of function str_replace expects array<string>|string, array<int, string|false> given.
|
Run PHP Tests:
src/features/class-full-page-cache-404.php#L320
Parameter #2 $replace of function str_replace expects array<string>|string, array<int, string|false> given.
|
Run PHP Tests
Process completed with exit code 1.
|
Loading