Skip to content

Commit 07fa209

Browse files
committed
Handle wp_sprintf()
1 parent c3de4e2 commit 07fa209

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

example/phpstan.neon.dist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ parameters:
2727
- '#^Function current_user_can invoked with 2 parameters, 1 required\.$#'
2828
- '#^Function add_query_arg invoked with [123] parameters?, 0 required\.$#'
2929
- '#^Function add_theme_support invoked with [2345] parameters, 1 required\.$#'
30+
- '#^Function wp_sprintf invoked with [23456] parameters, 1 required\.$#'
3031
# https://core.trac.wordpress.org/ticket/43304
3132
- '/^Parameter #2 \$deprecated of function load_plugin_textdomain expects string, false given\.$/'
3233
# WP-CLI accepts a class as callable

0 commit comments

Comments
 (0)