-
Notifications
You must be signed in to change notification settings - Fork 35
Expand file tree
/
Copy pathphpstan-baseline.neon
More file actions
109 lines (92 loc) · 3.1 KB
/
phpstan-baseline.neon
File metadata and controls
109 lines (92 loc) · 3.1 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
parameters:
ignoreErrors:
-
message: '#^Function sanitize_hex_color\(\) should return string but return statement is missing\.$#'
identifier: return.missing
count: 1
path: ../inc/icons/svg.php
-
message: '#^Action callback returns bool but should not return anything\.$#'
identifier: return.void
count: 1
path: ../inc/packages/admin/namespace.php
-
message: '#^Callback expects 0 parameters, \$accepted_args is set to 3\.$#'
identifier: arguments.count
count: 1
path: ../inc/packages/admin/namespace.php
-
message: '#^Class FAIR\\Updater\\Updater does not have a constructor and must be instantiated without any parameters\.$#'
identifier: new.noConstructor
count: 1
path: ../inc/packages/admin/namespace.php
-
message: '#^Unsafe usage of new static\(\)\.$#'
identifier: new.static
count: 1
path: ../inc/packages/class-metadatadocument.php
-
message: '#^Unsafe usage of new static\(\)\.$#'
identifier: new.static
count: 1
path: ../inc/packages/class-releasedocument.php
-
message: '#^Call to static method add_hook\(\) on an unknown class WP_CLI\.$#'
identifier: class.notFound
count: 1
path: ../inc/packages/wp-cli/compat/namespace.php
-
message: '#^Call to static method get_runner\(\) on an unknown class WP_CLI\.$#'
identifier: class.notFound
count: 1
path: ../inc/packages/wp-cli/compat/namespace.php
-
message: '#^Call to static method halt\(\) on an unknown class WP_CLI\.$#'
identifier: class.notFound
count: 5
path: ../inc/packages/wp-cli/compat/namespace.php
-
message: '#^Call to static method log\(\) on an unknown class WP_CLI\.$#'
identifier: class.notFound
count: 1
path: ../inc/packages/wp-cli/compat/namespace.php
-
message: '#^Call to static method run_command\(\) on an unknown class WP_CLI\.$#'
identifier: class.notFound
count: 3
path: ../inc/packages/wp-cli/compat/namespace.php
-
message: '#^Call to static method warning\(\) on an unknown class WP_CLI\.$#'
identifier: class.notFound
count: 3
path: ../inc/packages/wp-cli/compat/namespace.php
-
message: '#^Caught class WP_CLI\\ExitException not found\.$#'
identifier: class.notFound
count: 2
path: ../inc/packages/wp-cli/compat/namespace.php
-
message: '#^Function WP_CLI\\Utils\\get_flag_value not found\.$#'
identifier: function.notFound
count: 3
path: ../inc/packages/wp-cli/compat/namespace.php
-
message: '#^Used function WP_CLI\\Utils\\get_flag_value not found\.$#'
identifier: function.notFound
count: 1
path: ../inc/packages/wp-cli/compat/namespace.php
-
message: '#^Action callback returns string but should not return anything\.$#'
identifier: return.void
count: 1
path: ../inc/pings/namespace.php
-
message: '#^Found usage of constant MULTISITE\. Use is_multisite\(\) instead\.$#'
identifier: phpstanWP.wpConstant.fetch
count: 1
path: ../inc/settings/namespace.php
-
message: '#^Call to static method success\(\) on an unknown class WP_CLI\.$#'
identifier: class.notFound
count: 1
path: ../inc/updater/namespace.php