-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathphpstan-baseline.neon
More file actions
307 lines (257 loc) · 11.1 KB
/
Copy pathphpstan-baseline.neon
File metadata and controls
307 lines (257 loc) · 11.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
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
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
parameters:
ignoreErrors:
-
message: '#^Parameter \#1 \$value of static method ipl\\Html\\Attribute\:\:escapeValue\(\) expects array\<string\>\|string, array\<bool\|string\|null\>\|bool\|string\|null given\.$#'
identifier: argument.type
count: 1
path: src/Attribute.php
-
message: '#^Parameter \#1 \$attribute of method ipl\\Html\\Attributes\:\:add\(\) expects array\<string, array\<bool\|string\|null\>\|bool\|string\|null\>\|ipl\\Html\\Attribute\|ipl\\Html\\Attributes\|string, bool\|string\|null given\.$#'
identifier: argument.type
count: 1
path: src/Attributes.php
-
message: '#^Parameter \#2 \$value of static method ipl\\Html\\Attribute\:\:create\(\) expects array\<bool\|string\|null\>\|bool\|string\|null, bool\|float\|int\|string given\.$#'
identifier: argument.type
count: 1
path: src/Attributes.php
-
message: '#^Parameter \#1 \$attributes of static method ipl\\Html\\Attributes\:\:wantAttributes\(\) expects array\<string, array\<bool\|string\|null\>\|bool\|string\|null\>\|ipl\\Html\\Attributes\|null, array given\.$#'
identifier: argument.type
count: 1
path: src/BaseHtmlElement.php
-
message: '#^Parameter \#1 \$attributes of static method ipl\\Html\\Attributes\:\:wantAttributes\(\) expects array\<string, array\<bool\|string\|null\>\|bool\|string\|null\>\|ipl\\Html\\Attributes\|null, array\|ipl\\Html\\Attributes\|null given\.$#'
identifier: argument.type
count: 1
path: src/BaseHtmlElement.php
-
message: '#^Method ipl\\Html\\DeferredText\:\:render\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: src/DeferredText.php
-
message: '#^Parameter \#1 \$content of static method ipl\\Html\\Html\:\:escape\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: src/DeferredText.php
-
message: '#^PHPDoc tag @param has invalid value \(string\)\: Unexpected token "\\n \* ", expected variable at offset 24 on line 2$#'
identifier: phpDoc.parseError
count: 1
path: src/Error.php
-
message: '#^Parameter \#1 \$attributes of method ipl\\Html\\Contract\\HtmlElementInterface\:\:addAttributes\(\) expects array\<string, array\<bool\|string\|null\>\|bool\|string\|null\>\|ipl\\Html\\Attributes, mixed given\.$#'
identifier: argument.type
count: 1
path: src/Form.php
-
message: '#^Parameter \#1 \$values of method ipl\\Html\\Form\:\:populate\(\) expects iterable\<string, mixed\>, array given\.$#'
identifier: argument.type
count: 1
path: src/Form.php
-
message: '#^Property ipl\\Html\\Form\:\:\$request \(Psr\\Http\\Message\\ServerRequestInterface\) does not accept mixed\.$#'
identifier: assign.propertyType
count: 1
path: src/Form.php
-
message: '#^Method ipl\\Html\\FormDecorator\\DdDtDecorator\:\:dd\(\) should return ipl\\Html\\HtmlElement but returns mixed\.$#'
identifier: return.type
count: 1
path: src/FormDecorator/DdDtDecorator.php
-
message: '#^Parameter \#1 \.\.\.\$content of method ipl\\Html\\FormDecorator\\DdDtDecorator\:\:addHtml\(\) expects ipl\\Html\\ValidHtml, mixed given\.$#'
identifier: argument.type
count: 1
path: src/FormDecorator/DdDtDecorator.php
-
message: '#^Binary operation "\." between ''desc_'' and array\<bool\|string\|null\>\|bool\|string\|null results in an error\.$#'
identifier: binaryOp.invalid
count: 1
path: src/FormDecorator/DivDecorator.php
-
message: '#^Cannot call method prependHtml\(\) on mixed\.$#'
identifier: method.nonObject
count: 1
path: src/FormDecorator/DivDecorator.php
-
message: '#^Parameter \#1 \$content of static method ipl\\Html\\Text\:\:create\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: src/FormDecorator/DivDecorator.php
-
message: '#^Parameter \#2 \$value of method ipl\\Html\\Attributes\:\:set\(\) expects array\<bool\|string\|null\>\|bool\|string\|null, mixed given\.$#'
identifier: argument.type
count: 1
path: src/FormDecorator/DivDecorator.php
-
message: '#^Parameter \#1 \$attributes of method ipl\\Html\\BaseHtmlElement\:\:addAttributes\(\) expects array\<string, array\<bool\|string\|null\>\|bool\|string\|null\>\|ipl\\Html\\Attributes, mixed given\.$#'
identifier: argument.type
count: 1
path: src/FormElement/BaseFormElement.php
-
message: '#^Parameter \#1 \$messages of method ipl\\Html\\FormElement\\BaseFormElement\:\:setMessages\(\) expects array\<string\>, array given\.$#'
identifier: argument.type
count: 1
path: src/FormElement/BaseFormElement.php
-
message: '#^Parameter \#1 \$validators of method ipl\\Validator\\ValidatorChain\:\:addValidators\(\) expects Traversable\<int\|string, mixed\>, iterable given\.$#'
identifier: argument.type
count: 2
path: src/FormElement/BaseFormElement.php
-
message: '#^Parameter \#1 \$name of class ipl\\Html\\FormElement\\HiddenElement constructor expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: src/FormElement/CheckboxElement.php
-
message: '#^Call to an undefined method ipl\\Html\\Contract\\FormElement\:\:isMultiple\(\)\.$#'
identifier: method.notFound
count: 1
path: src/FormElement/FieldsetElement.php
-
message: '#^Parameter \#1 \$attributes of method ipl\\Html\\Contract\\HtmlElementInterface\:\:addAttributes\(\) expects array\<string, array\<bool\|string\|null\>\|bool\|string\|null\>\|ipl\\Html\\Attributes, mixed given\.$#'
identifier: argument.type
count: 1
path: src/FormElement/FieldsetElement.php
-
message: '#^Parameter \#1 \$name of method ipl\\Html\\FormElement\\FieldsetElement\:\:getElementValue\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: src/FormElement/FieldsetElement.php
-
message: '#^Parameter \#1 \$values of method ipl\\Html\\FormElement\\FieldsetElement\:\:populate\(\) expects iterable\<string, mixed\>, iterable given\.$#'
identifier: argument.type
count: 1
path: src/FormElement/FieldsetElement.php
-
message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#'
identifier: argument.type
count: 1
path: src/FormElement/FieldsetElement.php
-
message: '#^Binary operation "\." between ''chosen_file_'' and mixed results in an error\.$#'
identifier: binaryOp.invalid
count: 1
path: src/FormElement/FileElement.php
-
message: '#^Binary operation "\." between ''remove_file_'' and mixed results in an error\.$#'
identifier: binaryOp.invalid
count: 1
path: src/FormElement/FileElement.php
-
message: '#^Property ipl\\Html\\FormElement\\FileElement\:\:\$filesToRemove \(array\<string\>\) does not accept array\<mixed, mixed\>\.$#'
identifier: assign.propertyType
count: 1
path: src/FormElement/FileElement.php
-
message: '#^Parameter \#1 \$format of method DateTime\:\:format\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: src/FormElement/LocalDateTimeElement.php
-
message: '#^Parameter \#1 \$format of static method DateTime\:\:createFromFormat\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: src/FormElement/LocalDateTimeElement.php
-
message: '#^Parameter \#1 \$haystack of function strrpos expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: src/FormElement/LocalDateTimeElement.php
-
message: '#^Parameter \#1 \$string of function substr expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: src/FormElement/LocalDateTimeElement.php
-
message: '#^Cannot call method hasBeenSent\(\) on mixed\.$#'
identifier: method.nonObject
count: 1
path: src/FormElement/PasswordElement.php
-
message: '#^Cannot call method isValid\(\) on mixed\.$#'
identifier: method.nonObject
count: 1
path: src/FormElement/PasswordElement.php
-
message: '#^Property ipl\\Html\\FormElement\\PasswordElement\:\:\$isFormSubmitted \(bool\) does not accept mixed\.$#'
identifier: assign.propertyType
count: 1
path: src/FormElement/PasswordElement.php
-
message: '#^Property ipl\\Html\\FormElement\\PasswordElement\:\:\$isFormValid \(bool\) does not accept mixed\.$#'
identifier: assign.propertyType
count: 1
path: src/FormElement/PasswordElement.php
-
message: '#^Parameter \#1 \$name of class ipl\\Html\\FormElement\\InputElement constructor expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: src/FormElement/RadioElement.php
-
message: '#^Parameter \#2 \$label of class ipl\\Html\\FormElement\\RadioOption constructor expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: src/FormElement/RadioElement.php
-
message: '#^Parameter \#2 \$label of method ipl\\Html\\FormElement\\SelectElement\:\:makeOption\(\) expects array\|string, mixed given\.$#'
identifier: argument.type
count: 2
path: src/FormElement/SelectElement.php
-
message: '#^Method ipl\\Html\\FormElement\\SubmitElement\:\:getButtonLabel\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: src/FormElement/SubmitElement.php
-
message: '#^Parameter \#1 \$attributes of static method ipl\\Html\\Attributes\:\:wantAttributes\(\) expects array\<string, array\<bool\|string\|null\>\|bool\|string\|null\>\|ipl\\Html\\Attributes\|null, mixed given\.$#'
identifier: argument.type
count: 1
path: src/Html.php
-
message: '#^Parameter \#1 \$content of static method ipl\\Html\\Html\:\:escape\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: src/Html.php
-
message: '#^Parameter \#1 \$error of static method ipl\\Html\\Error\:\:render\(\) expects string\|Throwable, mixed given\.$#'
identifier: argument.type
count: 1
path: src/Html.php
-
message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
identifier: foreach.nonIterable
count: 2
path: src/HtmlDocument.php
-
message: '#^Call to an undefined method ipl\\Html\\Contract\\MutableHtml\:\:ensureAssembled\(\)\.$#'
identifier: method.notFound
count: 1
path: src/HtmlDocument.php
-
message: '#^Cannot access an offset on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: src/HtmlDocument.php
-
message: '#^Cannot use \+\+ on mixed\.$#'
identifier: postInc.type
count: 1
path: src/HtmlDocument.php
-
message: '#^Method ipl\\Html\\HtmlDocument\:\:renderWrapped\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: src/HtmlDocument.php
-
message: '#^Parameter \#1 \$attributes of static method ipl\\Html\\Attributes\:\:wantAttributes\(\) expects array\<string, array\<bool\|string\|null\>\|bool\|string\|null\>\|ipl\\Html\\Attributes\|null, mixed given\.$#'
identifier: argument.type
count: 1
path: src/HtmlElement.php
-
message: '#^Parameter \#1 \$wrapper of method ipl\\Html\\HtmlDocument\:\:prependWrapper\(\) expects ipl\\Html\\Contract\\Wrappable, mixed given\.$#'
identifier: argument.type
count: 1
path: src/TemplateString.php