Skip to content

Commit

Permalink
fix(phpstan): warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Mte90 committed Jul 19, 2024
1 parent 1363c2a commit 33c3891
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugin-name/phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ 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.$\'
- '/^is_wp_error\(WP_REST_Response\) will always evaluate to false.$/'
# Not used in the boilerplate.
# # Uses func_get_args()
# - '#^Function apply_filters invoked with [34567] parameters, 2 required\.$#'
Expand Down

0 comments on commit 33c3891

Please sign in to comment.