Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,15 @@ parameters:
- identifier: missingType.property
- identifier: missingType.parameter
- identifier: missingType.return

# johnbillion/wp-compat checks every WordPress symbol against the WordPress 4.9
# baseline that wp-cli-tests configures, and reports anything newer.

# WordPress 6.0 only formalized the already documented `...$args` parameter of
# `apply_filters()` by adding it to the function signature. Additional arguments were
# collected through `func_get_args()` before that, so passing `$url` and
# `$oembed_args` to `pre_oembed_result` has always worked. The identifier already
# names one specific parameter of one specific function.
-
identifier: WPCompat.parameterNotAvailable.applyfilters.args
path: src/Fetch_Command.php