-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan.neon.dist
More file actions
66 lines (66 loc) · 2.17 KB
/
phpstan.neon.dist
File metadata and controls
66 lines (66 loc) · 2.17 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
parameters:
level: 9
paths:
- src
- block-command.php
scanDirectories:
- vendor/wp-cli/wp-cli/php
scanFiles:
- vendor/php-stubs/wordpress-stubs/wordpress-stubs.php
treatPhpDocTypesAsCertain: false
ignoreErrors:
# Standard WP-CLI ignores (same as entity-command)
- identifier: missingType.iterableValue
- identifier: missingType.return
# WordPress Block registry classes not yet in stubs
-
message: '#on an unknown class WP_Block_Type_Registry#'
reportUnmatched: false
-
message: '#on an unknown class WP_Block_Patterns_Registry#'
reportUnmatched: false
-
message: '#on an unknown class WP_Block_Pattern_Categories_Registry#'
reportUnmatched: false
-
message: '#on an unknown class WP_Block_Styles_Registry#'
reportUnmatched: false
-
message: '#on an unknown class WP_Block_Bindings_Registry#'
reportUnmatched: false
-
message: '#on an unknown class WP_Block_Bindings_Source#'
reportUnmatched: false
-
message: '#on an unknown class WP_Block_Template#'
reportUnmatched: false
-
message: '#unknown class WP_CLI\\Block\\WP_Block_Bindings_Source#'
reportUnmatched: false
-
message: '#unknown class WP_CLI\\Block\\WP_Block_Template#'
reportUnmatched: false
-
message: '#has invalid type WP_CLI\\Block\\WP_Block_Bindings_Source#'
reportUnmatched: false
-
message: '#has invalid type WP_CLI\\Block\\WP_Block_Template#'
reportUnmatched: false
-
message: '#expects WP_CLI\\Block\\WP_Block_Bindings_Source#'
reportUnmatched: false
-
message: '#expects WP_CLI\\Block\\WP_Block_Template#'
reportUnmatched: false
# Spyc YAML dumper
-
message: '#Call to static method YAMLDump\(\) on an unknown class Spyc#'
reportUnmatched: false
# WP_CLI\Formatter::$format is not type-hinted in WP-CLI core
-
message: '#Access to an undefined property WP_CLI\\Formatter::\$format#'
reportUnmatched: false
# WP_Block_Type properties not fully typed in stubs
-
message: '#Access to an undefined property WP_Block_Type::#'
reportUnmatched: false