-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathphpstan.neon.dist
More file actions
27 lines (25 loc) · 1.04 KB
/
Copy pathphpstan.neon.dist
File metadata and controls
27 lines (25 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
parameters:
level: 9
paths:
- src
- embed-command.php
scanDirectories:
- vendor/wp-cli/wp-cli/php
scanFiles:
- vendor/php-stubs/wordpress-stubs/wordpress-stubs.php
treatPhpDocTypesAsCertain: false
ignoreErrors:
- identifier: missingType.iterableValue
- 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