From af54391a6862d2729349b10776c760e01d5d727d Mon Sep 17 00:00:00 2001 From: Daniele Scasciafratte Date: Fri, 19 Jul 2024 16:04:47 +0200 Subject: [PATCH] fix(phpstan): warning --- plugin-name/phpstan.neon | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin-name/phpstan.neon b/plugin-name/phpstan.neon index d6675c9..8d280ee 100644 --- a/plugin-name/phpstan.neon +++ b/plugin-name/phpstan.neon @@ -40,7 +40,7 @@ parameters: # {{/if}} ignoreErrors: - '/^Parameter #1 \$var of function strval expects bool\|float\|int\|resource\|string\|null, mixed given.$/' - - '/^Call to function is_wp_error\(\) with WP_REST_Response will always evaluate to false.$\' + - '/^Call to function is_wp_error\(\) with WP_REST_Response will always evaluate to false.$/' - '/^is_wp_error\(WP_REST_Response\) will always evaluate to false.$/' # Not used in the boilerplate. # # Uses func_get_args()