Repository navigation
Expand file tree
/
Copy pathphpstan-baseline.neon
More file actions
277 lines (232 loc) · 9.38 KB
/
Copy pathphpstan-baseline.neon
File metadata and controls
277 lines (232 loc) · 9.38 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
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
parameters:
ignoreErrors:
-
message: '#^Function get_day_link invoked with 1 parameter, 3 required\.$#'
identifier: arguments.count
count: 1
path: inc/classes/class-breadcrumb-trail.php
-
message: '#^Method Elementify\\Inc\\Breadcrumb_Trail\:\:trail\(\) should return string but return statement is missing\.$#'
identifier: return.missing
count: 1
path: inc/classes/class-breadcrumb-trail.php
-
message: '#^Parameter \#1 \$author_id of function get_author_posts_url expects int, string given\.$#'
identifier: argument.type
count: 1
path: inc/classes/class-breadcrumb-trail.php
-
message: '#^Parameter \#1 \$slug of method Elementify\\Inc\\Breadcrumb_Trail\:\:get_post_types_by_slug\(\) expects int, string given\.$#'
identifier: argument.type
count: 1
path: inc/classes/class-breadcrumb-trail.php
-
message: '#^Parameter \#2 \$protocols of function esc_url expects array\<string\>\|null, int\|string\|false given\.$#'
identifier: argument.type
count: 1
path: inc/classes/class-breadcrumb-trail.php
-
message: '#^Parameter \#2 \$user_id of function get_the_author_meta expects int\|false, ''''\|numeric\-string given\.$#'
identifier: argument.type
count: 1
path: inc/classes/class-breadcrumb-trail.php
-
message: '#^Parameter \#3 \$format of function get_archives_link expects string, false given\.$#'
identifier: argument.type
count: 1
path: inc/classes/class-breadcrumb-trail.php
-
message: '#^Variable \$matches in isset\(\) always exists and is not nullable\.$#'
identifier: isset.variable
count: 2
path: inc/classes/class-breadcrumb-trail.php
-
message: '#^Variable \$post might not be defined\.$#'
identifier: variable.undefined
count: 2
path: inc/classes/class-breadcrumb-trail.php
-
message: '#^Access to property \$selective_refresh on an unknown class Elementify\\Inc\\WP_Customize_Manager\.$#'
identifier: class.notFound
count: 3
path: inc/classes/class-customizer.php
-
message: '#^Call to method get_setting\(\) on an unknown class Elementify\\Inc\\WP_Customize_Manager\.$#'
identifier: class.notFound
count: 3
path: inc/classes/class-customizer.php
-
message: '#^Parameter \$wp_customize of method Elementify\\Inc\\Customizer\:\:customizer\(\) has invalid type Elementify\\Inc\\WP_Customize_Manager\.$#'
identifier: class.notFound
count: 1
path: inc/classes/class-customizer.php
-
message: '#^Method Elementify\\Inc\\Utils\:\:schema_org_definitions\(\) should return string\|null but return statement is missing\.$#'
identifier: return.missing
count: 1
path: inc/classes/class-utils.php
-
message: '#^Parameter \#1 \$prefix of function uniqid expects string, int given\.$#'
identifier: argument.type
count: 1
path: inc/classes/class-utils.php
-
message: '#^Access to an undefined property WP_Post\:\:\$classes\.$#'
identifier: property.notFound
count: 1
path: inc/helpers/functions.php
-
message: '#^Access to an undefined property WP_Post\:\:\$url\.$#'
identifier: property.notFound
count: 1
path: inc/helpers/functions.php
-
message: '#^Function elementify_site_description\(\) should return string but return statement is missing\.$#'
identifier: return.missing
count: 1
path: inc/helpers/functions.php
-
message: '#^Function elementify_site_logo\(\) should return string but return statement is missing\.$#'
identifier: return.missing
count: 1
path: inc/helpers/functions.php
-
message: '#^Function elementify_site_title\(\) should return string but return statement is missing\.$#'
identifier: return.missing
count: 1
path: inc/helpers/functions.php
-
message: '#^Parameter \#1 \$args of function wp_list_pages expects array\{child_of\?\: int, authors\?\: string, date_format\?\: string, depth\?\: int, echo\?\: bool, exclude\?\: array\<int\>\|string, include\?\: array, link_after\?\: string, \.\.\.\}, array\{echo\: false, title_li\: false\} given\.$#'
identifier: argument.type
count: 1
path: inc/helpers/functions.php
-
message: '#^Variable \$classname might not be defined\.$#'
identifier: variable.undefined
count: 1
path: inc/helpers/functions.php
-
message: '#^Negated boolean expression is always false\.$#'
identifier: booleanNot.alwaysFalse
count: 1
path: inc/helpers/template-functions.php
-
message: '#^Strict comparison using \=\=\= between ''cats'' and ''excerpt''\|''ghost''\|''metas''\|''more''\|''thumbnail''\|''title'' will always evaluate to false\.$#'
identifier: identical.alwaysFalse
count: 1
path: inc/helpers/template-functions.php
-
message: '#^Strict comparison using \=\=\= between ''div1'' and ''excerpt''\|''ghost''\|''metas''\|''more''\|''thumbnail''\|''title'' will always evaluate to false\.$#'
identifier: identical.alwaysFalse
count: 1
path: inc/helpers/template-functions.php
-
message: '#^Strict comparison using \=\=\= between ''tags'' and ''excerpt''\|''ghost''\|''metas''\|''more''\|''thumbnail''\|''title'' will always evaluate to false\.$#'
identifier: identical.alwaysFalse
count: 1
path: inc/helpers/template-functions.php
-
message: '#^Variable \$elements in empty\(\) always exists and is not falsy\.$#'
identifier: empty.variable
count: 1
path: inc/helpers/template-functions.php
-
message: '#^Parameter \#1 \$author_id of function get_author_posts_url expects int, string given\.$#'
identifier: argument.type
count: 1
path: inc/helpers/template-tags.php
-
message: '#^Parameter \#1 \$author_id of function get_author_posts_url expects int, string given\.$#'
identifier: argument.type
count: 1
path: template-parts/components/blog/entry-meta.php
-
message: '#^Variable \$metas in empty\(\) always exists and is not falsy\.$#'
identifier: empty.variable
count: 1
path: template-parts/components/blog/entry-meta.php
-
message: '#^Call to function array_key_exists\(\) with ''desktop'' and array\{desktop\: ''1''\} will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 2
path: template-parts/components/entry-header.php
-
message: '#^Call to function array_key_exists\(\) with ''desktop'' and array\{desktop\: mixed\} will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: template-parts/components/entry-header.php
-
message: '#^Call to function in_array\(\) with arguments ''1'', array\{''2''\} and true will always evaluate to false\.$#'
identifier: function.impossibleType
count: 2
path: template-parts/components/entry-header.php
-
message: '#^Call to function in_array\(\) with arguments ''default'', array\{''narrow'', ''wide'', ''contain''\} and true will always evaluate to false\.$#'
identifier: function.impossibleType
count: 1
path: template-parts/components/entry-header.php
-
message: '#^If condition is always false\.$#'
identifier: if.alwaysFalse
count: 1
path: template-parts/components/entry-header.php
-
message: '#^Left side of && is always false\.$#'
identifier: booleanAnd.leftAlwaysFalse
count: 1
path: template-parts/components/entry-header.php
-
message: '#^Left side of && is always true\.$#'
identifier: booleanAnd.leftAlwaysTrue
count: 6
path: template-parts/components/entry-header.php
-
message: '#^Result of && is always false\.$#'
identifier: booleanAnd.alwaysFalse
count: 1
path: template-parts/components/entry-header.php
-
message: '#^Strict comparison using \!\=\= between '''' and ''F j, Y'' will always evaluate to true\.$#'
identifier: notIdentical.alwaysTrue
count: 1
path: template-parts/components/entry-header.php
-
message: '#^Strict comparison using \!\=\= between '''' and ''cats'' will always evaluate to true\.$#'
identifier: notIdentical.alwaysTrue
count: 1
path: template-parts/components/entry-header.php
-
message: '#^Strict comparison using \!\=\= between '''' and ''dash'' will always evaluate to true\.$#'
identifier: notIdentical.alwaysTrue
count: 1
path: template-parts/components/entry-header.php
-
message: '#^Strict comparison using \!\=\= between '''' and ''none'' will always evaluate to true\.$#'
identifier: notIdentical.alwaysTrue
count: 2
path: template-parts/components/entry-header.php
-
message: '#^Strict comparison using \=\=\= between ''cats'' and ''cats'' will always evaluate to true\.$#'
identifier: identical.alwaysTrue
count: 1
path: template-parts/components/entry-header.php
-
message: '#^Strict comparison using \=\=\= between ''excerpt'' and ''breadcrumbs''\|''post\-meta''\|''thumbnail''\|''title'' will always evaluate to false\.$#'
identifier: identical.alwaysFalse
count: 1
path: template-parts/components/entry-header.php
-
message: '#^Strict comparison using \=\=\= between ''taxonomy'' and ''breadcrumbs''\|''post\-meta''\|''thumbnail''\|''title'' will always evaluate to false\.$#'
identifier: identical.alwaysFalse
count: 1
path: template-parts/components/entry-header.php
-
message: '#^Variable \$elements in empty\(\) always exists and is not falsy\.$#'
identifier: empty.variable
count: 2
path: template-parts/components/entry-header.php
-
message: '#^Variable \$metas in empty\(\) always exists and is not falsy\.$#'
identifier: empty.variable
count: 1
path: template-parts/components/entry-meta.php