Skip to content
Open
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
10 changes: 10 additions & 0 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,13 @@ parameters:
- identifier: missingType.iterableValue
- 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.
-
identifier: WPCompat.parameterNotAvailable.applyfilters.args
path: src/WP_CLI/Core/CoreUpgrader.php