-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan-baseline.neon
More file actions
211 lines (177 loc) · 7.41 KB
/
phpstan-baseline.neon
File metadata and controls
211 lines (177 loc) · 7.41 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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
parameters:
ignoreErrors:
-
message: '#^Parameter \#2 \$instance of function the_widget expects array, string given\.$#'
identifier: argument.type
count: 1
path: wp-content/themes/my-classic-theme/404.php
-
message: '#^Parameter \#3 \$args of function the_widget expects array\{before_widget\?\: string, after_widget\?\: string, before_title\?\: string, after_title\?\: string\}, non\-falsy\-string given\.$#'
identifier: argument.type
count: 1
path: wp-content/themes/my-classic-theme/404.php
-
message: '#^Parameter \#2 \$name of function get_template_part expects string\|null, string\|false given\.$#'
identifier: argument.type
count: 1
path: wp-content/themes/my-classic-theme/archive.php
-
message: '#^Parameter \#1 \$number of function number_format_i18n expects float, int\|string given\.$#'
identifier: argument.type
count: 1
path: wp-content/themes/my-classic-theme/comments.php
-
message: '#^Parameter \#3 \$number of function _nx expects int, int\|string given\.$#'
identifier: argument.type
count: 1
path: wp-content/themes/my-classic-theme/comments.php
-
message: '#^Function my_classic_theme_content_width\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: wp-content/themes/my-classic-theme/functions.php
-
message: '#^Function my_classic_theme_scripts\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: wp-content/themes/my-classic-theme/functions.php
-
message: '#^Function my_classic_theme_setup\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: wp-content/themes/my-classic-theme/functions.php
-
message: '#^Function my_classic_theme_widgets_init\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: wp-content/themes/my-classic-theme/functions.php
-
message: '#^Function my_classic_theme_custom_header_setup\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: wp-content/themes/my-classic-theme/inc/custom-header.php
-
message: '#^Function my_classic_theme_header_style\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: wp-content/themes/my-classic-theme/inc/custom-header.php
-
message: '#^Cannot access property \$transport on WP_Customize_Setting\|null\.$#'
identifier: property.nonObject
count: 3
path: wp-content/themes/my-classic-theme/inc/customizer.php
-
message: '#^Function my_classic_theme_customize_preview_js\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: wp-content/themes/my-classic-theme/inc/customizer.php
-
message: '#^Function my_classic_theme_customize_register\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: wp-content/themes/my-classic-theme/inc/customizer.php
-
message: '#^Property WP_Customize_Manager\:\:\$selective_refresh \(WP_Customize_Selective_Refresh\) in isset\(\) is not nullable\.$#'
identifier: isset.property
count: 1
path: wp-content/themes/my-classic-theme/inc/customizer.php
-
message: '#^Function my_classic_theme_infinite_scroll_render\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: wp-content/themes/my-classic-theme/inc/jetpack.php
-
message: '#^Function my_classic_theme_jetpack_setup\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: wp-content/themes/my-classic-theme/inc/jetpack.php
-
message: '#^Parameter \#2 \$name of function get_template_part expects string\|null, string\|false given\.$#'
identifier: argument.type
count: 1
path: wp-content/themes/my-classic-theme/inc/jetpack.php
-
message: '#^Function my_classic_theme_body_classes\(\) has parameter \$classes with no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
count: 1
path: wp-content/themes/my-classic-theme/inc/template-functions.php
-
message: '#^Function my_classic_theme_body_classes\(\) return type has no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
count: 1
path: wp-content/themes/my-classic-theme/inc/template-functions.php
-
message: '#^Function my_classic_theme_pingback_header\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: wp-content/themes/my-classic-theme/inc/template-functions.php
-
message: '#^Function my_classic_theme_entry_footer\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: wp-content/themes/my-classic-theme/inc/template-tags.php
-
message: '#^Function my_classic_theme_post_thumbnail\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: wp-content/themes/my-classic-theme/inc/template-tags.php
-
message: '#^Function my_classic_theme_posted_by\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: wp-content/themes/my-classic-theme/inc/template-tags.php
-
message: '#^Function my_classic_theme_posted_on\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: wp-content/themes/my-classic-theme/inc/template-tags.php
-
message: '#^Function wp_body_open\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: wp-content/themes/my-classic-theme/inc/template-tags.php
-
message: '#^Parameter \#1 \$author_id of function get_author_posts_url expects int, string given\.$#'
identifier: argument.type
count: 1
path: wp-content/themes/my-classic-theme/inc/template-tags.php
-
message: '#^Parameter \#1 \$text of function esc_attr expects string, int\|string\|false given\.$#'
identifier: argument.type
count: 2
path: wp-content/themes/my-classic-theme/inc/template-tags.php
-
message: '#^Parameter \#1 \$text of function esc_html expects string, int\|string\|false given\.$#'
identifier: argument.type
count: 2
path: wp-content/themes/my-classic-theme/inc/template-tags.php
-
message: '#^Parameter \#1 \$url of function esc_url expects string, string\|false given\.$#'
identifier: argument.type
count: 1
path: wp-content/themes/my-classic-theme/inc/template-tags.php
-
message: '#^Parameter \#2 \.\.\.\$values of function printf expects bool\|float\|int\|string\|null, string\|WP_Error given\.$#'
identifier: argument.type
count: 1
path: wp-content/themes/my-classic-theme/inc/template-tags.php
-
message: '#^Parameter \#2 \$name of function get_template_part expects string\|null, string\|false given\.$#'
identifier: argument.type
count: 1
path: wp-content/themes/my-classic-theme/index.php
-
message: '#^Parameter \#2 \$name of function get_template_part expects string\|null, string\|false given\.$#'
identifier: argument.type
count: 1
path: wp-content/themes/my-classic-theme/single.php
-
message: '#^Parameter \#1 \$url of function esc_url expects string, string\|false given\.$#'
identifier: argument.type
count: 1
path: wp-content/themes/my-classic-theme/template-parts/content-search.php
-
message: '#^Parameter \#1 \$url of function esc_url expects string, string\|false given\.$#'
identifier: argument.type
count: 1
path: wp-content/themes/my-classic-theme/template-parts/content.php