-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan.neon.dist
More file actions
29 lines (29 loc) · 912 Bytes
/
phpstan.neon.dist
File metadata and controls
29 lines (29 loc) · 912 Bytes
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
28
29
parameters:
level: 9
paths:
- src
- ability-command.php
scanDirectories:
- vendor/wp-cli/wp-cli/php
scanFiles:
- vendor/php-stubs/wordpress-stubs/wordpress-stubs.php
treatPhpDocTypesAsCertain: false
ignoreErrors:
# WP-CLI command method signatures use untyped arrays
-
message: '#no value type specified in iterable type array#'
reportUnmatched: false
# WordPress Abilities API classes (WP 6.9+) not yet in stubs
-
message: '#Call to an undefined method WP_Ability::#'
reportUnmatched: false
-
message: '#Call to an undefined method WP_Ability_Category::#'
reportUnmatched: false
-
message: '#Call to static method YAMLDump\(\) on an unknown class Spyc#'
reportUnmatched: false
# Mixed type from assoc_args iteration
-
message: '#Cannot access offset string on mixed#'
reportUnmatched: false