PluginProbe
Packeta / 2.1
Packeta v2.1
2.3.2 2.3.1 trunk 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.3.0 1.3.1 1.3.2 1.4 1.4.1 1.4.2 1.4.3 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 All 56 releases
packeta / phpstan / phpstan-baseline-module.neon

phpstan-baseline-module.neon in Packeta 2.1, at phpstan/phpstan-baseline-module.neon

3,002 lines 123.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 parameters:
2 ignoreErrors:
3 -
4 message: '#^Method Packetery\\Module\\Api\\BaseRouter\:\:registerRoute\(\) has parameter \$params with no value type specified in iterable type array\.$#'
5 identifier: missingType.iterableValue
6 count: 1
7 path: ../src/Packetery/Module/Api/BaseRouter.php
8
9 -
10 message: '#^Cannot access offset mixed on mixed\.$#'
11 identifier: offsetAccess.nonOffsetAccessible
12 count: 1
13 path: ../src/Packetery/Module/Api/Internal/CheckoutController.php
14
15 -
16 message: '#^Method Packetery\\Module\\Api\\Internal\\CheckoutController\:\:save\(\) has parameter \$carrierAttrs with no value type specified in iterable type array\.$#'
17 identifier: missingType.iterableValue
18 count: 1
19 path: ../src/Packetery/Module/Api/Internal/CheckoutController.php
20
21 -
22 message: '#^Parameter \#1 \$value of method Packetery\\Module\\Options\\OptionsProvider\:\:getSanitizedDimensionValueInMm\(\) expects float\|string, float\|int\|null given\.$#'
23 identifier: argument.type
24 count: 3
25 path: ../src/Packetery/Module/Api/Internal/OrderController.php
26
27 -
28 message: '#^Parameter \#3 \$storedUntil of method Packetery\\Module\\Order\\PacketSetStoredUntil\:\:setStoredUntil\(\) expects DateTimeImmutable, DateTimeImmutable\|null given\.$#'
29 identifier: argument.type
30 count: 1
31 path: ../src/Packetery/Module/Api/Internal/OrderController.php
32
33 -
34 message: '#^Method Packetery\\Module\\Blocks\\BlockHooks\:\:saveShippingAndPaymentMethodsToSession\(\) has parameter \$orderUpdateData with no value type specified in iterable type array\.$#'
35 identifier: missingType.iterableValue
36 count: 1
37 path: ../src/Packetery/Module/Blocks/BlockHooks.php
38
39 -
40 message: '#^Method Packetery\\Module\\Blocks\\WidgetIntegration\:\:__construct\(\) has parameter \$settings with no value type specified in iterable type array\.$#'
41 identifier: missingType.iterableValue
42 count: 1
43 path: ../src/Packetery/Module/Blocks/WidgetIntegration.php
44
45 -
46 message: '#^Path in require_once\(\) "\.//woocommerce/packages/woocommerce\-blocks/src/Integrations/IntegrationInterface\.php" is not a file or it does not exist\.$#'
47 identifier: requireOnce.fileNotFound
48 count: 1
49 path: ../src/Packetery/Module/Blocks/WidgetIntegration.php
50
51 -
52 message: '#^Path in require_once\(\) "\.//woocommerce/src/Blocks/Integrations/IntegrationInterface\.php" is not a file or it does not exist\.$#'
53 identifier: requireOnce.fileNotFound
54 count: 1
55 path: ../src/Packetery/Module/Blocks/WidgetIntegration.php
56
57 -
58 message: '#^Method Packetery\\Module\\Carrier\\CarrierActivityBridge\:\:getActiveCarrierIds\(\) return type has no value type specified in iterable type array\.$#'
59 identifier: missingType.iterableValue
60 count: 1
61 path: ../src/Packetery/Module/Carrier/CarrierActivityBridge.php
62
63 -
64 message: '#^Parameter \#2 \$options of class Packetery\\Module\\Carrier\\Options constructor expects array, mixed given\.$#'
65 identifier: argument.type
66 count: 1
67 path: ../src/Packetery/Module/Carrier/CarrierOptionsFactory.php
68
69 -
70 message: '#^Binary operation "\." between mixed and '' '' results in an error\.$#'
71 identifier: binaryOp.invalid
72 count: 1
73 path: ../src/Packetery/Module/Carrier/CarrierUpdater.php
74
75 -
76 message: '#^Binary operation "\." between non\-falsy\-string and mixed results in an error\.$#'
77 identifier: binaryOp.invalid
78 count: 1
79 path: ../src/Packetery/Module/Carrier/CarrierUpdater.php
80
81 -
82 message: '#^Method Packetery\\Module\\Carrier\\CarrierUpdater\:\:runUpdate\(\) return type has no value type specified in iterable type array\.$#'
83 identifier: missingType.iterableValue
84 count: 1
85 path: ../src/Packetery/Module/Carrier/CarrierUpdater.php
86
87 -
88 message: '#^Parameter \#2 \$datetime of static method DateTimeImmutable\:\:createFromFormat\(\) expects string, mixed given\.$#'
89 identifier: argument.type
90 count: 1
91 path: ../src/Packetery/Module/Carrier/CarrierUpdater.php
92
93 -
94 message: '#^Binary operation "\." between mixed and '' '' results in an error\.$#'
95 identifier: binaryOp.invalid
96 count: 1
97 path: ../src/Packetery/Module/Carrier/CountryListingPage.php
98
99 -
100 message: '#^Binary operation "\." between non\-falsy\-string and mixed results in an error\.$#'
101 identifier: binaryOp.invalid
102 count: 1
103 path: ../src/Packetery/Module/Carrier/CountryListingPage.php
104
105 -
106 message: '#^Cannot access offset ''id'' on mixed\.$#'
107 identifier: offsetAccess.nonOffsetAccessible
108 count: 1
109 path: ../src/Packetery/Module/Carrier/CountryListingPage.php
110
111 -
112 message: '#^Cannot access offset ''name'' on mixed\.$#'
113 identifier: offsetAccess.nonOffsetAccessible
114 count: 2
115 path: ../src/Packetery/Module/Carrier/CountryListingPage.php
116
117 -
118 message: '#^Method Packetery\\Module\\Carrier\\CountryListingPage\:\:getActiveCountries\(\) return type has no value type specified in iterable type array\.$#'
119 identifier: missingType.iterableValue
120 count: 1
121 path: ../src/Packetery/Module/Carrier/CountryListingPage.php
122
123 -
124 message: '#^Method Packetery\\Module\\Carrier\\CountryListingPage\:\:getCarriersDataByCountry\(\) return type has no value type specified in iterable type array\.$#'
125 identifier: missingType.iterableValue
126 count: 1
127 path: ../src/Packetery/Module/Carrier/CountryListingPage.php
128
129 -
130 message: '#^Method Packetery\\Module\\Carrier\\CountryListingPage\:\:getCarriersForOptionsExport\(\) return type has no value type specified in iterable type array\.$#'
131 identifier: missingType.iterableValue
132 count: 1
133 path: ../src/Packetery/Module/Carrier/CountryListingPage.php
134
135 -
136 message: '#^Parameter \#2 \$needle of function stripos expects int\|string, mixed given\.$#'
137 identifier: argument.type
138 count: 1
139 path: ../src/Packetery/Module/Carrier/CountryListingPage.php
140
141 -
142 message: '#^Parameter \#2 \.\.\.\$args of function array_merge expects array, mixed given\.$#'
143 identifier: argument.type
144 count: 1
145 path: ../src/Packetery/Module/Carrier/CountryListingPage.php
146
147 -
148 message: '#^Method Packetery\\Module\\Carrier\\CountryListingTemplateParams\:\:__construct\(\) has parameter \$carriersUpdate with no value type specified in iterable type array\.$#'
149 identifier: missingType.iterableValue
150 count: 1
151 path: ../src/Packetery/Module/Carrier/CountryListingTemplateParams.php
152
153 -
154 message: '#^Method Packetery\\Module\\Carrier\\CountryListingTemplateParams\:\:__construct\(\) has parameter \$countries with no value type specified in iterable type array\.$#'
155 identifier: missingType.iterableValue
156 count: 1
157 path: ../src/Packetery/Module/Carrier/CountryListingTemplateParams.php
158
159 -
160 message: '#^Method Packetery\\Module\\Carrier\\CountryListingTemplateParams\:\:__construct\(\) has parameter \$translations with no value type specified in iterable type array\.$#'
161 identifier: missingType.iterableValue
162 count: 1
163 path: ../src/Packetery/Module/Carrier/CountryListingTemplateParams.php
164
165 -
166 message: '#^Method Packetery\\Module\\Carrier\\Downloader\:\:get_from_json\(\) should return array\<int, array\<string, string\>\>\|null but returns mixed\.$#'
167 identifier: return.type
168 count: 1
169 path: ../src/Packetery/Module/Carrier/Downloader.php
170
171 -
172 message: '#^Argument of an invalid type array\|null supplied for foreach, only iterables are supported\.$#'
173 identifier: foreach.nonIterable
174 count: 2
175 path: ../src/Packetery/Module/Carrier/EntityRepository.php
176
177 -
178 message: '#^Method Packetery\\Module\\Carrier\\EntityRepository\:\:getAllActiveCarriersList\(\) return type has no value type specified in iterable type array\.$#'
179 identifier: missingType.iterableValue
180 count: 1
181 path: ../src/Packetery/Module/Carrier/EntityRepository.php
182
183 -
184 message: '#^Method Packetery\\Module\\Carrier\\Options\:\:__construct\(\) has parameter \$options with no value type specified in iterable type array\.$#'
185 identifier: missingType.iterableValue
186 count: 1
187 path: ../src/Packetery/Module/Carrier/Options.php
188
189 -
190 message: '#^Method Packetery\\Module\\Carrier\\Options\:\:getAddressValidation\(\) should return string but returns array\<string, bool\|string\>\|bool\|string\.$#'
191 identifier: return.type
192 count: 1
193 path: ../src/Packetery/Module/Carrier/Options.php
194
195 -
196 message: '#^Method Packetery\\Module\\Carrier\\Options\:\:getCodRoundingType\(\) should return int but returns array\<string, bool\|string\>\|bool\|int\|string\.$#'
197 identifier: return.type
198 count: 1
199 path: ../src/Packetery/Module/Carrier/Options.php
200
201 -
202 message: '#^Method Packetery\\Module\\Carrier\\Options\:\:getName\(\) should return string\|null but returns array\<string, bool\|string\>\|bool\|string\|null\.$#'
203 identifier: return.type
204 count: 1
205 path: ../src/Packetery/Module/Carrier/Options.php
206
207 -
208 message: '#^Method Packetery\\Module\\Carrier\\Options\:\:getPricingType\(\) should return string but returns array\<string, bool\|string\>\|bool\|string\.$#'
209 identifier: return.type
210 count: 1
211 path: ../src/Packetery/Module/Carrier/Options.php
212
213 -
214 message: '#^Method Packetery\\Module\\Carrier\\Options\:\:getSizeRestrictions\(\) return type has no value type specified in iterable type array\.$#'
215 identifier: missingType.iterableValue
216 count: 1
217 path: ../src/Packetery/Module/Carrier/Options.php
218
219 -
220 message: '#^Method Packetery\\Module\\Carrier\\Options\:\:hasCouponFreeShippingActive\(\) should return bool but returns bool\|string\.$#'
221 identifier: return.type
222 count: 1
223 path: ../src/Packetery/Module/Carrier/Options.php
224
225 -
226 message: '#^Method Packetery\\Module\\Carrier\\Options\:\:isActive\(\) should return bool but returns array\<string, bool\|string\>\|bool\|string\.$#'
227 identifier: return.type
228 count: 1
229 path: ../src/Packetery/Module/Carrier/Options.php
230
231 -
232 message: '#^Method Packetery\\Module\\Carrier\\Options\:\:toArray\(\) return type has no value type specified in iterable type array\.$#'
233 identifier: missingType.iterableValue
234 count: 1
235 path: ../src/Packetery/Module/Carrier/Options.php
236
237 -
238 message: '#^Only booleans are allowed in &&, bool\|string given on the right side\.$#'
239 identifier: booleanAnd.rightNotBoolean
240 count: 1
241 path: ../src/Packetery/Module/Carrier/Options.php
242
243 -
244 message: '#^Parameter \#2 \$haystack of function in_array expects array, array\<string, bool\|string\>\|bool\|string given\.$#'
245 identifier: argument.type
246 count: 1
247 path: ../src/Packetery/Module/Carrier/Options.php
248
249 -
250 message: '#^Binary operation "\+\=" between array\<string, bool\|float\|string\> and mixed results in an error\.$#'
251 identifier: assignOp.invalid
252 count: 1
253 path: ../src/Packetery/Module/Carrier/OptionsPage.php
254
255 -
256 message: '#^Cannot access offset ''active'' on Packetery\\Nette\\ComponentModel\\IComponent\.$#'
257 identifier: offsetAccess.nonOffsetAccessible
258 count: 8
259 path: ../src/Packetery/Module/Carrier/OptionsPage.php
260
261 -
262 message: '#^Cannot access offset ''id'' on array\|object\.$#'
263 identifier: offsetAccess.nonOffsetAccessible
264 count: 1
265 path: ../src/Packetery/Module/Carrier/OptionsPage.php
266
267 -
268 message: '#^Cannot access offset ''id'' on mixed\.$#'
269 identifier: offsetAccess.nonOffsetAccessible
270 count: 1
271 path: ../src/Packetery/Module/Carrier/OptionsPage.php
272
273 -
274 message: '#^Cannot access offset ''pricing_type'' on array\|object\.$#'
275 identifier: offsetAccess.nonOffsetAccessible
276 count: 2
277 path: ../src/Packetery/Module/Carrier/OptionsPage.php
278
279 -
280 message: '#^Cannot access offset ''vendor_groups'' on array\|object\.$#'
281 identifier: offsetAccess.nonOffsetAccessible
282 count: 2
283 path: ../src/Packetery/Module/Carrier/OptionsPage.php
284
285 -
286 message: '#^Cannot call method getCountry\(\) on Packetery\\Core\\Entity\\Carrier\|null\.$#'
287 identifier: method.nonObject
288 count: 1
289 path: ../src/Packetery/Module/Carrier/OptionsPage.php
290
291 -
292 message: '#^Cannot call method getId\(\) on Packetery\\Core\\Entity\\Carrier\|null\.$#'
293 identifier: method.nonObject
294 count: 3
295 path: ../src/Packetery/Module/Carrier/OptionsPage.php
296
297 -
298 message: '#^Cannot call method hasPickupPoints\(\) on Packetery\\Core\\Entity\\Carrier\|null\.$#'
299 identifier: method.nonObject
300 count: 2
301 path: ../src/Packetery/Module/Carrier/OptionsPage.php
302
303 -
304 message: '#^Cannot call method isCarDelivery\(\) on Packetery\\Core\\Entity\\Carrier\|null\.$#'
305 identifier: method.nonObject
306 count: 1
307 path: ../src/Packetery/Module/Carrier/OptionsPage.php
308
309 -
310 message: '#^Cannot call method supportsAgeVerification\(\) on Packetery\\Core\\Entity\\Carrier\|null\.$#'
311 identifier: method.nonObject
312 count: 1
313 path: ../src/Packetery/Module/Carrier/OptionsPage.php
314
315 -
316 message: '#^Method Packetery\\Module\\Carrier\\OptionsPage\:\:checkOverlapping\(\) has parameter \$options with no value type specified in iterable type array\.$#'
317 identifier: missingType.iterableValue
318 count: 1
319 path: ../src/Packetery/Module/Carrier/OptionsPage.php
320
321 -
322 message: '#^Method Packetery\\Module\\Carrier\\OptionsPage\:\:createForm\(\) has parameter \$carrierData with no value type specified in iterable type array\.$#'
323 identifier: missingType.iterableValue
324 count: 1
325 path: ../src/Packetery/Module/Carrier/OptionsPage.php
326
327 -
328 message: '#^Method Packetery\\Module\\Carrier\\OptionsPage\:\:createFormTemplate\(\) has parameter \$carrierData with no value type specified in iterable type array\.$#'
329 identifier: missingType.iterableValue
330 count: 1
331 path: ../src/Packetery/Module/Carrier/OptionsPage.php
332
333 -
334 message: '#^Method Packetery\\Module\\Carrier\\OptionsPage\:\:getAvailableVendors\(\) return type has no value type specified in iterable type array\.$#'
335 identifier: missingType.iterableValue
336 count: 1
337 path: ../src/Packetery/Module/Carrier/OptionsPage.php
338
339 -
340 message: '#^Method Packetery\\Module\\Carrier\\OptionsPage\:\:getCarrierTemplateData\(\) return type has no value type specified in iterable type array\.$#'
341 identifier: missingType.iterableValue
342 count: 1
343 path: ../src/Packetery/Module/Carrier/OptionsPage.php
344
345 -
346 message: '#^Method Packetery\\Module\\Carrier\\OptionsPage\:\:getCheckedVendors\(\) has parameter \$options with no value type specified in iterable type array\.$#'
347 identifier: missingType.iterableValue
348 count: 1
349 path: ../src/Packetery/Module/Carrier/OptionsPage.php
350
351 -
352 message: '#^Method Packetery\\Module\\Carrier\\OptionsPage\:\:getCheckedVendors\(\) return type has no value type specified in iterable type array\.$#'
353 identifier: missingType.iterableValue
354 count: 1
355 path: ../src/Packetery/Module/Carrier/OptionsPage.php
356
357 -
358 message: '#^Method Packetery\\Module\\Carrier\\OptionsPage\:\:getTranslations\(\) should return array\<string, string\> but returns array\<string, string\|null\>\.$#'
359 identifier: return.type
360 count: 1
361 path: ../src/Packetery/Module/Carrier/OptionsPage.php
362
363 -
364 message: '#^Method Packetery\\Module\\Carrier\\OptionsPage\:\:getVendorCheckboxesConfig\(\) has parameter \$carrierOptions with no value type specified in iterable type array\.$#'
365 identifier: missingType.iterableValue
366 count: 1
367 path: ../src/Packetery/Module/Carrier/OptionsPage.php
368
369 -
370 message: '#^Method Packetery\\Module\\Carrier\\OptionsPage\:\:getVendorCheckboxesConfig\(\) return type has no value type specified in iterable type array\.$#'
371 identifier: missingType.iterableValue
372 count: 1
373 path: ../src/Packetery/Module/Carrier/OptionsPage.php
374
375 -
376 message: '#^Method Packetery\\Module\\Carrier\\OptionsPage\:\:isAvailableVendorsCountLowerThanRequiredMinimum\(\) has parameter \$availableVendors with no value type specified in iterable type array\.$#'
377 identifier: missingType.iterableValue
378 count: 1
379 path: ../src/Packetery/Module/Carrier/OptionsPage.php
380
381 -
382 message: '#^Method Packetery\\Module\\Carrier\\OptionsPage\:\:mergeNewLimits\(\) has parameter \$options with no value type specified in iterable type array\.$#'
383 identifier: missingType.iterableValue
384 count: 1
385 path: ../src/Packetery/Module/Carrier/OptionsPage.php
386
387 -
388 message: '#^Method Packetery\\Module\\Carrier\\OptionsPage\:\:mergeNewLimits\(\) return type has no value type specified in iterable type array\.$#'
389 identifier: missingType.iterableValue
390 count: 1
391 path: ../src/Packetery/Module/Carrier/OptionsPage.php
392
393 -
394 message: '#^Method Packetery\\Module\\Carrier\\OptionsPage\:\:sortLimits\(\) has parameter \$options with no value type specified in iterable type array\.$#'
395 identifier: missingType.iterableValue
396 count: 1
397 path: ../src/Packetery/Module/Carrier/OptionsPage.php
398
399 -
400 message: '#^Method Packetery\\Module\\Carrier\\OptionsPage\:\:sortLimits\(\) return type has no value type specified in iterable type array\.$#'
401 identifier: missingType.iterableValue
402 count: 1
403 path: ../src/Packetery/Module/Carrier/OptionsPage.php
404
405 -
406 message: '#^Only booleans are allowed in an if condition, bool\|Packetery\\Nette\\Forms\\SubmitterControl given\.$#'
407 identifier: if.condNotBoolean
408 count: 1
409 path: ../src/Packetery/Module/Carrier/OptionsPage.php
410
411 -
412 message: '#^Parameter \#1 \$carrierData of method Packetery\\Module\\Carrier\\OptionsPage\:\:createForm\(\) expects array, mixed given\.$#'
413 identifier: argument.type
414 count: 1
415 path: ../src/Packetery/Module/Carrier/OptionsPage.php
416
417 -
418 message: '#^Parameter \#1 \$carrierData of method Packetery\\Module\\Carrier\\OptionsPage\:\:createFormTemplate\(\) expects array, mixed given\.$#'
419 identifier: argument.type
420 count: 1
421 path: ../src/Packetery/Module/Carrier/OptionsPage.php
422
423 -
424 message: '#^Parameter \#1 \$carrierId of method Packetery\\Module\\Carrier\\OptionsPage\:\:renderCarrierDetail\(\) expects string, mixed given\.$#'
425 identifier: argument.type
426 count: 1
427 path: ../src/Packetery/Module/Carrier/OptionsPage.php
428
429 -
430 message: '#^Parameter \#1 \$countryCode of method Packetery\\Module\\Carrier\\OptionsPage\:\:createUrl\(\) expects string\|null, mixed given\.$#'
431 identifier: argument.type
432 count: 1
433 path: ../src/Packetery/Module/Carrier/OptionsPage.php
434
435 -
436 message: '#^Parameter \#1 \$countryIso of method Packetery\\Module\\Carrier\\OptionsPage\:\:renderCountryCarriers\(\) expects string, mixed given\.$#'
437 identifier: argument.type
438 count: 1
439 path: ../src/Packetery/Module/Carrier/OptionsPage.php
440
441 -
442 message: '#^Parameter \#1 \$data of method Packetery\\Nette\\Forms\\Container\:\:setDefaults\(\) expects array\|object, mixed given\.$#'
443 identifier: argument.type
444 count: 1
445 path: ../src/Packetery/Module/Carrier/OptionsPage.php
446
447 -
448 message: '#^Parameter \#1 \$format of function sprintf expects string, string\|null given\.$#'
449 identifier: argument.type
450 count: 1
451 path: ../src/Packetery/Module/Carrier/OptionsPage.php
452
453 -
454 message: '#^Parameter \#1 \$options of method Packetery\\Module\\Carrier\\OptionsPage\:\:getCheckedVendors\(\) expects array, array\|object given\.$#'
455 identifier: argument.type
456 count: 2
457 path: ../src/Packetery/Module/Carrier/OptionsPage.php
458
459 -
460 message: '#^Parameter \#1 \$options of method Packetery\\Module\\Carrier\\OptionsPage\:\:mergeNewLimits\(\) expects array, array\|ArrayAccess given\.$#'
461 identifier: argument.type
462 count: 3
463 path: ../src/Packetery/Module/Carrier/OptionsPage.php
464
465 -
466 message: '#^Parameter \#2 \$carrierId of method Packetery\\Module\\Carrier\\OptionsPage\:\:createUrl\(\) expects string\|null, mixed given\.$#'
467 identifier: argument.type
468 count: 1
469 path: ../src/Packetery/Module/Carrier/OptionsPage.php
470
471 -
472 message: '#^Parameter \#2 \$carrierOptions of method Packetery\\Module\\Carrier\\OptionsPage\:\:getVendorCheckboxesConfig\(\) expects array\|null, mixed given\.$#'
473 identifier: argument.type
474 count: 1
475 path: ../src/Packetery/Module/Carrier/OptionsPage.php
476
477 -
478 message: '#^Parameter \#2 \$options of method Packetery\\Module\\Carrier\\OptionsPage\:\:checkOverlapping\(\) expects array, array\|ArrayAccess given\.$#'
479 identifier: argument.type
480 count: 3
481 path: ../src/Packetery/Module/Carrier/OptionsPage.php
482
483 -
484 message: '#^Property Packetery\\Nette\\Forms\\Container\:\:\$onValidate \(array\<\(callable\(array\|object\)\: void\)\|\(callable\(Packetery\\Nette\\Forms\\Container, array\|object\)\: void\)\>\) does not accept non\-empty\-array\<array\{\$this\(Packetery\\Module\\Carrier\\OptionsPage\), ''validateOptions''\}\|\(callable\(array\|object\)\: void\)\|\(callable\(Packetery\\Nette\\Forms\\Container, array\|object\)\: void\)\>\.$#'
485 identifier: assign.propertyType
486 count: 1
487 path: ../src/Packetery/Module/Carrier/OptionsPage.php
488
489 -
490 message: '#^Method Packetery\\Module\\Carrier\\Repository\:\:getActiveCarriers\(\) return type has no value type specified in iterable type array\.$#'
491 identifier: missingType.iterableValue
492 count: 1
493 path: ../src/Packetery/Module/Carrier/Repository.php
494
495 -
496 message: '#^Method Packetery\\Module\\Carrier\\Repository\:\:getAllRawIndexed\(\) should return array\<int, array\<string, bool\|float\|string\>\> but returns array\|false\.$#'
497 identifier: return.type
498 count: 1
499 path: ../src/Packetery/Module/Carrier/Repository.php
500
501 -
502 message: '#^Method Packetery\\Module\\Carrier\\Repository\:\:getByCountry\(\) return type has no value type specified in iterable type array\.$#'
503 identifier: missingType.iterableValue
504 count: 1
505 path: ../src/Packetery/Module/Carrier/Repository.php
506
507 -
508 message: '#^Method Packetery\\Module\\Carrier\\Repository\:\:getById\(\) should return array\<string, string\>\|null but returns array\<string, mixed\>\|object\|null\.$#'
509 identifier: return.type
510 count: 1
511 path: ../src/Packetery/Module/Carrier/Repository.php
512
513 -
514 message: '#^Method Packetery\\Module\\Carrier\\Repository\:\:getCountriesWithUnavailable\(\) return type has no value type specified in iterable type array\.$#'
515 identifier: missingType.iterableValue
516 count: 1
517 path: ../src/Packetery/Module/Carrier/Repository.php
518
519 -
520 message: '#^Method Packetery\\Module\\Carrier\\Repository\:\:insert\(\) has parameter \$data with no value type specified in iterable type array\.$#'
521 identifier: missingType.iterableValue
522 count: 1
523 path: ../src/Packetery/Module/Carrier/Repository.php
524
525 -
526 message: '#^Method Packetery\\Module\\Carrier\\Repository\:\:set_as_deleted\(\) has parameter \$carrierIdsNotInFeed with no value type specified in iterable type array\.$#'
527 identifier: missingType.iterableValue
528 count: 1
529 path: ../src/Packetery/Module/Carrier/Repository.php
530
531 -
532 message: '#^Method Packetery\\Module\\Carrier\\Repository\:\:update\(\) has parameter \$data with no value type specified in iterable type array\.$#'
533 identifier: missingType.iterableValue
534 count: 1
535 path: ../src/Packetery/Module/Carrier/Repository.php
536
537 -
538 message: '#^Parameter \#1 \$array of function array_column expects array, array\<object\>\|null given\.$#'
539 identifier: argument.type
540 count: 1
541 path: ../src/Packetery/Module/Carrier/Repository.php
542
543 -
544 message: '#^Parameter \#2 \$values of function array_combine expects array, array\<object\>\|null given\.$#'
545 identifier: argument.type
546 count: 1
547 path: ../src/Packetery/Module/Carrier/Repository.php
548
549 -
550 message: '#^Method Packetery\\Module\\Checkout\\CartService\:\:getBiggestProductSize\(\) return type has no value type specified in iterable type array\.$#'
551 identifier: missingType.iterableValue
552 count: 1
553 path: ../src/Packetery/Module/Checkout/CartService.php
554
555 -
556 message: '#^Method Packetery\\Module\\Checkout\\CartService\:\:getDisallowedShippingRateIds\(\) return type has no value type specified in iterable type array\.$#'
557 identifier: missingType.iterableValue
558 count: 1
559 path: ../src/Packetery/Module/Checkout/CartService.php
560
561 -
562 message: '#^Method Packetery\\Module\\Checkout\\CartService\:\:isShippingRateRestrictedByProductsCategory\(\) has parameter \$cartProducts with no value type specified in iterable type array\.$#'
563 identifier: missingType.iterableValue
564 count: 1
565 path: ../src/Packetery/Module/Checkout/CartService.php
566
567 -
568 message: '#^Parameter \#1 \.\.\.\$arg1 of function max expects non\-empty\-array, array given\.$#'
569 identifier: argument.type
570 count: 1
571 path: ../src/Packetery/Module/Checkout/CartService.php
572
573 -
574 message: '#^Parameter \#1 \$name of method WC_Cart\:\:add_fee\(\) expects string, string\|null given\.$#'
575 identifier: argument.type
576 count: 2
577 path: ../src/Packetery/Module/Checkout/Checkout.php
578
579 -
580 message: '#^Parameter \#2 \$taxClass of method Packetery\\Module\\Checkout\\Checkout\:\:calcTaxExclusiveFeeAmount\(\) expects string, string\|null given\.$#'
581 identifier: argument.type
582 count: 2
583 path: ../src/Packetery/Module/Checkout/Checkout.php
584
585 -
586 message: '#^Parameter \#4 \$tax_class of method WC_Cart\:\:add_fee\(\) expects string, string\|null given\.$#'
587 identifier: argument.type
588 count: 2
589 path: ../src/Packetery/Module/Checkout/Checkout.php
590
591 -
592 message: '#^Parameter \#1 \$array_arg of function current expects array\|object, mixed given\.$#'
593 identifier: argument.type
594 count: 1
595 path: ../src/Packetery/Module/Checkout/CheckoutService.php
596
597 -
598 message: '#^Parameter \#1 \$chosenMethod of method Packetery\\Module\\Checkout\\CheckoutService\:\:getShippingMethodOptionId\(\) expects string, mixed given\.$#'
599 identifier: argument.type
600 count: 1
601 path: ../src/Packetery/Module/Checkout/CheckoutService.php
602
603 -
604 message: '#^Cannot cast mixed to float\.$#'
605 identifier: cast.double
606 count: 1
607 path: ../src/Packetery/Module/Checkout/CheckoutSettings.php
608
609 -
610 message: '#^Cannot cast mixed to string\.$#'
611 identifier: cast.string
612 count: 1
613 path: ../src/Packetery/Module/Checkout/CheckoutSettings.php
614
615 -
616 message: '#^Method Packetery\\Module\\Checkout\\CheckoutSettings\:\:createSettings\(\) return type has no value type specified in iterable type array\.$#'
617 identifier: missingType.iterableValue
618 count: 1
619 path: ../src/Packetery/Module/Checkout/CheckoutSettings.php
620
621 -
622 message: '#^Cannot access offset string on mixed\.$#'
623 identifier: offsetAccess.nonOffsetAccessible
624 count: 1
625 path: ../src/Packetery/Module/Checkout/CheckoutStorage.php
626
627 -
628 message: '#^Method Packetery\\Module\\Checkout\\CheckoutStorage\:\:getPostDataIncludingStoredData\(\) return type has no value type specified in iterable type array\.$#'
629 identifier: missingType.iterableValue
630 count: 1
631 path: ../src/Packetery/Module/Checkout/CheckoutStorage.php
632
633 -
634 message: '#^Method Packetery\\Module\\Checkout\\CheckoutStorage\:\:getPostDataIncludingStoredData\(\) should return array but returns array\<mixed, mixed\>\|null\.$#'
635 identifier: return.type
636 count: 1
637 path: ../src/Packetery/Module/Checkout/CheckoutStorage.php
638
639 -
640 message: '#^Method Packetery\\Module\\Checkout\\CheckoutStorage\:\:getPostDataIncludingStoredData\(\) should return array but returns array\|null\.$#'
641 identifier: return.type
642 count: 1
643 path: ../src/Packetery/Module/Checkout/CheckoutStorage.php
644
645 -
646 message: '#^Method Packetery\\Module\\Checkout\\CheckoutStorage\:\:isKeyPresentInSavedDataButNotInPostData\(\) has parameter \$checkoutData with no value type specified in iterable type array\.$#'
647 identifier: missingType.iterableValue
648 count: 1
649 path: ../src/Packetery/Module/Checkout/CheckoutStorage.php
650
651 -
652 message: '#^Method Packetery\\Module\\Checkout\\CheckoutStorage\:\:isKeyPresentInSavedDataButNotInPostData\(\) has parameter \$savedCarrierData with no value type specified in iterable type array\.$#'
653 identifier: missingType.iterableValue
654 count: 1
655 path: ../src/Packetery/Module/Checkout/CheckoutStorage.php
656
657 -
658 message: '#^Method Packetery\\Module\\Checkout\\CheckoutStorage\:\:logInvalidOrderData\(\) has parameter \$checkoutData with no value type specified in iterable type array\.$#'
659 identifier: missingType.iterableValue
660 count: 1
661 path: ../src/Packetery/Module/Checkout/CheckoutStorage.php
662
663 -
664 message: '#^Parameter \#1 \$checkoutData of method Packetery\\Module\\Checkout\\CheckoutStorage\:\:isKeyPresentInSavedDataButNotInPostData\(\) expects array, array\<mixed, mixed\>\|null given\.$#'
665 identifier: argument.type
666 count: 4
667 path: ../src/Packetery/Module/Checkout/CheckoutStorage.php
668
669 -
670 message: '#^Call to function array_filter\(\) requires parameter \#2 to be passed to avoid loose comparison semantics\.$#'
671 identifier: arrayFilter.strict
672 count: 1
673 path: ../src/Packetery/Module/Checkout/CheckoutValidator.php
674
675 -
676 message: '#^Cannot access offset ''address_validation'' on mixed\.$#'
677 identifier: offsetAccess.nonOffsetAccessible
678 count: 1
679 path: ../src/Packetery/Module/Checkout/CheckoutValidator.php
680
681 -
682 message: '#^Method Packetery\\Module\\Checkout\\CheckoutValidator\:\:validateHomeDelivery\(\) has parameter \$checkoutData with no value type specified in iterable type array\.$#'
683 identifier: missingType.iterableValue
684 count: 1
685 path: ../src/Packetery/Module/Checkout/CheckoutValidator.php
686
687 -
688 message: '#^Method Packetery\\Module\\Checkout\\CheckoutValidator\:\:validatePickupPoint\(\) has parameter \$checkoutData with no value type specified in iterable type array\.$#'
689 identifier: missingType.iterableValue
690 count: 1
691 path: ../src/Packetery/Module/Checkout/CheckoutValidator.php
692
693 -
694 message: '#^Parameter \#1 \$carrierId of method Packetery\\Module\\Carrier\\EntityRepository\:\:isValidForCountry\(\) expects string, string\|null given\.$#'
695 identifier: argument.type
696 count: 1
697 path: ../src/Packetery/Module/Checkout/CheckoutValidator.php
698
699 -
700 message: '#^Parameter \#1 \$carrierId of static method Packetery\\Module\\Carrier\\OptionPrefixer\:\:getOptionId\(\) expects string, string\|null given\.$#'
701 identifier: argument.type
702 count: 1
703 path: ../src/Packetery/Module/Checkout/CheckoutValidator.php
704
705 -
706 message: '#^Parameter \#1 \$input of function array_filter expects array, array\<string, bool\|string\>\|false given\.$#'
707 identifier: argument.type
708 count: 1
709 path: ../src/Packetery/Module/Checkout/CheckoutValidator.php
710
711 -
712 message: '#^Parameter \#1 \$message of method Packetery\\Module\\Framework\\WcAdapter\:\:addNotice\(\) expects string, string\|null given\.$#'
713 identifier: argument.type
714 count: 7
715 path: ../src/Packetery/Module/Checkout/CheckoutValidator.php
716
717 -
718 message: '#^Parameter \#2 \$customerCountry of method Packetery\\Module\\Carrier\\EntityRepository\:\:isValidForCountry\(\) expects string, string\|null given\.$#'
719 identifier: argument.type
720 count: 1
721 path: ../src/Packetery/Module/Checkout/CheckoutValidator.php
722
723 -
724 message: '#^Cannot cast mixed to float\.$#'
725 identifier: cast.double
726 count: 2
727 path: ../src/Packetery/Module/Checkout/CurrencySwitcherService.php
728
729 -
730 message: '#^Method Packetery\\Module\\Checkout\\OrderUpdater\:\:getPropsFromCheckoutData\(\) has parameter \$checkoutData with no value type specified in iterable type array\.$#'
731 identifier: missingType.iterableValue
732 count: 1
733 path: ../src/Packetery/Module/Checkout/OrderUpdater.php
734
735 -
736 message: '#^Method Packetery\\Module\\Checkout\\OrderUpdater\:\:getPropsFromCheckoutData\(\) has parameter \$propsToSave with no value type specified in iterable type array\.$#'
737 identifier: missingType.iterableValue
738 count: 1
739 path: ../src/Packetery/Module/Checkout/OrderUpdater.php
740
741 -
742 message: '#^Method Packetery\\Module\\Checkout\\OrderUpdater\:\:getPropsFromCheckoutData\(\) return type has no value type specified in iterable type array\.$#'
743 identifier: missingType.iterableValue
744 count: 1
745 path: ../src/Packetery/Module/Checkout/OrderUpdater.php
746
747 -
748 message: '#^Method Packetery\\Module\\Checkout\\OrderUpdater\:\:updateCarDelivery\(\) has parameter \$checkoutData with no value type specified in iterable type array\.$#'
749 identifier: missingType.iterableValue
750 count: 1
751 path: ../src/Packetery/Module/Checkout/OrderUpdater.php
752
753 -
754 message: '#^Method Packetery\\Module\\Checkout\\OrderUpdater\:\:updateHomeDelivery\(\) has parameter \$checkoutData with no value type specified in iterable type array\.$#'
755 identifier: missingType.iterableValue
756 count: 1
757 path: ../src/Packetery/Module/Checkout/OrderUpdater.php
758
759 -
760 message: '#^Only booleans are allowed in a negated boolean, string\|false given\.$#'
761 identifier: booleanNot.exprNotBoolean
762 count: 1
763 path: ../src/Packetery/Module/Checkout/OrderUpdater.php
764
765 -
766 message: '#^Parameter \#2 \$attributeName of method Packetery\\Module\\Order\\AttributeMapper\:\:toWcOrderShippingAddress\(\) expects string, bool\|string given\.$#'
767 identifier: argument.type
768 count: 1
769 path: ../src/Packetery/Module/Checkout/OrderUpdater.php
770
771 -
772 message: '#^Cannot call method get_free_shipping\(\) on class\-string\|object\.$#'
773 identifier: method.nonObject
774 count: 1
775 path: ../src/Packetery/Module/Checkout/RateCalculator.php
776
777 -
778 message: '#^Cannot cast mixed to float\.$#'
779 identifier: cast.double
780 count: 1
781 path: ../src/Packetery/Module/Checkout/RateCalculator.php
782
783 -
784 message: '#^Method Packetery\\Module\\Checkout\\RateCalculator\:\:createShippingRate\(\) return type has no value type specified in iterable type array\.$#'
785 identifier: missingType.iterableValue
786 count: 1
787 path: ../src/Packetery/Module/Checkout/RateCalculator.php
788
789 -
790 message: '#^Method Packetery\\Module\\Checkout\\RateCalculator\:\:getCODSurcharge\(\) has parameter \$carrierOptions with no value type specified in iterable type array\.$#'
791 identifier: missingType.iterableValue
792 count: 1
793 path: ../src/Packetery/Module/Checkout/RateCalculator.php
794
795 -
796 message: '#^Method Packetery\\Module\\Checkout\\SessionService\:\:filterUpdateShippingPackages\(\) has parameter \$packages with no value type specified in iterable type array\.$#'
797 identifier: missingType.iterableValue
798 count: 1
799 path: ../src/Packetery/Module/Checkout/SessionService.php
800
801 -
802 message: '#^Method Packetery\\Module\\Checkout\\SessionService\:\:filterUpdateShippingPackages\(\) return type has no value type specified in iterable type array\.$#'
803 identifier: missingType.iterableValue
804 count: 1
805 path: ../src/Packetery/Module/Checkout/SessionService.php
806
807 -
808 message: '#^Method Packetery\\Module\\Checkout\\ShippingRateFactory\:\:canCreateShippingRate\(\) has parameter \$allowedCarrierNames with no value type specified in iterable type array\.$#'
809 identifier: missingType.iterableValue
810 count: 1
811 path: ../src/Packetery/Module/Checkout/ShippingRateFactory.php
812
813 -
814 message: '#^Method Packetery\\Module\\Checkout\\ShippingRateFactory\:\:createShippingRateAndApplyTaxes\(\) should return array\{label\: string, id\: string, cost\: float, taxes\: array\<int, float\>, calc_tax\: string\} but returns array\<string, array\|float\|string\>\.$#'
815 identifier: return.type
816 count: 1
817 path: ../src/Packetery/Module/Checkout/ShippingRateFactory.php
818
819 -
820 message: '#^Method Packetery\\Module\\Checkout\\ShippingRateFactory\:\:createShippingRateOfCarrier\(\) has parameter \$allowedCarrierNames with no value type specified in iterable type array\.$#'
821 identifier: missingType.iterableValue
822 count: 1
823 path: ../src/Packetery/Module/Checkout/ShippingRateFactory.php
824
825 -
826 message: '#^Method Packetery\\Module\\Checkout\\ShippingRateFactory\:\:createShippingRateOfCarrier\(\) return type has no value type specified in iterable type array\.$#'
827 identifier: missingType.iterableValue
828 count: 1
829 path: ../src/Packetery/Module/Checkout/ShippingRateFactory.php
830
831 -
832 message: '#^Method Packetery\\Module\\Checkout\\ShippingRateFactory\:\:createShippingRates\(\) has parameter \$allowedCarrierNames with no value type specified in iterable type array\.$#'
833 identifier: missingType.iterableValue
834 count: 1
835 path: ../src/Packetery/Module/Checkout/ShippingRateFactory.php
836
837 -
838 message: '#^Method Packetery\\Module\\Checkout\\ShippingRateFactory\:\:createShippingRates\(\) return type has no value type specified in iterable type array\.$#'
839 identifier: missingType.iterableValue
840 count: 1
841 path: ../src/Packetery/Module/Checkout/ShippingRateFactory.php
842
843 -
844 message: '#^Parameter \#4 \$rateId of method Packetery\\Module\\Checkout\\ShippingRateFactory\:\:createShippingRateOfCarrier\(\) expects string, string\|null given\.$#'
845 identifier: argument.type
846 count: 1
847 path: ../src/Packetery/Module/Checkout/ShippingRateFactory.php
848
849 -
850 message: '#^Parameter \#4 \$taxes of method Packetery\\Module\\Checkout\\RateCalculator\:\:createShippingRate\(\) expects array\<float\>\|null, array\<mixed\>\|null given\.$#'
851 identifier: argument.type
852 count: 1
853 path: ../src/Packetery/Module/Checkout/ShippingRateFactory.php
854
855 -
856 message: '#^Cannot cast mixed to int\.$#'
857 identifier: cast.int
858 count: 1
859 path: ../src/Packetery/Module/ContextResolver.php
860
861 -
862 message: '#^Cannot access offset ''has_ead_file_content'' on array\<string, mixed\>\|object\.$#'
863 identifier: offsetAccess.nonOffsetAccessible
864 count: 1
865 path: ../src/Packetery/Module/CustomsDeclaration/Repository.php
866
867 -
868 message: '#^Cannot access offset ''has_invoice_file_content'' on array\<string, mixed\>\|object\.$#'
869 identifier: offsetAccess.nonOffsetAccessible
870 count: 1
871 path: ../src/Packetery/Module/CustomsDeclaration/Repository.php
872
873 -
874 message: '#^Method Packetery\\Module\\CustomsDeclaration\\Repository\:\:declarationItemToDbArray\(\) should return array\<string, float\|int\|string\> but returns array\<string, float\|int\|string\|null\>\.$#'
875 identifier: return.type
876 count: 1
877 path: ../src/Packetery/Module/CustomsDeclaration/Repository.php
878
879 -
880 message: '#^Method Packetery\\Module\\CustomsDeclaration\\Repository\:\:declarationToDbArray\(\) has parameter \$fieldsToOmit with no value type specified in iterable type array\.$#'
881 identifier: missingType.iterableValue
882 count: 1
883 path: ../src/Packetery/Module/CustomsDeclaration/Repository.php
884
885 -
886 message: '#^Method Packetery\\Module\\CustomsDeclaration\\Repository\:\:declarationToDbArray\(\) should return array\<string, float\|int\|string\> but returns array\<string, float\|string\|null\>\.$#'
887 identifier: return.type
888 count: 1
889 path: ../src/Packetery/Module/CustomsDeclaration/Repository.php
890
891 -
892 message: '#^Method Packetery\\Module\\CustomsDeclaration\\Repository\:\:getCustomsDeclarationItemRows\(\) return type has no value type specified in iterable type array\.$#'
893 identifier: missingType.iterableValue
894 count: 1
895 path: ../src/Packetery/Module/CustomsDeclaration/Repository.php
896
897 -
898 message: '#^Method Packetery\\Module\\CustomsDeclaration\\Repository\:\:save\(\) has parameter \$fieldsToOmit with no value type specified in iterable type array\.$#'
899 identifier: missingType.iterableValue
900 count: 1
901 path: ../src/Packetery/Module/CustomsDeclaration/Repository.php
902
903 -
904 message: '#^Parameter \#1 \$data of method Packetery\\Module\\EntityFactory\\CustomsDeclaration\:\:fromStandardizedStructure\(\) expects array, array\<string, mixed\>\|object given\.$#'
905 identifier: argument.type
906 count: 1
907 path: ../src/Packetery/Module/CustomsDeclaration/Repository.php
908
909 -
910 message: '#^Parameter \#1 \$caption of class Packetery\\Module\\Dashboard\\DashboardItem constructor expects string, string\|null given\.$#'
911 identifier: argument.type
912 count: 8
913 path: ../src/Packetery/Module/Dashboard/DashboardItemBuilder.php
914
915 -
916 message: '#^Parameter \#1 \$post of method Packetery\\Module\\Framework\\WpAdapter\:\:getEditPostLink\(\) expects int\|WP_Post, int\|false given\.$#'
917 identifier: argument.type
918 count: 1
919 path: ../src/Packetery/Module/Dashboard/DashboardItemBuilder.php
920
921 -
922 message: '#^Parameter \#3 \$description of class Packetery\\Module\\Dashboard\\DashboardItem constructor expects string, string\|null given\.$#'
923 identifier: argument.type
924 count: 7
925 path: ../src/Packetery/Module/Dashboard/DashboardItemBuilder.php
926
927 -
928 message: '#^Parameter \#2 \$pageTitle of method Packetery\\Module\\Framework\\WpAdapter\:\:addSubmenuPage\(\) expects string, string\|null given\.$#'
929 identifier: argument.type
930 count: 1
931 path: ../src/Packetery/Module/Dashboard/DashboardPage.php
932
933 -
934 message: '#^Parameter \#3 \$menuTitle of method Packetery\\Module\\Framework\\WpAdapter\:\:addSubmenuPage\(\) expects string, string\|null given\.$#'
935 identifier: argument.type
936 count: 1
937 path: ../src/Packetery/Module/Dashboard/DashboardPage.php
938
939 -
940 message: '#^Method Packetery\\Module\\DashboardWidget\:\:__construct\(\) has parameter \$surveyConfig with no value type specified in iterable type array\.$#'
941 identifier: missingType.iterableValue
942 count: 1
943 path: ../src/Packetery/Module/DashboardWidget.php
944
945 -
946 message: '#^Only booleans are allowed in &&, bool\|string given on the left side\.$#'
947 identifier: booleanAnd.leftNotBoolean
948 count: 1
949 path: ../src/Packetery/Module/DashboardWidget.php
950
951 -
952 message: '#^Parameter \#2 \$url of class Packetery\\Module\\SurveyConfig constructor expects string, bool\|string given\.$#'
953 identifier: argument.type
954 count: 1
955 path: ../src/Packetery/Module/DashboardWidget.php
956
957 -
958 message: '#^Parameter \#3 \$image of class Packetery\\Module\\SurveyConfig constructor expects string, string\|null given\.$#'
959 identifier: argument.type
960 count: 1
961 path: ../src/Packetery/Module/DashboardWidget.php
962
963 -
964 message: '#^Parameter \#1 \$street of class Packetery\\Core\\Entity\\Address constructor expects string\|null, mixed given\.$#'
965 identifier: argument.type
966 count: 1
967 path: ../src/Packetery/Module/EntityFactory/Address.php
968
969 -
970 message: '#^Parameter \#2 \$city of class Packetery\\Core\\Entity\\Address constructor expects string\|null, mixed given\.$#'
971 identifier: argument.type
972 count: 1
973 path: ../src/Packetery/Module/EntityFactory/Address.php
974
975 -
976 message: '#^Parameter \#3 \$zip of class Packetery\\Core\\Entity\\Address constructor expects string\|null, mixed given\.$#'
977 identifier: argument.type
978 count: 1
979 path: ../src/Packetery/Module/EntityFactory/Address.php
980
981 -
982 message: '#^Method Packetery\\Module\\EntityFactory\\CustomsDeclaration\:\:fromStandardizedStructure\(\) has parameter \$data with no value type specified in iterable type array\.$#'
983 identifier: missingType.iterableValue
984 count: 1
985 path: ../src/Packetery/Module/EntityFactory/CustomsDeclaration.php
986
987 -
988 message: '#^Parameter \#5 \$invoiceIssueDate of class Packetery\\Core\\Entity\\CustomsDeclaration constructor expects DateTimeImmutable, DateTimeImmutable\|false given\.$#'
989 identifier: argument.type
990 count: 1
991 path: ../src/Packetery/Module/EntityFactory/CustomsDeclaration.php
992
993 -
994 message: '#^Parameter \#1 \$time of function strtotime expects string, mixed given\.$#'
995 identifier: argument.type
996 count: 1
997 path: ../src/Packetery/Module/FormValidators.php
998
999 -
1000 message: '#^Parameter \#2 \$datetime of static method DateTimeImmutable\:\:createFromFormat\(\) expects string, mixed given\.$#'
1001 identifier: argument.type
1002 count: 1
1003 path: ../src/Packetery/Module/FormValidators.php
1004
1005 -
1006 message: '#^Parameter \#2 \$subject of function preg_match expects string, mixed given\.$#'
1007 identifier: argument.type
1008 count: 1
1009 path: ../src/Packetery/Module/FormValidators.php
1010
1011 -
1012 message: '#^Method Packetery\\Module\\Framework\\WcAdapter\:\:asScheduleSingleAction\(\) has parameter \$args with no value type specified in iterable type array\.$#'
1013 identifier: missingType.iterableValue
1014 count: 1
1015 path: ../src/Packetery/Module/Framework/WcAdapter.php
1016
1017 -
1018 message: '#^Method Packetery\\Module\\Framework\\WcAdapter\:\:calcTax\(\) has parameter \$rates with no value type specified in iterable type array\.$#'
1019 identifier: missingType.iterableValue
1020 count: 1
1021 path: ../src/Packetery/Module/Framework/WcAdapter.php
1022
1023 -
1024 message: '#^Method Packetery\\Module\\Framework\\WcAdapter\:\:calcTax\(\) return type has no value type specified in iterable type array\.$#'
1025 identifier: missingType.iterableValue
1026 count: 1
1027 path: ../src/Packetery/Module/Framework/WcAdapter.php
1028
1029 -
1030 message: '#^Method Packetery\\Module\\Framework\\WcAdapter\:\:cartCalculateShipping\(\) return type has no value type specified in iterable type array\.$#'
1031 identifier: missingType.iterableValue
1032 count: 1
1033 path: ../src/Packetery/Module/Framework/WcAdapter.php
1034
1035 -
1036 message: '#^Method Packetery\\Module\\Framework\\WcAdapter\:\:cartFeesApiAddFee\(\) has parameter \$args with no value type specified in iterable type array\.$#'
1037 identifier: missingType.iterableValue
1038 count: 1
1039 path: ../src/Packetery/Module/Framework/WcAdapter.php
1040
1041 -
1042 message: '#^Method Packetery\\Module\\Framework\\WcAdapter\:\:cartFeesApiAddFee\(\) should return stdClass\|WP_Error but returns object\.$#'
1043 identifier: return.type
1044 count: 1
1045 path: ../src/Packetery/Module/Framework/WcAdapter.php
1046
1047 -
1048 message: '#^Method Packetery\\Module\\Framework\\WcAdapter\:\:cartGetCartContent\(\) return type has no value type specified in iterable type array\.$#'
1049 identifier: missingType.iterableValue
1050 count: 1
1051 path: ../src/Packetery/Module/Framework/WcAdapter.php
1052
1053 -
1054 message: '#^Method Packetery\\Module\\Framework\\WcAdapter\:\:sessionGetArray\(\) return type has no value type specified in iterable type array\.$#'
1055 identifier: missingType.iterableValue
1056 count: 1
1057 path: ../src/Packetery/Module/Framework/WcAdapter.php
1058
1059 -
1060 message: '#^Method Packetery\\Module\\Framework\\WcAdapter\:\:shippingGetPackages\(\) return type has no value type specified in iterable type array\.$#'
1061 identifier: missingType.iterableValue
1062 count: 1
1063 path: ../src/Packetery/Module/Framework/WcAdapter.php
1064
1065 -
1066 message: '#^Method Packetery\\Module\\Framework\\WcAdapter\:\:shippingZonesGetZoneMatchingPackage\(\) has parameter \$package with no value type specified in iterable type array\.$#'
1067 identifier: missingType.iterableValue
1068 count: 1
1069 path: ../src/Packetery/Module/Framework/WcAdapter.php
1070
1071 -
1072 message: '#^Method Packetery\\Module\\Framework\\WcAdapter\:\:storeApiRegisterUpdateCallback\(\) has parameter \$args with no value type specified in iterable type array\.$#'
1073 identifier: missingType.iterableValue
1074 count: 1
1075 path: ../src/Packetery/Module/Framework/WcAdapter.php
1076
1077 -
1078 message: '#^Method Packetery\\Module\\Framework\\WcAdapter\:\:taxCalcInclusiveTax\(\) has parameter \$rates with no value type specified in iterable type array\.$#'
1079 identifier: missingType.iterableValue
1080 count: 1
1081 path: ../src/Packetery/Module/Framework/WcAdapter.php
1082
1083 -
1084 message: '#^Method Packetery\\Module\\Framework\\WcAdapter\:\:taxCalcInclusiveTax\(\) return type has no value type specified in iterable type array\.$#'
1085 identifier: missingType.iterableValue
1086 count: 1
1087 path: ../src/Packetery/Module/Framework/WcAdapter.php
1088
1089 -
1090 message: '#^Method Packetery\\Module\\Framework\\WcAdapter\:\:taxGetRates\(\) return type has no value type specified in iterable type array\.$#'
1091 identifier: missingType.iterableValue
1092 count: 1
1093 path: ../src/Packetery/Module/Framework/WcAdapter.php
1094
1095 -
1096 message: '#^Method Packetery\\Module\\Framework\\WcAdapter\:\:taxGetShippingTaxRates\(\) should return array\<int, array\<string, float\|string\>\> but returns array\<mixed, mixed\>\.$#'
1097 identifier: return.type
1098 count: 1
1099 path: ../src/Packetery/Module/Framework/WcAdapter.php
1100
1101 -
1102 message: '#^Method Packetery\\Module\\Framework\\WpAdapter\:\:enqueueScript\(\) has parameter \$args with no value type specified in iterable type array\.$#'
1103 identifier: missingType.iterableValue
1104 count: 1
1105 path: ../src/Packetery/Module/Framework/WpAdapter.php
1106
1107 -
1108 message: '#^Method Packetery\\Module\\Framework\\WpAdapter\:\:enqueueScript\(\) has parameter \$deps with no value type specified in iterable type array\.$#'
1109 identifier: missingType.iterableValue
1110 count: 1
1111 path: ../src/Packetery/Module/Framework/WpAdapter.php
1112
1113 -
1114 message: '#^Method Packetery\\Module\\Framework\\WpAdapter\:\:enqueueStyle\(\) has parameter \$deps with no value type specified in iterable type array\.$#'
1115 identifier: missingType.iterableValue
1116 count: 1
1117 path: ../src/Packetery/Module/Framework/WpAdapter.php
1118
1119 -
1120 message: '#^Method Packetery\\Module\\Framework\\WpAdapter\:\:localizeScript\(\) has parameter \$l10n with no value type specified in iterable type array\.$#'
1121 identifier: missingType.iterableValue
1122 count: 1
1123 path: ../src/Packetery/Module/Framework/WpAdapter.php
1124
1125 -
1126 message: '#^Method Packetery\\Module\\Framework\\WpAdapter\:\:remoteGet\(\) has parameter \$args with no value type specified in iterable type array\.$#'
1127 identifier: missingType.iterableValue
1128 count: 1
1129 path: ../src/Packetery/Module/Framework/WpAdapter.php
1130
1131 -
1132 message: '#^Method Packetery\\Module\\Framework\\WpAdapter\:\:remoteGet\(\) return type has no value type specified in iterable type array\.$#'
1133 identifier: missingType.iterableValue
1134 count: 1
1135 path: ../src/Packetery/Module/Framework/WpAdapter.php
1136
1137 -
1138 message: '#^Method Packetery\\Module\\Framework\\WpAdapter\:\:remoteRetrieveBody\(\) has parameter \$response with no value type specified in iterable type array\.$#'
1139 identifier: missingType.iterableValue
1140 count: 1
1141 path: ../src/Packetery/Module/Framework/WpAdapter.php
1142
1143 -
1144 message: '#^Method Packetery\\Module\\Framework\\WpAdapter\:\:sendJson\(\) has parameter \$settings with no value type specified in iterable type array\.$#'
1145 identifier: missingType.iterableValue
1146 count: 1
1147 path: ../src/Packetery/Module/Framework/WpAdapter.php
1148
1149 -
1150 message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
1151 identifier: argument.type
1152 count: 1
1153 path: ../src/Packetery/Module/Framework/WpAdapter.php
1154
1155 -
1156 message: '#^Parameter \#3 \$scheme of function get_admin_url expects ''http''\|''https'', string given\.$#'
1157 identifier: argument.type
1158 count: 1
1159 path: ../src/Packetery/Module/Framework/WpAdapter.php
1160
1161 -
1162 message: '#^Parameter \#1 \$location of method Packetery\\Module\\Framework\\WpAdapter\:\:safeRedirect\(\) expects string, string\|null given\.$#'
1163 identifier: argument.type
1164 count: 1
1165 path: ../src/Packetery/Module/Hooks/HookRegistrar.php
1166
1167 -
1168 message: '#^Method Packetery\\Module\\Hooks\\PluginHooks\:\:addPluginActionLinks\(\) has parameter \$links with no value type specified in iterable type array\.$#'
1169 identifier: missingType.iterableValue
1170 count: 1
1171 path: ../src/Packetery/Module/Hooks/PluginHooks.php
1172
1173 -
1174 message: '#^Method Packetery\\Module\\Hooks\\PluginHooks\:\:addPluginActionLinks\(\) return type has no value type specified in iterable type array\.$#'
1175 identifier: missingType.iterableValue
1176 count: 1
1177 path: ../src/Packetery/Module/Hooks/PluginHooks.php
1178
1179 -
1180 message: '#^Method Packetery\\Module\\Hooks\\PluginHooks\:\:addPluginRowMeta\(\) has parameter \$links with no value type specified in iterable type array\.$#'
1181 identifier: missingType.iterableValue
1182 count: 1
1183 path: ../src/Packetery/Module/Hooks/PluginHooks.php
1184
1185 -
1186 message: '#^Method Packetery\\Module\\Hooks\\PluginHooks\:\:addPluginRowMeta\(\) return type has no value type specified in iterable type array\.$#'
1187 identifier: missingType.iterableValue
1188 count: 1
1189 path: ../src/Packetery/Module/Hooks/PluginHooks.php
1190
1191 -
1192 message: '#^Parameter \#1 \$inputText of method Packetery\\Module\\Framework\\WpAdapter\:\:escAttr\(\) expects string, string\|null given\.$#'
1193 identifier: argument.type
1194 count: 2
1195 path: ../src/Packetery/Module/Hooks/PluginHooks.php
1196
1197 -
1198 message: '#^Parameter \#1 \$inputText of method Packetery\\Module\\Framework\\WpAdapter\:\:escHtml\(\) expects string, string\|null given\.$#'
1199 identifier: argument.type
1200 count: 2
1201 path: ../src/Packetery/Module/Hooks/PluginHooks.php
1202
1203 -
1204 message: '#^Parameter \#1 \$url of method Packetery\\Module\\Framework\\WpAdapter\:\:escUrl\(\) expects string, string\|null given\.$#'
1205 identifier: argument.type
1206 count: 1
1207 path: ../src/Packetery/Module/Hooks/PluginHooks.php
1208
1209 -
1210 message: '#^Cannot cast mixed to int\.$#'
1211 identifier: cast.int
1212 count: 2
1213 path: ../src/Packetery/Module/Hooks/UpdateOrderHook.php
1214
1215 -
1216 message: '#^Parameter \#1 \$format of function sprintf expects string, string\|null given\.$#'
1217 identifier: argument.type
1218 count: 2
1219 path: ../src/Packetery/Module/Labels/CarrierLabelService.php
1220
1221 -
1222 message: '#^Parameter \#1 \$message of method Packetery\\Module\\MessageManager\:\:flash_message\(\) expects string, string\|null given\.$#'
1223 identifier: argument.type
1224 count: 1
1225 path: ../src/Packetery/Module/Labels/CarrierLabelService.php
1226
1227 -
1228 message: '#^Cannot access offset ''offset'' on array\|object\.$#'
1229 identifier: offsetAccess.nonOffsetAccessible
1230 count: 1
1231 path: ../src/Packetery/Module/Labels/LabelPrintParametersService.php
1232
1233 -
1234 message: '#^Cannot cast mixed to int\.$#'
1235 identifier: cast.int
1236 count: 1
1237 path: ../src/Packetery/Module/Labels/LabelPrintParametersService.php
1238
1239 -
1240 message: '#^Method Packetery\\Module\\Labels\\LabelPrintParametersService\:\:removeExternalCarrierPacketIds\(\) has parameter \$packetIds with no value type specified in iterable type array\.$#'
1241 identifier: missingType.iterableValue
1242 count: 1
1243 path: ../src/Packetery/Module/Labels/LabelPrintParametersService.php
1244
1245 -
1246 message: '#^Method Packetery\\Module\\Labels\\LabelPrintParametersService\:\:removeExternalCarrierPacketIds\(\) return type has no value type specified in iterable type array\.$#'
1247 identifier: missingType.iterableValue
1248 count: 1
1249 path: ../src/Packetery/Module/Labels/LabelPrintParametersService.php
1250
1251 -
1252 message: '#^Only booleans are allowed in an if condition, bool\|Packetery\\Nette\\Forms\\SubmitterControl given\.$#'
1253 identifier: if.condNotBoolean
1254 count: 1
1255 path: ../src/Packetery/Module/Labels/LabelPrintParametersService.php
1256
1257 -
1258 message: '#^Parameter \#1 \$format of function sprintf expects string, string\|null given\.$#'
1259 identifier: argument.type
1260 count: 1
1261 path: ../src/Packetery/Module/Labels/LabelPrintParametersService.php
1262
1263 -
1264 message: '#^Cannot cast mixed to string\.$#'
1265 identifier: cast.string
1266 count: 1
1267 path: ../src/Packetery/Module/Log/Page.php
1268
1269 -
1270 message: '#^Parameter \#1 \$before of method Packetery\\Module\\Log\\Repository\:\:deleteOld\(\) expects string, mixed given\.$#'
1271 identifier: argument.type
1272 count: 1
1273 path: ../src/Packetery/Module/Log/Purger.php
1274
1275 -
1276 message: '#^Call to function array_filter\(\) requires parameter \#2 to be passed to avoid loose comparison semantics\.$#'
1277 identifier: arrayFilter.strict
1278 count: 1
1279 path: ../src/Packetery/Module/Log/Repository.php
1280
1281 -
1282 message: '#^Cannot access offset ''after'' on mixed\.$#'
1283 identifier: offsetAccess.nonOffsetAccessible
1284 count: 1
1285 path: ../src/Packetery/Module/Log/Repository.php
1286
1287 -
1288 message: '#^Cannot call method setTimezone\(\) on DateTimeImmutable\|false\.$#'
1289 identifier: method.nonObject
1290 count: 1
1291 path: ../src/Packetery/Module/Log/Repository.php
1292
1293 -
1294 message: '#^Method Packetery\\Module\\Log\\Repository\:\:getNote\(\) has parameter \$params with no value type specified in iterable type array\.$#'
1295 identifier: missingType.iterableValue
1296 count: 1
1297 path: ../src/Packetery/Module/Log/Repository.php
1298
1299 -
1300 message: '#^Method Packetery\\Module\\Log\\Repository\:\:getWhereClause\(\) has parameter \$where with no value type specified in iterable type array\.$#'
1301 identifier: missingType.iterableValue
1302 count: 1
1303 path: ../src/Packetery/Module/Log/Repository.php
1304
1305 -
1306 message: '#^Method Packetery\\Module\\Log\\Repository\:\:remapToRecord\(\) has parameter \$logs with no value type specified in iterable type array\.$#'
1307 identifier: missingType.iterableValue
1308 count: 1
1309 path: ../src/Packetery/Module/Log/Repository.php
1310
1311 -
1312 message: '#^Parameter \#1 \$modifier of method DateTimeImmutable\:\:modify\(\) expects string, mixed given\.$#'
1313 identifier: argument.type
1314 count: 1
1315 path: ../src/Packetery/Module/Log/Repository.php
1316
1317 -
1318 message: '#^Parameter \#1 \$var of function count expects array\|Countable, array\<string, mixed\>\|bool\|float\|int\|string given\.$#'
1319 identifier: argument.type
1320 count: 2
1321 path: ../src/Packetery/Module/Log/Repository.php
1322
1323 -
1324 message: '#^Parameter \#2 \$orderId of method Packetery\\Module\\Log\\Repository\:\:getWhereClause\(\) expects int\|null, array\<string, mixed\>\|bool\|float\|int\|string\|null given\.$#'
1325 identifier: argument.type
1326 count: 1
1327 path: ../src/Packetery/Module/Log/Repository.php
1328
1329 -
1330 message: '#^Parameter \#3 \$action of method Packetery\\Module\\Log\\Repository\:\:getWhereClause\(\) expects string\|null, array\<string, mixed\>\|bool\|float\|int\|string\|null given\.$#'
1331 identifier: argument.type
1332 count: 1
1333 path: ../src/Packetery/Module/Log/Repository.php
1334
1335 -
1336 message: '#^Property Packetery\\Core\\Log\\Record\:\:\$params \(array\<string, mixed\>\) does not accept mixed\.$#'
1337 identifier: assign.propertyType
1338 count: 1
1339 path: ../src/Packetery/Module/Log/Repository.php
1340
1341 -
1342 message: '#^Method Packetery\\Module\\Message\:\:toArray\(\) should return array\<string, bool\|string\> but returns array\<string, mixed\>\.$#'
1343 identifier: return.type
1344 count: 1
1345 path: ../src/Packetery/Module/Message.php
1346
1347 -
1348 message: '#^Method Packetery\\Module\\MessageManager\:\:flashMessageArray\(\) has parameter \$message with no value type specified in iterable type array\.$#'
1349 identifier: missingType.iterableValue
1350 count: 1
1351 path: ../src/Packetery/Module/MessageManager.php
1352
1353 -
1354 message: '#^Property Packetery\\Module\\MessageManager\:\:\$messages \(array\<array\<string, string\>\>\) does not accept mixed\.$#'
1355 identifier: assign.propertyType
1356 count: 1
1357 path: ../src/Packetery/Module/MessageManager.php
1358
1359 -
1360 message: '#^Cannot access offset string on mixed\.$#'
1361 identifier: offsetAccess.nonOffsetAccessible
1362 count: 1
1363 path: ../src/Packetery/Module/ModuleHelper.php
1364
1365 -
1366 message: '#^Cannot cast mixed to string\.$#'
1367 identifier: cast.string
1368 count: 1
1369 path: ../src/Packetery/Module/ModuleHelper.php
1370
1371 -
1372 message: '#^Method Packetery\\Module\\ModuleHelper\:\:convertArrayFloatsToStrings\(\) has parameter \$inputArray with no value type specified in iterable type array\.$#'
1373 identifier: missingType.iterableValue
1374 count: 1
1375 path: ../src/Packetery/Module/ModuleHelper.php
1376
1377 -
1378 message: '#^Method Packetery\\Module\\ModuleHelper\:\:convertArrayFloatsToStrings\(\) return type has no value type specified in iterable type array\.$#'
1379 identifier: missingType.iterableValue
1380 count: 1
1381 path: ../src/Packetery/Module/ModuleHelper.php
1382
1383 -
1384 message: '#^Method Packetery\\Module\\ModuleHelper\:\:getOrderGridUrl\(\) has parameter \$queryVars with no value type specified in iterable type array\.$#'
1385 identifier: missingType.iterableValue
1386 count: 1
1387 path: ../src/Packetery/Module/ModuleHelper.php
1388
1389 -
1390 message: '#^Path in require_once\(\) "\./wp\-admin/includes/plugin\.php" is not a file or it does not exist\.$#'
1391 identifier: requireOnce.fileNotFound
1392 count: 1
1393 path: ../src/Packetery/Module/ModuleHelper.php
1394
1395 -
1396 message: '#^Binary operation "\." between mixed and "\\n"\|"\\r\\n" results in an error\.$#'
1397 identifier: binaryOp.invalid
1398 count: 1
1399 path: ../src/Packetery/Module/Options/Exporter.php
1400
1401 -
1402 message: '#^Call to function array_filter\(\) requires parameter \#2 to be passed to avoid loose comparison semantics\.$#'
1403 identifier: arrayFilter.strict
1404 count: 1
1405 path: ../src/Packetery/Module/Options/Exporter.php
1406
1407 -
1408 message: '#^Parameter \#1 \$taxClass of method Packetery\\Module\\Framework\\WcAdapter\:\:taxGetRates\(\) expects string, mixed given\.$#'
1409 identifier: argument.type
1410 count: 1
1411 path: ../src/Packetery/Module/Options/Exporter.php
1412
1413 -
1414 message: '#^Binary operation "\+" between mixed and 1 results in an error\.$#'
1415 identifier: binaryOp.invalid
1416 count: 1
1417 path: ../src/Packetery/Module/Options/FlagManager/FeatureFlagDownloader.php
1418
1419 -
1420 message: '#^Cannot access offset ''features'' on mixed\.$#'
1421 identifier: offsetAccess.nonOffsetAccessible
1422 count: 1
1423 path: ../src/Packetery/Module/Options/FlagManager/FeatureFlagDownloader.php
1424
1425 -
1426 message: '#^Cannot access offset ''split'' on mixed\.$#'
1427 identifier: offsetAccess.nonOffsetAccessible
1428 count: 1
1429 path: ../src/Packetery/Module/Options/FlagManager/FeatureFlagDownloader.php
1430
1431 -
1432 message: '#^Cannot call method getTimestamp\(\) on DateTimeImmutable\|false\.$#'
1433 identifier: method.nonObject
1434 count: 1
1435 path: ../src/Packetery/Module/Options/FlagManager/FeatureFlagDownloader.php
1436
1437 -
1438 message: '#^Cannot call method get_error_message\(\) on array\|WP_Error\.$#'
1439 identifier: method.nonObject
1440 count: 1
1441 path: ../src/Packetery/Module/Options/FlagManager/FeatureFlagDownloader.php
1442
1443 -
1444 message: '#^Method Packetery\\Module\\Options\\FlagManager\\FeatureFlagStorage\:\:setFlags\(\) has parameter \$flags with no value type specified in iterable type array\.$#'
1445 identifier: missingType.iterableValue
1446 count: 1
1447 path: ../src/Packetery/Module/Options/FlagManager/FeatureFlagStorage.php
1448
1449 -
1450 message: '#^Call to function array_filter\(\) requires parameter \#2 to be passed to avoid loose comparison semantics\.$#'
1451 identifier: arrayFilter.strict
1452 count: 1
1453 path: ../src/Packetery/Module/Options/OptionsProvider.php
1454
1455 -
1456 message: '#^Cannot access offset string on mixed\.$#'
1457 identifier: offsetAccess.nonOffsetAccessible
1458 count: 1
1459 path: ../src/Packetery/Module/Options/OptionsProvider.php
1460
1461 -
1462 message: '#^Cannot cast mixed to float\.$#'
1463 identifier: cast.double
1464 count: 5
1465 path: ../src/Packetery/Module/Options/OptionsProvider.php
1466
1467 -
1468 message: '#^Method Packetery\\Module\\Options\\OptionsProvider\:\:getAllOptions\(\) return type has no value type specified in iterable type array\.$#'
1469 identifier: missingType.iterableValue
1470 count: 1
1471 path: ../src/Packetery/Module/Options/OptionsProvider.php
1472
1473 -
1474 message: '#^Method Packetery\\Module\\Options\\OptionsProvider\:\:getAutoOrderStatus\(\) should return string\|null but returns mixed\.$#'
1475 identifier: return.type
1476 count: 1
1477 path: ../src/Packetery/Module/Options/OptionsProvider.php
1478
1479 -
1480 message: '#^Method Packetery\\Module\\Options\\OptionsProvider\:\:getAutoOrderStatusFromMapping\(\) should return string\|null but returns mixed\.$#'
1481 identifier: return.type
1482 count: 1
1483 path: ../src/Packetery/Module/Options/OptionsProvider.php
1484
1485 -
1486 message: '#^Method Packetery\\Module\\Options\\OptionsProvider\:\:getCarrierLabelFormat\(\) return type has no value type specified in iterable type array\.$#'
1487 identifier: missingType.iterableValue
1488 count: 1
1489 path: ../src/Packetery/Module/Options/OptionsProvider.php
1490
1491 -
1492 message: '#^Method Packetery\\Module\\Options\\OptionsProvider\:\:getCheckoutDetection\(\) should return string but returns mixed\.$#'
1493 identifier: return.type
1494 count: 1
1495 path: ../src/Packetery/Module/Options/OptionsProvider.php
1496
1497 -
1498 message: '#^Method Packetery\\Module\\Options\\OptionsProvider\:\:getCheckoutWidgetButtonLocation\(\) should return string\|null but returns mixed\.$#'
1499 identifier: return.type
1500 count: 1
1501 path: ../src/Packetery/Module/Options/OptionsProvider.php
1502
1503 -
1504 message: '#^Method Packetery\\Module\\Options\\OptionsProvider\:\:getCodPaymentMethods\(\) should return array\<string\> but returns mixed\.$#'
1505 identifier: return.type
1506 count: 1
1507 path: ../src/Packetery/Module/Options/OptionsProvider.php
1508
1509 -
1510 message: '#^Method Packetery\\Module\\Options\\OptionsProvider\:\:getDimensionsUnit\(\) should return string but returns mixed\.$#'
1511 identifier: return.type
1512 count: 1
1513 path: ../src/Packetery/Module/Options/OptionsProvider.php
1514
1515 -
1516 message: '#^Method Packetery\\Module\\Options\\OptionsProvider\:\:getEmailHook\(\) should return string but returns mixed\.$#'
1517 identifier: return.type
1518 count: 1
1519 path: ../src/Packetery/Module/Options/OptionsProvider.php
1520
1521 -
1522 message: '#^Method Packetery\\Module\\Options\\OptionsProvider\:\:getExistingStatusSyncingOrderStatuses\(\) return type has no value type specified in iterable type array\.$#'
1523 identifier: missingType.iterableValue
1524 count: 1
1525 path: ../src/Packetery/Module/Options/OptionsProvider.php
1526
1527 -
1528 message: '#^Method Packetery\\Module\\Options\\OptionsProvider\:\:getLabelFormats\(\) return type has no value type specified in iterable type array\.$#'
1529 identifier: missingType.iterableValue
1530 count: 1
1531 path: ../src/Packetery/Module/Options/OptionsProvider.php
1532
1533 -
1534 message: '#^Method Packetery\\Module\\Options\\OptionsProvider\:\:getPacketAutoSubmissionPaymentMethodEventsMapping\(\) return type has no value type specified in iterable type array\.$#'
1535 identifier: missingType.iterableValue
1536 count: 1
1537 path: ../src/Packetery/Module/Options/OptionsProvider.php
1538
1539 -
1540 message: '#^Method Packetery\\Module\\Options\\OptionsProvider\:\:getPacketAutoSubmissionPaymentMethodEventsMapping\(\) should return array but returns mixed\.$#'
1541 identifier: return.type
1542 count: 1
1543 path: ../src/Packetery/Module/Options/OptionsProvider.php
1544
1545 -
1546 message: '#^Method Packetery\\Module\\Options\\OptionsProvider\:\:getPacketaLabelFormats\(\) return type has no value type specified in iterable type array\.$#'
1547 identifier: missingType.iterableValue
1548 count: 1
1549 path: ../src/Packetery/Module/Options/OptionsProvider.php
1550
1551 -
1552 message: '#^Method Packetery\\Module\\Options\\OptionsProvider\:\:getStatusSyncingOrderStatuses\(\) return type has no value type specified in iterable type array\.$#'
1553 identifier: missingType.iterableValue
1554 count: 1
1555 path: ../src/Packetery/Module/Options/OptionsProvider.php
1556
1557 -
1558 message: '#^Method Packetery\\Module\\Options\\OptionsProvider\:\:getStatusSyncingPacketStatuses\(\) should return array\<string\> but returns array\<mixed\>\.$#'
1559 identifier: return.type
1560 count: 1
1561 path: ../src/Packetery/Module/Options/OptionsProvider.php
1562
1563 -
1564 message: '#^Method Packetery\\Module\\Options\\OptionsProvider\:\:getValidAutoOrderStatusFromMapping\(\) should return string but returns string\|null\.$#'
1565 identifier: return.type
1566 count: 1
1567 path: ../src/Packetery/Module/Options/OptionsProvider.php
1568
1569 -
1570 message: '#^Method Packetery\\Module\\Options\\OptionsProvider\:\:get_api_key\(\) should return string\|null but returns mixed\.$#'
1571 identifier: return.type
1572 count: 1
1573 path: ../src/Packetery/Module/Options/OptionsProvider.php
1574
1575 -
1576 message: '#^Method Packetery\\Module\\Options\\OptionsProvider\:\:get_api_password\(\) should return string\|null but returns mixed\.$#'
1577 identifier: return.type
1578 count: 1
1579 path: ../src/Packetery/Module/Options/OptionsProvider.php
1580
1581 -
1582 message: '#^Method Packetery\\Module\\Options\\OptionsProvider\:\:get_carrier_label_format\(\) should return string but returns mixed\.$#'
1583 identifier: return.type
1584 count: 1
1585 path: ../src/Packetery/Module/Options/OptionsProvider.php
1586
1587 -
1588 message: '#^Method Packetery\\Module\\Options\\OptionsProvider\:\:get_packeta_label_format\(\) should return string but returns mixed\.$#'
1589 identifier: return.type
1590 count: 1
1591 path: ../src/Packetery/Module/Options/OptionsProvider.php
1592
1593 -
1594 message: '#^Method Packetery\\Module\\Options\\OptionsProvider\:\:get_sender\(\) should return string\|null but returns mixed\.$#'
1595 identifier: return.type
1596 count: 1
1597 path: ../src/Packetery/Module/Options/OptionsProvider.php
1598
1599 -
1600 message: '#^Method Packetery\\Module\\Options\\OptionsProvider\:\:sanitizePaymentGatewayId\(\) should return string but returns string\|null\.$#'
1601 identifier: return.type
1602 count: 1
1603 path: ../src/Packetery/Module/Options/OptionsProvider.php
1604
1605 -
1606 message: '#^Parameter \#1 \$input of function array_filter expects array, array\|false given\.$#'
1607 identifier: argument.type
1608 count: 1
1609 path: ../src/Packetery/Module/Options/OptionsProvider.php
1610
1611 -
1612 message: '#^Parameter \#1 \$maybe_status of function wc_is_order_status expects string, string\|null given\.$#'
1613 identifier: argument.type
1614 count: 1
1615 path: ../src/Packetery/Module/Options/OptionsProvider.php
1616
1617 -
1618 message: '#^Property Packetery\\Module\\Options\\OptionsProvider\:\:\$advancedData \(array\<string, mixed\>\) does not accept mixed\.$#'
1619 identifier: assign.propertyType
1620 count: 1
1621 path: ../src/Packetery/Module/Options/OptionsProvider.php
1622
1623 -
1624 message: '#^Property Packetery\\Module\\Options\\OptionsProvider\:\:\$autoSubmissionData \(array\<string, mixed\>\) does not accept mixed\.$#'
1625 identifier: assign.propertyType
1626 count: 1
1627 path: ../src/Packetery/Module/Options/OptionsProvider.php
1628
1629 -
1630 message: '#^Property Packetery\\Module\\Options\\OptionsProvider\:\:\$data \(array\<string, mixed\>\) does not accept mixed\.$#'
1631 identifier: assign.propertyType
1632 count: 1
1633 path: ../src/Packetery/Module/Options/OptionsProvider.php
1634
1635 -
1636 message: '#^Property Packetery\\Module\\Options\\OptionsProvider\:\:\$syncData \(array\<string, mixed\>\) does not accept mixed\.$#'
1637 identifier: assign.propertyType
1638 count: 1
1639 path: ../src/Packetery/Module/Options/OptionsProvider.php
1640
1641 -
1642 message: '#^Binary operation "\." between mixed and '' '' results in an error\.$#'
1643 identifier: binaryOp.invalid
1644 count: 1
1645 path: ../src/Packetery/Module/Options/Page.php
1646
1647 -
1648 message: '#^Binary operation "\." between non\-falsy\-string and mixed results in an error\.$#'
1649 identifier: binaryOp.invalid
1650 count: 1
1651 path: ../src/Packetery/Module/Options/Page.php
1652
1653 -
1654 message: '#^Cannot access offset ''default_dimensions_enabled'' on Packetery\\Nette\\ComponentModel\\IComponent\.$#'
1655 identifier: offsetAccess.nonOffsetAccessible
1656 count: 3
1657 path: ../src/Packetery/Module/Options/Page.php
1658
1659 -
1660 message: '#^Cannot access offset ''default_weight_enabled'' on Packetery\\Nette\\ComponentModel\\IComponent\.$#'
1661 identifier: offsetAccess.nonOffsetAccessible
1662 count: 1
1663 path: ../src/Packetery/Module/Options/Page.php
1664
1665 -
1666 message: '#^Cannot access offset ''dimensions_unit'' on Packetery\\Nette\\ComponentModel\\IComponent\.$#'
1667 identifier: offsetAccess.nonOffsetAccessible
1668 count: 3
1669 path: ../src/Packetery/Module/Options/Page.php
1670
1671 -
1672 message: '#^Cannot access offset int\|string on mixed\.$#'
1673 identifier: offsetAccess.nonOffsetAccessible
1674 count: 1
1675 path: ../src/Packetery/Module/Options/Page.php
1676
1677 -
1678 message: '#^Cannot call method getCaption\(\) on mixed\.$#'
1679 identifier: method.nonObject
1680 count: 1
1681 path: ../src/Packetery/Module/Options/Page.php
1682
1683 -
1684 message: '#^Cannot call method getError\(\) on mixed\.$#'
1685 identifier: method.nonObject
1686 count: 1
1687 path: ../src/Packetery/Module/Options/Page.php
1688
1689 -
1690 message: '#^Cannot call method getName\(\) on mixed\.$#'
1691 identifier: method.nonObject
1692 count: 2
1693 path: ../src/Packetery/Module/Options/Page.php
1694
1695 -
1696 message: '#^Cannot call method hasErrors\(\) on mixed\.$#'
1697 identifier: method.nonObject
1698 count: 2
1699 path: ../src/Packetery/Module/Options/Page.php
1700
1701 -
1702 message: '#^Cannot cast mixed to int\.$#'
1703 identifier: cast.int
1704 count: 2
1705 path: ../src/Packetery/Module/Options/Page.php
1706
1707 -
1708 message: '#^Method Packetery\\Module\\Options\\Page\:\:customMenuOrder\(\) has parameter \$menuOrder with no value type specified in iterable type array\.$#'
1709 identifier: missingType.iterableValue
1710 count: 1
1711 path: ../src/Packetery/Module/Options/Page.php
1712
1713 -
1714 message: '#^Method Packetery\\Module\\Options\\Page\:\:customMenuOrder\(\) return type has no value type specified in iterable type array\.$#'
1715 identifier: missingType.iterableValue
1716 count: 1
1717 path: ../src/Packetery/Module/Options/Page.php
1718
1719 -
1720 message: '#^Method Packetery\\Module\\Options\\Page\:\:getChosenKeys\(\) has parameter \$choiceData with no value type specified in iterable type array\.$#'
1721 identifier: missingType.iterableValue
1722 count: 1
1723 path: ../src/Packetery/Module/Options/Page.php
1724
1725 -
1726 message: '#^Method Packetery\\Module\\Options\\Page\:\:getChosenKeys\(\) has parameter \$chosenHashedFormOrderStatuses with no value type specified in iterable type array\.$#'
1727 identifier: missingType.iterableValue
1728 count: 1
1729 path: ../src/Packetery/Module/Options/Page.php
1730
1731 -
1732 message: '#^Method Packetery\\Module\\Options\\Page\:\:getChosenKeys\(\) return type has no value type specified in iterable type array\.$#'
1733 identifier: missingType.iterableValue
1734 count: 1
1735 path: ../src/Packetery/Module/Options/Page.php
1736
1737 -
1738 message: '#^Method Packetery\\Module\\Options\\Page\:\:onAdvancedFormSuccess\(\) has parameter \$values with no value type specified in iterable type array\.$#'
1739 identifier: missingType.iterableValue
1740 count: 1
1741 path: ../src/Packetery/Module/Options/Page.php
1742
1743 -
1744 message: '#^Method Packetery\\Module\\Options\\Page\:\:onAutoSubmissionFormSuccess\(\) has parameter \$values with no value type specified in iterable type array\.$#'
1745 identifier: missingType.iterableValue
1746 count: 1
1747 path: ../src/Packetery/Module/Options/Page.php
1748
1749 -
1750 message: '#^Method Packetery\\Module\\Options\\Page\:\:onPacketStatusSyncFormSuccess\(\) has parameter \$values with no value type specified in iterable type array\.$#'
1751 identifier: missingType.iterableValue
1752 count: 1
1753 path: ../src/Packetery/Module/Options/Page.php
1754
1755 -
1756 message: '#^Method Packetery\\Module\\Options\\Page\:\:sanitizePacketeryOptions\(\) has parameter \$options with no value type specified in iterable type array\.$#'
1757 identifier: missingType.iterableValue
1758 count: 1
1759 path: ../src/Packetery/Module/Options/Page.php
1760
1761 -
1762 message: '#^Method Packetery\\Module\\Options\\Page\:\:sanitizePacketeryOptions\(\) return type has no value type specified in iterable type array\.$#'
1763 identifier: missingType.iterableValue
1764 count: 1
1765 path: ../src/Packetery/Module/Options/Page.php
1766
1767 -
1768 message: '#^Method Packetery\\Module\\Options\\Page\:\:translateStatuses\(\) has parameter \$choiceData with no value type specified in iterable type array\.$#'
1769 identifier: missingType.iterableValue
1770 count: 1
1771 path: ../src/Packetery/Module/Options/Page.php
1772
1773 -
1774 message: '#^Method Packetery\\Module\\Options\\Page\:\:translateStatuses\(\) has parameter \$formData with no value type specified in iterable type array\.$#'
1775 identifier: missingType.iterableValue
1776 count: 1
1777 path: ../src/Packetery/Module/Options/Page.php
1778
1779 -
1780 message: '#^Method Packetery\\Module\\Options\\Page\:\:translateStatuses\(\) return type has no value type specified in iterable type array\.$#'
1781 identifier: missingType.iterableValue
1782 count: 1
1783 path: ../src/Packetery/Module/Options/Page.php
1784
1785 -
1786 message: '#^Method Packetery\\Module\\Options\\Page\:\:validatePacketeryOptions\(\) has parameter \$options with no value type specified in iterable type array\.$#'
1787 identifier: missingType.iterableValue
1788 count: 1
1789 path: ../src/Packetery/Module/Options/Page.php
1790
1791 -
1792 message: '#^Method Packetery\\Module\\Options\\Page\:\:validatePacketeryOptions\(\) return type has no value type specified in iterable type array\.$#'
1793 identifier: missingType.iterableValue
1794 count: 1
1795 path: ../src/Packetery/Module/Options/Page.php
1796
1797 -
1798 message: '#^Parameter \#1 \$apiPassword of method Packetery\\Core\\Api\\Soap\\Client\:\:setApiPassword\(\) expects string, mixed given\.$#'
1799 identifier: argument.type
1800 count: 2
1801 path: ../src/Packetery/Module/Options/Page.php
1802
1803 -
1804 message: '#^Parameter \#1 \$key of function array_key_exists expects int\|string, mixed given\.$#'
1805 identifier: argument.type
1806 count: 1
1807 path: ../src/Packetery/Module/Options/Page.php
1808
1809 -
1810 message: '#^Parameter \#1 \$pageTitle of method Packetery\\Module\\Framework\\WpAdapter\:\:addMenuPage\(\) expects string, string\|null given\.$#'
1811 identifier: argument.type
1812 count: 1
1813 path: ../src/Packetery/Module/Options/Page.php
1814
1815 -
1816 message: '#^Parameter \#1 \$senderLabel of method Packetery\\Module\\Options\\Page\:\:validateSender\(\) expects string, string\|null given\.$#'
1817 identifier: argument.type
1818 count: 1
1819 path: ../src/Packetery/Module/Options/Page.php
1820
1821 -
1822 message: '#^Parameter \#1 \$string of function substr expects string, mixed given\.$#'
1823 identifier: argument.type
1824 count: 1
1825 path: ../src/Packetery/Module/Options/Page.php
1826
1827 -
1828 message: '#^Parameter \#2 \$caption of method Packetery\\Nette\\Forms\\Container\:\:addCheckbox\(\) expects object\|string\|null, int\|string given\.$#'
1829 identifier: argument.type
1830 count: 1
1831 path: ../src/Packetery/Module/Options/Page.php
1832
1833 -
1834 message: '#^Parameter \#2 \$datetime of static method DateTime\:\:createFromFormat\(\) expects string, mixed given\.$#'
1835 identifier: argument.type
1836 count: 1
1837 path: ../src/Packetery/Module/Options/Page.php
1838
1839 -
1840 message: '#^Parameter \#2 \$haystack of function in_array expects array, mixed given\.$#'
1841 identifier: argument.type
1842 count: 2
1843 path: ../src/Packetery/Module/Options/Page.php
1844
1845 -
1846 message: '#^Parameter \#2 \$menuTitle of method Packetery\\Module\\Framework\\WpAdapter\:\:addMenuPage\(\) expects string, string\|null given\.$#'
1847 identifier: argument.type
1848 count: 1
1849 path: ../src/Packetery/Module/Options/Page.php
1850
1851 -
1852 message: '#^Parameter \#2 \$pageTitle of method Packetery\\Module\\Framework\\WpAdapter\:\:addSubmenuPage\(\) expects string, string\|null given\.$#'
1853 identifier: argument.type
1854 count: 1
1855 path: ../src/Packetery/Module/Options/Page.php
1856
1857 -
1858 message: '#^Parameter \#3 \$menuTitle of method Packetery\\Module\\Framework\\WpAdapter\:\:addSubmenuPage\(\) expects string, string\|null given\.$#'
1859 identifier: argument.type
1860 count: 1
1861 path: ../src/Packetery/Module/Options/Page.php
1862
1863 -
1864 message: '#^Property Packetery\\Nette\\Forms\\Form\:\:\$onSuccess \(array\<\(callable\(array\|object\)\: void\)\|\(callable\(Packetery\\Nette\\Forms\\Form, array\|object\)\: void\)\>\) does not accept non\-empty\-array\<array\{\$this\(Packetery\\Module\\Options\\Page\), ''onAdvancedFormSucce…''\}\|\(callable\(array\|object\)\: void\)\|\(callable\(Packetery\\Nette\\Forms\\Form, array\|object\)\: void\)\>\.$#'
1865 identifier: assign.propertyType
1866 count: 1
1867 path: ../src/Packetery/Module/Options/Page.php
1868
1869 -
1870 message: '#^Property Packetery\\Nette\\Forms\\Form\:\:\$onSuccess \(array\<\(callable\(array\|object\)\: void\)\|\(callable\(Packetery\\Nette\\Forms\\Form, array\|object\)\: void\)\>\) does not accept non\-empty\-array\<array\{\$this\(Packetery\\Module\\Options\\Page\), ''onAutoSubmissionFor…''\}\|\(callable\(array\|object\)\: void\)\|\(callable\(Packetery\\Nette\\Forms\\Form, array\|object\)\: void\)\>\.$#'
1871 identifier: assign.propertyType
1872 count: 1
1873 path: ../src/Packetery/Module/Options/Page.php
1874
1875 -
1876 message: '#^Property Packetery\\Nette\\Forms\\Form\:\:\$onSuccess \(array\<\(callable\(array\|object\)\: void\)\|\(callable\(Packetery\\Nette\\Forms\\Form, array\|object\)\: void\)\>\) does not accept non\-empty\-array\<array\{\$this\(Packetery\\Module\\Options\\Page\), ''onPacketStatusSyncF…''\}\|\(callable\(array\|object\)\: void\)\|\(callable\(Packetery\\Nette\\Forms\\Form, array\|object\)\: void\)\>\.$#'
1877 identifier: assign.propertyType
1878 count: 1
1879 path: ../src/Packetery/Module/Options/Page.php
1880
1881 -
1882 message: '#^Method Packetery\\Module\\Options\\Repository\:\:getAllOptionNamesByPrefixes\(\) should return array\<string\> but returns array\<bool\|float\|int\|string\|null\>\.$#'
1883 identifier: return.type
1884 count: 1
1885 path: ../src/Packetery/Module/Options/Repository.php
1886
1887 -
1888 message: '#^Method Packetery\\Module\\Options\\Repository\:\:getAllTransientsByPrefixes\(\) should return array\<string\> but returns list\<string\|null\>\.$#'
1889 identifier: return.type
1890 count: 1
1891 path: ../src/Packetery/Module/Options/Repository.php
1892
1893 -
1894 message: '#^Method Packetery\\Module\\Options\\Repository\:\:getExpiredTransientsByPrefix\(\) should return array\<string\> but returns array\<bool\|float\|int\|string\|null\>\.$#'
1895 identifier: return.type
1896 count: 1
1897 path: ../src/Packetery/Module/Options/Repository.php
1898
1899 -
1900 message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
1901 identifier: foreach.nonIterable
1902 count: 1
1903 path: ../src/Packetery/Module/Order/ApiExtender.php
1904
1905 -
1906 message: '#^Cannot access offset ''method_id'' on mixed\.$#'
1907 identifier: offsetAccess.nonOffsetAccessible
1908 count: 1
1909 path: ../src/Packetery/Module/Order/ApiExtender.php
1910
1911 -
1912 message: '#^Cannot access offset ''packeta'' on mixed\.$#'
1913 identifier: offsetAccess.nonOffsetAccessible
1914 count: 1
1915 path: ../src/Packetery/Module/Order/ApiExtender.php
1916
1917 -
1918 message: '#^Cannot access offset ''shipping_lines'' on mixed\.$#'
1919 identifier: offsetAccess.nonOffsetAccessible
1920 count: 2
1921 path: ../src/Packetery/Module/Order/ApiExtender.php
1922
1923 -
1924 message: '#^Cannot access offset mixed on mixed\.$#'
1925 identifier: offsetAccess.nonOffsetAccessible
1926 count: 1
1927 path: ../src/Packetery/Module/Order/ApiExtender.php
1928
1929 -
1930 message: '#^Parameter \#1 \$methodId of static method Packetery\\Module\\Shipping\\ShippingProvider\:\:isPacketaMethod\(\) expects string, mixed given\.$#'
1931 identifier: argument.type
1932 count: 1
1933 path: ../src/Packetery/Module/Order/ApiExtender.php
1934
1935 -
1936 message: '#^Method Packetery\\Module\\Order\\AttributeMapper\:\:createAddress\(\) has parameter \$values with no value type specified in iterable type array\.$#'
1937 identifier: missingType.iterableValue
1938 count: 1
1939 path: ../src/Packetery/Module/Order/AttributeMapper.php
1940
1941 -
1942 message: '#^Method Packetery\\Module\\Order\\AttributeMapper\:\:toCarDeliveryAddress\(\) has parameter \$values with no value type specified in iterable type array\.$#'
1943 identifier: missingType.iterableValue
1944 count: 1
1945 path: ../src/Packetery/Module/Order/AttributeMapper.php
1946
1947 -
1948 message: '#^Method Packetery\\Module\\Order\\AttributeMapper\:\:toValidatedAddress\(\) has parameter \$values with no value type specified in iterable type array\.$#'
1949 identifier: missingType.iterableValue
1950 count: 1
1951 path: ../src/Packetery/Module/Order/AttributeMapper.php
1952
1953 -
1954 message: '#^Method Packetery\\Module\\Order\\AttributeMapper\:\:validatedAddressToWcOrderShippingAddress\(\) has parameter \$checkoutData with no value type specified in iterable type array\.$#'
1955 identifier: missingType.iterableValue
1956 count: 1
1957 path: ../src/Packetery/Module/Order/AttributeMapper.php
1958
1959 -
1960 message: '#^Parameter \#1 \$city of method Packetery\\Core\\Entity\\PickupPoint\:\:setCity\(\) expects string\|null, float\|int\|string\|true\|null given\.$#'
1961 identifier: argument.type
1962 count: 1
1963 path: ../src/Packetery/Module/Order/AttributeMapper.php
1964
1965 -
1966 message: '#^Parameter \#1 \$height of method Packetery\\Core\\Entity\\Size\:\:setHeight\(\) expects float\|null, float\|int\|string\|true\|null given\.$#'
1967 identifier: argument.type
1968 count: 1
1969 path: ../src/Packetery/Module/Order/AttributeMapper.php
1970
1971 -
1972 message: '#^Parameter \#1 \$id of method Packetery\\Core\\Entity\\PickupPoint\:\:setId\(\) expects string\|null, float\|int\|string\|true\|null given\.$#'
1973 identifier: argument.type
1974 count: 1
1975 path: ../src/Packetery/Module/Order/AttributeMapper.php
1976
1977 -
1978 message: '#^Parameter \#1 \$length of method Packetery\\Core\\Entity\\Size\:\:setLength\(\) expects float\|null, float\|int\|string\|true\|null given\.$#'
1979 identifier: argument.type
1980 count: 1
1981 path: ../src/Packetery/Module/Order/AttributeMapper.php
1982
1983 -
1984 message: '#^Parameter \#1 \$name of method Packetery\\Core\\Entity\\PickupPoint\:\:setName\(\) expects string\|null, float\|int\|string\|true\|null given\.$#'
1985 identifier: argument.type
1986 count: 1
1987 path: ../src/Packetery/Module/Order/AttributeMapper.php
1988
1989 -
1990 message: '#^Parameter \#1 \$street of method Packetery\\Core\\Entity\\PickupPoint\:\:setStreet\(\) expects string\|null, float\|int\|string\|true\|null given\.$#'
1991 identifier: argument.type
1992 count: 1
1993 path: ../src/Packetery/Module/Order/AttributeMapper.php
1994
1995 -
1996 message: '#^Parameter \#1 \$url of method Packetery\\Core\\Entity\\PickupPoint\:\:setUrl\(\) expects string\|null, float\|int\|string\|true\|null given\.$#'
1997 identifier: argument.type
1998 count: 1
1999 path: ../src/Packetery/Module/Order/AttributeMapper.php
2000
2001 -
2002 message: '#^Parameter \#1 \$width of method Packetery\\Core\\Entity\\Size\:\:setWidth\(\) expects float\|null, float\|int\|string\|true\|null given\.$#'
2003 identifier: argument.type
2004 count: 1
2005 path: ../src/Packetery/Module/Order/AttributeMapper.php
2006
2007 -
2008 message: '#^Parameter \#1 \$zip of method Packetery\\Core\\Entity\\PickupPoint\:\:setZip\(\) expects string\|null, float\|int\|string\|true\|null given\.$#'
2009 identifier: argument.type
2010 count: 1
2011 path: ../src/Packetery/Module/Order/AttributeMapper.php
2012
2013 -
2014 message: '#^Cannot access property \$city on mixed\.$#'
2015 identifier: property.nonObject
2016 count: 1
2017 path: ../src/Packetery/Module/Order/Builder.php
2018
2019 -
2020 message: '#^Cannot access property \$county on mixed\.$#'
2021 identifier: property.nonObject
2022 count: 1
2023 path: ../src/Packetery/Module/Order/Builder.php
2024
2025 -
2026 message: '#^Cannot access property \$houseNumber on mixed\.$#'
2027 identifier: property.nonObject
2028 count: 1
2029 path: ../src/Packetery/Module/Order/Builder.php
2030
2031 -
2032 message: '#^Cannot access property \$latitude on mixed\.$#'
2033 identifier: property.nonObject
2034 count: 1
2035 path: ../src/Packetery/Module/Order/Builder.php
2036
2037 -
2038 message: '#^Cannot access property \$longitude on mixed\.$#'
2039 identifier: property.nonObject
2040 count: 1
2041 path: ../src/Packetery/Module/Order/Builder.php
2042
2043 -
2044 message: '#^Cannot access property \$street on mixed\.$#'
2045 identifier: property.nonObject
2046 count: 1
2047 path: ../src/Packetery/Module/Order/Builder.php
2048
2049 -
2050 message: '#^Cannot access property \$zip on mixed\.$#'
2051 identifier: property.nonObject
2052 count: 1
2053 path: ../src/Packetery/Module/Order/Builder.php
2054
2055 -
2056 message: '#^Cannot call method setTimezone\(\) on DateTimeImmutable\|false\.$#'
2057 identifier: method.nonObject
2058 count: 1
2059 path: ../src/Packetery/Module/Order/Builder.php
2060
2061 -
2062 message: '#^Parameter \#1 \$orderNumber of method Packetery\\Module\\CustomsDeclaration\\Repository\:\:getByOrderNumber\(\) expects string, string\|null given\.$#'
2063 identifier: argument.type
2064 count: 1
2065 path: ../src/Packetery/Module/Order/Builder.php
2066
2067 -
2068 message: '#^Parameter \#1 \$size of method Packetery\\Core\\Entity\\Order\:\:setSize\(\) expects Packetery\\Core\\Entity\\Size, Packetery\\Core\\Entity\\Size\|null given\.$#'
2069 identifier: argument.type
2070 count: 1
2071 path: ../src/Packetery/Module/Order/Builder.php
2072
2073 -
2074 message: '#^Cannot access offset ''packetery_order_id'' on mixed\.$#'
2075 identifier: offsetAccess.nonOffsetAccessible
2076 count: 1
2077 path: ../src/Packetery/Module/Order/BulkActions.php
2078
2079 -
2080 message: '#^Cannot access offset ''submit_to_api'' on mixed\.$#'
2081 identifier: offsetAccess.nonOffsetAccessible
2082 count: 1
2083 path: ../src/Packetery/Module/Order/BulkActions.php
2084
2085 -
2086 message: '#^Parameter \#1 \$submissionResult of method Packetery\\Module\\Order\\PacketSubmitter\:\:getTranslatedSubmissionMessages\(\) expects array\<string, int\>, mixed given\.$#'
2087 identifier: argument.type
2088 count: 1
2089 path: ../src/Packetery/Module/Order/BulkActions.php
2090
2091 -
2092 message: '#^Cannot access offset ''carrierId'' on array\|object\.$#'
2093 identifier: offsetAccess.nonOffsetAccessible
2094 count: 1
2095 path: ../src/Packetery/Module/Order/CarrierModal.php
2096
2097 -
2098 message: '#^Method Packetery\\Module\\Order\\CarrierModal\:\:createNewCarrierOrder\(\) should return string but returns string\|null\.$#'
2099 identifier: return.type
2100 count: 1
2101 path: ../src/Packetery/Module/Order/CarrierModal.php
2102
2103 -
2104 message: '#^Method Packetery\\Module\\Order\\CarrierModal\:\:getCarrierOptionsByCountry\(\) should return array\<string\> but returns array\<string, string\|null\>\.$#'
2105 identifier: return.type
2106 count: 1
2107 path: ../src/Packetery/Module/Order/CarrierModal.php
2108
2109 -
2110 message: '#^Parameter \#1 \$orderIds of method Packetery\\Module\\Order\\Repository\:\:getByIds\(\) expects array\<string\>, mixed given\.$#'
2111 identifier: argument.type
2112 count: 1
2113 path: ../src/Packetery/Module/Order/CollectionPrint.php
2114
2115 -
2116 message: '#^Anonymous function should return float but returns float\|null\.$#'
2117 identifier: return.type
2118 count: 1
2119 path: ../src/Packetery/Module/Order/CustomsDeclarationMetabox.php
2120
2121 -
2122 message: '#^Cannot access offset ''fill_customs_declaration'' on array\|object\.$#'
2123 identifier: offsetAccess.nonOffsetAccessible
2124 count: 1
2125 path: ../src/Packetery/Module/Order/CustomsDeclarationMetabox.php
2126
2127 -
2128 message: '#^Cannot access offset ''packetery_customs_declaration'' on array\|object\.$#'
2129 identifier: offsetAccess.nonOffsetAccessible
2130 count: 1
2131 path: ../src/Packetery/Module/Order/CustomsDeclarationMetabox.php
2132
2133 -
2134 message: '#^Method Packetery\\Module\\Order\\CustomsDeclarationMetabox\:\:createForm\(\) has parameter \$structureData with no value type specified in iterable type array\.$#'
2135 identifier: missingType.iterableValue
2136 count: 1
2137 path: ../src/Packetery/Module/Order/CustomsDeclarationMetabox.php
2138
2139 -
2140 message: '#^Method Packetery\\Module\\Order\\CustomsDeclarationMetabox\:\:processUploadedFile\(\) has parameter \$containerValues with no value type specified in iterable type array\.$#'
2141 identifier: missingType.iterableValue
2142 count: 1
2143 path: ../src/Packetery/Module/Order/CustomsDeclarationMetabox.php
2144
2145 -
2146 message: '#^Only booleans are allowed in an if condition, bool\|Packetery\\Nette\\Forms\\SubmitterControl given\.$#'
2147 identifier: if.condNotBoolean
2148 count: 1
2149 path: ../src/Packetery/Module/Order/CustomsDeclarationMetabox.php
2150
2151 -
2152 message: '#^Parameter \#1 \$orderNumber of method Packetery\\Module\\CustomsDeclaration\\Repository\:\:getByOrderNumber\(\) expects string, string\|null given\.$#'
2153 identifier: argument.type
2154 count: 3
2155 path: ../src/Packetery/Module/Order/CustomsDeclarationMetabox.php
2156
2157 -
2158 message: '#^Parameter \#1 \$structureData of method Packetery\\Module\\Order\\CustomsDeclarationMetabox\:\:createForm\(\) expects array, mixed given\.$#'
2159 identifier: argument.type
2160 count: 1
2161 path: ../src/Packetery/Module/Order/CustomsDeclarationMetabox.php
2162
2163 -
2164 message: '#^Parameter \#2 \$orderId of method Packetery\\Module\\EntityFactory\\CustomsDeclaration\:\:fromStandardizedStructure\(\) expects string, string\|null given\.$#'
2165 identifier: argument.type
2166 count: 1
2167 path: ../src/Packetery/Module/Order/CustomsDeclarationMetabox.php
2168
2169 -
2170 message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, object\|string given\.$#'
2171 identifier: argument.type
2172 count: 1
2173 path: ../src/Packetery/Module/Order/CustomsDeclarationMetabox.php
2174
2175 -
2176 message: '#^Cannot cast mixed to int\.$#'
2177 identifier: cast.int
2178 count: 1
2179 path: ../src/Packetery/Module/Order/DetailCommonLogic.php
2180
2181 -
2182 message: '#^Parameter \#1 \$filterOrdersToSubmitTitle of class Packetery\\Module\\Order\\GridLinksConfig constructor expects string, string\|null given\.$#'
2183 identifier: argument.type
2184 count: 1
2185 path: ../src/Packetery/Module/Order/GridExtender.php
2186
2187 -
2188 message: '#^Parameter \#1 \$text of function esc_html expects string, string\|null given\.$#'
2189 identifier: argument.type
2190 count: 3
2191 path: ../src/Packetery/Module/Order/GridExtender.php
2192
2193 -
2194 message: '#^Parameter \#2 \$filterOrdersToPrintTitle of class Packetery\\Module\\Order\\GridLinksConfig constructor expects string, string\|null given\.$#'
2195 identifier: argument.type
2196 count: 1
2197 path: ../src/Packetery/Module/Order/GridExtender.php
2198
2199 -
2200 message: '#^Parameter \#3 \$orderGridRunWizardTitle of class Packetery\\Module\\Order\\GridLinksConfig constructor expects string, string\|null given\.$#'
2201 identifier: argument.type
2202 count: 1
2203 path: ../src/Packetery/Module/Order/GridExtender.php
2204
2205 -
2206 message: '#^Cannot cast mixed to int\.$#'
2207 identifier: cast.int
2208 count: 1
2209 path: ../src/Packetery/Module/Order/LabelPrint.php
2210
2211 -
2212 message: '#^Method Packetery\\Module\\Order\\LabelPrint\:\:getOrderIdsTransient\(\) should return array\<string\>\|null but returns array\<mixed, mixed\>\.$#'
2213 identifier: return.type
2214 count: 1
2215 path: ../src/Packetery/Module/Order/LabelPrint.php
2216
2217 -
2218 message: '#^Method Packetery\\Module\\Order\\LabelPrint\:\:requestCarrierLabels\(\) has parameter \$packetIdsWithCourierNumbers with no value type specified in iterable type array\.$#'
2219 identifier: missingType.iterableValue
2220 count: 1
2221 path: ../src/Packetery/Module/Order/LabelPrint.php
2222
2223 -
2224 message: '#^Parameter \#1 \$format of function sprintf expects string, string\|null given\.$#'
2225 identifier: argument.type
2226 count: 3
2227 path: ../src/Packetery/Module/Order/LabelPrint.php
2228
2229 -
2230 message: '#^Parameter \#1 \$message of method Packetery\\Module\\MessageManager\:\:flash_message\(\) expects string, string\|null given\.$#'
2231 identifier: argument.type
2232 count: 2
2233 path: ../src/Packetery/Module/Order/LabelPrint.php
2234
2235 -
2236 message: '#^Parameter \#1 \$trackingUrl of method Packetery\\Module\\ModuleHelper\:\:createHtmlLink\(\) expects string, string\|null given\.$#'
2237 identifier: argument.type
2238 count: 1
2239 path: ../src/Packetery/Module/Order/LabelPrint.php
2240
2241 -
2242 message: '#^Parameter \#2 \$text of method Packetery\\Module\\ModuleHelper\:\:createHtmlLink\(\) expects string, string\|null given\.$#'
2243 identifier: argument.type
2244 count: 1
2245 path: ../src/Packetery/Module/Order/LabelPrint.php
2246
2247 -
2248 message: '#^Cannot access offset ''offset'' on array\|object\.$#'
2249 identifier: offsetAccess.nonOffsetAccessible
2250 count: 1
2251 path: ../src/Packetery/Module/Order/LabelPrintModal.php
2252
2253 -
2254 message: '#^Cannot access offset ''packet_id'' on array\|object\.$#'
2255 identifier: offsetAccess.nonOffsetAccessible
2256 count: 1
2257 path: ../src/Packetery/Module/Order/LabelPrintModal.php
2258
2259 -
2260 message: '#^Method Packetery\\Module\\Order\\Metabox\:\:getOrderActionLink\(\) has parameter \$extraParams with no value type specified in iterable type array\.$#'
2261 identifier: missingType.iterableValue
2262 count: 1
2263 path: ../src/Packetery/Module/Order/Metabox.php
2264
2265 -
2266 message: '#^Method Packetery\\Module\\Order\\Metabox\:\:getPickupPointWidgetSettings\(\) return type has no value type specified in iterable type array\.$#'
2267 identifier: missingType.iterableValue
2268 count: 1
2269 path: ../src/Packetery/Module/Order/Metabox.php
2270
2271 -
2272 message: '#^Only booleans are allowed in &&, float\|int\|string\|true\|null given on the left side\.$#'
2273 identifier: booleanAnd.leftNotBoolean
2274 count: 1
2275 path: ../src/Packetery/Module/Order/Metabox.php
2276
2277 -
2278 message: '#^Parameter \#1 \$adultContent of method Packetery\\Core\\Entity\\Order\:\:setAdultContent\(\) expects bool\|null, float\|int\|string\|true\|null given\.$#'
2279 identifier: argument.type
2280 count: 1
2281 path: ../src/Packetery/Module/Order/Metabox.php
2282
2283 -
2284 message: '#^Parameter \#1 \$data of method Packetery\\Nette\\Forms\\Container\:\:setValues\(\) expects array\|object, mixed given\.$#'
2285 identifier: argument.type
2286 count: 1
2287 path: ../src/Packetery/Module/Order/Metabox.php
2288
2289 -
2290 message: '#^Parameter \#1 \$date of method Packetery\\Core\\CoreHelper\:\:getDateTimeFromString\(\) expects string\|null, float\|int\|string\|true\|null given\.$#'
2291 identifier: argument.type
2292 count: 1
2293 path: ../src/Packetery/Module/Order/Metabox.php
2294
2295 -
2296 message: '#^Parameter \#1 \$format of function sprintf expects string, string\|null given\.$#'
2297 identifier: argument.type
2298 count: 7
2299 path: ../src/Packetery/Module/Order/Metabox.php
2300
2301 -
2302 message: '#^Parameter \#1 \$message of method Packetery\\Module\\MessageManager\:\:flash_message\(\) expects string, string\|null given\.$#'
2303 identifier: argument.type
2304 count: 3
2305 path: ../src/Packetery/Module/Order/Metabox.php
2306
2307 -
2308 message: '#^Parameter \#1 \$name of method Packetery\\Nette\\Forms\\Container\:\:addHidden\(\) expects string, bool\|string given\.$#'
2309 identifier: argument.type
2310 count: 2
2311 path: ../src/Packetery/Module/Order/Metabox.php
2312
2313 -
2314 message: '#^Parameter \#1 \$nonce of function wp_verify_nonce expects string, float\|int\|string\|true\|null given\.$#'
2315 identifier: argument.type
2316 count: 1
2317 path: ../src/Packetery/Module/Order/Metabox.php
2318
2319 -
2320 message: '#^Parameter \#1 \$value of method Packetery\\Module\\Options\\OptionsProvider\:\:getSanitizedDimensionValueInMm\(\) expects float\|string, float\|int\|string\|true\|null given\.$#'
2321 identifier: argument.type
2322 count: 1
2323 path: ../src/Packetery/Module/Order/Metabox.php
2324
2325 -
2326 message: '#^Parameter \#1 \$value of static method Packetery\\Core\\CoreHelper\:\:simplifyFloat\(\) expects float\|null, float\|int\|string given\.$#'
2327 identifier: argument.type
2328 count: 2
2329 path: ../src/Packetery/Module/Order/Metabox.php
2330
2331 -
2332 message: '#^Parameter \#2 \$attributeName of method Packetery\\Module\\Order\\AttributeMapper\:\:toWcOrderShippingAddress\(\) expects string, bool\|string given\.$#'
2333 identifier: argument.type
2334 count: 1
2335 path: ../src/Packetery/Module/Order/Metabox.php
2336
2337 -
2338 message: '#^Parameter \#2 \$propsToSave of method Packetery\\Module\\Order\\AttributeMapper\:\:toOrderEntityPickupPoint\(\) expects array\<string, float\|int\|string\|true\|null\>, non\-empty\-array\<0\|1\|string, float\|int\|string\|true\|null\> given\.$#'
2339 identifier: argument.type
2340 count: 1
2341 path: ../src/Packetery/Module/Order/Metabox.php
2342
2343 -
2344 message: '#^Parameter \#2 \$propsToSave of method Packetery\\Module\\Order\\AttributeMapper\:\:toOrderSize\(\) expects array\<string, float\|int\|string\|true\|null\>, non\-empty\-array\<0\|1\|string, float\|int\|string\|true\|null\> given\.$#'
2345 identifier: argument.type
2346 count: 1
2347 path: ../src/Packetery/Module/Order/Metabox.php
2348
2349 -
2350 message: '#^Parameter \#2 \$title of function add_meta_box expects string, string\|null given\.$#'
2351 identifier: argument.type
2352 count: 1
2353 path: ../src/Packetery/Module/Order/Metabox.php
2354
2355 -
2356 message: '#^Cannot cast mixed to int\.$#'
2357 identifier: cast.int
2358 count: 1
2359 path: ../src/Packetery/Module/Order/MetaboxesWrapper.php
2360
2361 -
2362 message: '#^Parameter \#1 \$encoded_string of function parse_str expects string, mixed given\.$#'
2363 identifier: argument.type
2364 count: 1
2365 path: ../src/Packetery/Module/Order/PacketActionsCommonLogic.php
2366
2367 -
2368 message: '#^Parameter \#1 \$nonce of function wp_verify_nonce expects string, mixed given\.$#'
2369 identifier: argument.type
2370 count: 1
2371 path: ../src/Packetery/Module/Order/PacketActionsCommonLogic.php
2372
2373 -
2374 message: '#^Parameter \#1 \$redirectTo of method Packetery\\Module\\Order\\PacketActionsCommonLogic\:\:redirectTo\(\) expects string, mixed given\.$#'
2375 identifier: argument.type
2376 count: 1
2377 path: ../src/Packetery/Module/Order/PacketActionsCommonLogic.php
2378
2379 -
2380 message: '#^Parameter \#1 \$orderId of method Packetery\\Module\\Order\\WcOrderActions\:\:updateOrderStatus\(\) expects string, string\|null given\.$#'
2381 identifier: argument.type
2382 count: 1
2383 path: ../src/Packetery/Module/Order/PacketCanceller.php
2384
2385 -
2386 message: '#^Parameter \#1 \$redirectTo of method Packetery\\Module\\Order\\PacketActionsCommonLogic\:\:redirectTo\(\) expects string, mixed given\.$#'
2387 identifier: argument.type
2388 count: 2
2389 path: ../src/Packetery/Module/Order/PacketCanceller.php
2390
2391 -
2392 message: '#^Parameter \#1 \$trackingUrl of method Packetery\\Module\\ModuleHelper\:\:createHtmlLink\(\) expects string, string\|null given\.$#'
2393 identifier: argument.type
2394 count: 1
2395 path: ../src/Packetery/Module/Order/PacketCanceller.php
2396
2397 -
2398 message: '#^Parameter \#2 \$packetId of method Packetery\\Module\\Order\\PacketCanceller\:\:cancelPacket\(\) expects string\|null, mixed given\.$#'
2399 identifier: argument.type
2400 count: 1
2401 path: ../src/Packetery/Module/Order/PacketCanceller.php
2402
2403 -
2404 message: '#^Parameter \#2 \$text of method Packetery\\Module\\ModuleHelper\:\:createHtmlLink\(\) expects string, string\|null given\.$#'
2405 identifier: argument.type
2406 count: 1
2407 path: ../src/Packetery/Module/Order/PacketCanceller.php
2408
2409 -
2410 message: '#^Parameter \#1 \$redirectTo of method Packetery\\Module\\Order\\PacketActionsCommonLogic\:\:redirectTo\(\) expects string, mixed given\.$#'
2411 identifier: argument.type
2412 count: 3
2413 path: ../src/Packetery/Module/Order/PacketClaimSubmitter.php
2414
2415 -
2416 message: '#^Parameter \#1 \$trackingUrl of method Packetery\\Module\\ModuleHelper\:\:createHtmlLink\(\) expects string, string\|null given\.$#'
2417 identifier: argument.type
2418 count: 1
2419 path: ../src/Packetery/Module/Order/PacketClaimSubmitter.php
2420
2421 -
2422 message: '#^Parameter \#2 \$text of method Packetery\\Module\\ModuleHelper\:\:createHtmlLink\(\) expects string, string\|null given\.$#'
2423 identifier: argument.type
2424 count: 1
2425 path: ../src/Packetery/Module/Order/PacketClaimSubmitter.php
2426
2427 -
2428 message: '#^Parameter \#1 \$packetId of class Packetery\\Core\\Api\\Soap\\Request\\PacketSetStoredUntil constructor expects string, string\|null given\.$#'
2429 identifier: argument.type
2430 count: 1
2431 path: ../src/Packetery/Module/Order/PacketSetStoredUntil.php
2432
2433 -
2434 message: '#^Cannot call method get_data\(\) on WC_Order_Item_Shipping\|false\.$#'
2435 identifier: method.nonObject
2436 count: 1
2437 path: ../src/Packetery/Module/Order/PacketSubmitter.php
2438
2439 -
2440 message: '#^Parameter \#1 \$message of method Packetery\\Module\\Message\:\:setText\(\) expects string, string\|null given\.$#'
2441 identifier: argument.type
2442 count: 3
2443 path: ../src/Packetery/Module/Order/PacketSubmitter.php
2444
2445 -
2446 message: '#^Parameter \#1 \$redirectTo of method Packetery\\Module\\Order\\PacketActionsCommonLogic\:\:redirectTo\(\) expects string, mixed given\.$#'
2447 identifier: argument.type
2448 count: 2
2449 path: ../src/Packetery/Module/Order/PacketSubmitter.php
2450
2451 -
2452 message: '#^Parameter \#1 \$str of function base64_encode expects string, string\|null given\.$#'
2453 identifier: argument.type
2454 count: 2
2455 path: ../src/Packetery/Module/Order/PacketSubmitter.php
2456
2457 -
2458 message: '#^Parameter \#1 \$trackingUrl of method Packetery\\Module\\ModuleHelper\:\:createHtmlLink\(\) expects string, string\|null given\.$#'
2459 identifier: argument.type
2460 count: 1
2461 path: ../src/Packetery/Module/Order/PacketSubmitter.php
2462
2463 -
2464 message: '#^Parameter \#1 \$wcOrder of method Packetery\\Module\\Order\\PacketSubmitter\:\:submitPacket\(\) expects WC_Order, WC_Order\|null given\.$#'
2465 identifier: argument.type
2466 count: 1
2467 path: ../src/Packetery/Module/Order/PacketSubmitter.php
2468
2469 -
2470 message: '#^Parameter \#2 \$text of method Packetery\\Module\\ModuleHelper\:\:createHtmlLink\(\) expects string, string\|null given\.$#'
2471 identifier: argument.type
2472 count: 1
2473 path: ../src/Packetery/Module/Order/PacketSubmitter.php
2474
2475 -
2476 message: '#^Parameter \#1 \$orderId of method Packetery\\Module\\Order\\WcOrderActions\:\:updateOrderStatus\(\) expects string, string\|null given\.$#'
2477 identifier: argument.type
2478 count: 1
2479 path: ../src/Packetery/Module/Order/PacketSynchronizer.php
2480
2481 -
2482 message: '#^Parameter \#1 \$packetId of class Packetery\\Core\\Api\\Soap\\Request\\PacketStatus constructor expects string, string\|null given\.$#'
2483 identifier: argument.type
2484 count: 1
2485 path: ../src/Packetery/Module/Order/PacketSynchronizer.php
2486
2487 -
2488 message: '#^Parameter \#2 \$translatedName of class Packetery\\Core\\Entity\\PacketStatus constructor expects string, string\|null given\.$#'
2489 identifier: argument.type
2490 count: 16
2491 path: ../src/Packetery/Module/Order/PacketSynchronizer.php
2492
2493 -
2494 message: '#^Access to an undefined property object\:\:\$id\.$#'
2495 identifier: property.notFound
2496 count: 2
2497 path: ../src/Packetery/Module/Order/Repository.php
2498
2499 -
2500 message: '#^Argument of an invalid type array\<object\>\|null supplied for foreach, only iterables are supported\.$#'
2501 identifier: foreach.nonIterable
2502 count: 1
2503 path: ../src/Packetery/Module/Order/Repository.php
2504
2505 -
2506 message: '#^Method Packetery\\Module\\Order\\Repository\:\:getDataById\(\) should return object\|null but returns array\<string, mixed\>\|object\|null\.$#'
2507 identifier: return.type
2508 count: 1
2509 path: ../src/Packetery/Module/Order/Repository.php
2510
2511 -
2512 message: '#^Method Packetery\\Module\\Order\\Repository\:\:processClauses\(\) should return array\<string, string\> but returns array\<string, string\|null\>\.$#'
2513 identifier: return.type
2514 count: 1
2515 path: ../src/Packetery/Module/Order/Repository.php
2516
2517 -
2518 message: '#^Offset ''file'' might not exist on array\{function\: string, line\?\: int, file\?\: string, class\?\: class\-string, type\?\: ''\-\>''\|''\:\:'', args\?\: array\<mixed\>, object\?\: object\}\.$#'
2519 identifier: offsetAccess.notFound
2520 count: 1
2521 path: ../src/Packetery/Module/Order/Repository.php
2522
2523 -
2524 message: '#^Offset ''line'' might not exist on array\{function\: string, line\?\: int, file\?\: string, class\?\: class\-string, type\?\: ''\-\>''\|''\:\:'', args\?\: array\<mixed\>, object\?\: object\}\.$#'
2525 identifier: offsetAccess.notFound
2526 count: 1
2527 path: ../src/Packetery/Module/Order/Repository.php
2528
2529 -
2530 message: '#^Parameter \#1 \$carrierId of method Packetery\\Module\\Carrier\\PacketaPickupPointsConfig\:\:isInternalPickupPointCarrier\(\) expects string, DateTimeImmutable\|string\|null given\.$#'
2531 identifier: argument.type
2532 count: 1
2533 path: ../src/Packetery/Module/Order/Repository.php
2534
2535 -
2536 message: '#^Parameter \#1 \$orderData of method Packetery\\Module\\Order\\Repository\:\:onBeforeDataInsertion\(\) expects array\<string, DateTimeImmutable\|string\|null\>, array\<string, DateTimeImmutable\|int\|string\|null\> given\.$#'
2537 identifier: argument.type
2538 count: 1
2539 path: ../src/Packetery/Module/Order/Repository.php
2540
2541 -
2542 message: '#^Parameter \#1 \$orderData of method Packetery\\Module\\Order\\Repository\:\:saveData\(\) expects array\<string, DateTimeImmutable\|int\|string\|null\>, array\<string, bool\|float\|int\|string\|null\> given\.$#'
2543 identifier: argument.type
2544 count: 1
2545 path: ../src/Packetery/Module/Order/Repository.php
2546
2547 -
2548 message: '#^Parameter \#2 \$result of method Packetery\\Module\\Order\\Builder\:\:build\(\) expects stdClass, object given\.$#'
2549 identifier: argument.type
2550 count: 4
2551 path: ../src/Packetery/Module/Order/Repository.php
2552
2553 -
2554 message: '#^Method Packetery\\Module\\Plugin\:\:getSites\(\) return type has no value type specified in iterable type array\.$#'
2555 identifier: missingType.iterableValue
2556 count: 1
2557 path: ../src/Packetery/Module/Plugin.php
2558
2559 -
2560 message: '#^Call to function array_filter\(\) requires parameter \#2 to be passed to avoid loose comparison semantics\.$#'
2561 identifier: arrayFilter.strict
2562 count: 1
2563 path: ../src/Packetery/Module/Product/DataTab.php
2564
2565 -
2566 message: '#^Only booleans are allowed in an if condition, bool\|Packetery\\Nette\\Forms\\SubmitterControl given\.$#'
2567 identifier: if.condNotBoolean
2568 count: 1
2569 path: ../src/Packetery/Module/Product/DataTab.php
2570
2571 -
2572 message: '#^Parameter \#1 \$input of function array_filter expects array, array\<string, bool\>\|string given\.$#'
2573 identifier: argument.type
2574 count: 1
2575 path: ../src/Packetery/Module/Product/DataTab.php
2576
2577 -
2578 message: '#^Property Packetery\\Nette\\Forms\\Form\:\:\$onSuccess \(array\<\(callable\(array\|object\)\: void\)\|\(callable\(Packetery\\Nette\\Forms\\Form, array\|object\)\: void\)\>\) does not accept non\-empty\-array\<\(callable\(array\|object\)\: void\)\|\(callable\(Packetery\\Nette\\Forms\\Form, array\|object\)\: void\)\|\(Closure\(Packetery\\Nette\\Forms\\Form, array\)\: void\)\>\.$#'
2579 identifier: assign.propertyType
2580 count: 1
2581 path: ../src/Packetery/Module/Product/DataTab.php
2582
2583 -
2584 message: '#^Cannot cast mixed to string\.$#'
2585 identifier: cast.string
2586 count: 4
2587 path: ../src/Packetery/Module/Product/Entity.php
2588
2589 -
2590 message: '#^Method Packetery\\Module\\Product\\Entity\:\:getDisallowedShippingRateChoices\(\) should return array\<string\> but returns array\<mixed, mixed\>\.$#'
2591 identifier: return.type
2592 count: 1
2593 path: ../src/Packetery/Module/Product/Entity.php
2594
2595 -
2596 message: '#^Method Packetery\\Module\\ProductCategory\\Entity\:\:getDisallowedShippingRateChoices\(\) should return array\<string, bool\> but returns array\<mixed, mixed\>\.$#'
2597 identifier: return.type
2598 count: 1
2599 path: ../src/Packetery/Module/ProductCategory/Entity.php
2600
2601 -
2602 message: '#^Call to function array_filter\(\) requires parameter \#2 to be passed to avoid loose comparison semantics\.$#'
2603 identifier: arrayFilter.strict
2604 count: 1
2605 path: ../src/Packetery/Module/ProductCategory/FormFields.php
2606
2607 -
2608 message: '#^Only booleans are allowed in an if condition, bool\|Packetery\\Nette\\Forms\\SubmitterControl given\.$#'
2609 identifier: if.condNotBoolean
2610 count: 1
2611 path: ../src/Packetery/Module/ProductCategory/FormFields.php
2612
2613 -
2614 message: '#^Property Packetery\\Nette\\Forms\\Form\:\:\$onSuccess \(array\<\(callable\(array\|object\)\: void\)\|\(callable\(Packetery\\Nette\\Forms\\Form, array\|object\)\: void\)\>\) does not accept non\-empty\-array\<\(callable\(array\|object\)\: void\)\|\(callable\(Packetery\\Nette\\Forms\\Form, array\|object\)\: void\)\|\(Closure\(Packetery\\Nette\\Forms\\Form, array\)\: void\)\>\.$#'
2615 identifier: assign.propertyType
2616 count: 1
2617 path: ../src/Packetery/Module/ProductCategory/FormFields.php
2618
2619 -
2620 message: '#^Parameter \#1 \$category of class Packetery\\Module\\ProductCategory\\Entity constructor expects WP_Term, WP_Error\|WP_Term\|null given\.$#'
2621 identifier: argument.type
2622 count: 1
2623 path: ../src/Packetery/Module/ProductCategory/ProductCategoryEntityFactory.php
2624
2625 -
2626 message: '#^Method Packetery\\Module\\QueryProcessor\:\:getParamValues\(\) should return array\<string, null\> but returns array\<string, mixed\>\.$#'
2627 identifier: return.type
2628 count: 1
2629 path: ../src/Packetery/Module/QueryProcessor.php
2630
2631 -
2632 message: '#^Method Packetery\\Module\\Shipping\\BaseShippingMethod\:\:calculate_shipping\(\) has parameter \$package with no value type specified in iterable type array\.$#'
2633 identifier: missingType.iterableValue
2634 count: 1
2635 path: ../src/Packetery/Module/Shipping/BaseShippingMethod.php
2636
2637 -
2638 message: '#^Method Packetery\\Module\\Shipping\\BaseShippingMethod\:\:get_instance_form_fields\(\) return type has no value type specified in iterable type array\.$#'
2639 identifier: missingType.iterableValue
2640 count: 1
2641 path: ../src/Packetery/Module/Shipping/BaseShippingMethod.php
2642
2643 -
2644 message: '#^Parameter \#1 \$package of method Packetery\\Module\\Framework\\WcAdapter\:\:shippingZonesGetZoneMatchingPackage\(\) expects array\{contents\: array\<string, array\<string, mixed\>\>, contents_cost\: float, applied_coupons\: array, user\: array\{ID\: int\}, destination\: array\<string, string\>, cart_subtotal\: float, packetery_payment_method\: mixed, rates\: array\<string, WC_Shipping_Rate\>\}, array given\.$#'
2645 identifier: argument.type
2646 count: 1
2647 path: ../src/Packetery/Module/Shipping/BaseShippingMethod.php
2648
2649 -
2650 message: '#^Property Packetery\\Module\\Shipping\\BaseShippingMethod\:\:\$options \(array\<string, string\|null\>\|false\|null\) does not accept mixed\.$#'
2651 identifier: assign.propertyType
2652 count: 1
2653 path: ../src/Packetery/Module/Shipping/BaseShippingMethod.php
2654
2655 -
2656 message: '#^Property WC_Shipping_Method\:\:\$title \(string\) does not accept mixed\.$#'
2657 identifier: assign.propertyType
2658 count: 1
2659 path: ../src/Packetery/Module/Shipping/BaseShippingMethod.php
2660
2661 -
2662 message: '#^Argument of an invalid type array\<int, array\<string, string\>\>\|null supplied for foreach, only iterables are supported\.$#'
2663 identifier: foreach.nonIterable
2664 count: 1
2665 path: ../src/Packetery/Module/Shipping/ShippingMethodGenerator.php
2666
2667 -
2668 message: '#^Access to an undefined property object\:\:\$method_title\.$#'
2669 identifier: property.notFound
2670 count: 2
2671 path: ../src/Packetery/Module/Shipping/ShippingProvider.php
2672
2673 -
2674 message: '#^Argument of an invalid type list\<string\>\|false supplied for foreach, only iterables are supported\.$#'
2675 identifier: foreach.nonIterable
2676 count: 2
2677 path: ../src/Packetery/Module/Shipping/ShippingProvider.php
2678
2679 -
2680 message: '#^Method Packetery\\Module\\Shipping\\ShippingProvider\:\:addActiveCarrierMethod\(\) should return array\<string, string\> but returns array\<string, Packetery\\Module\\Shipping\\BaseShippingMethod\|string\>\.$#'
2681 identifier: return.type
2682 count: 1
2683 path: ../src/Packetery/Module/Shipping/ShippingProvider.php
2684
2685 -
2686 message: '#^Method Packetery\\Module\\Shipping\\ShippingProvider\:\:getGeneratedClassnames\(\) return type has no value type specified in iterable type array\.$#'
2687 identifier: missingType.iterableValue
2688 count: 1
2689 path: ../src/Packetery/Module/Shipping/ShippingProvider.php
2690
2691 -
2692 message: '#^Only booleans are allowed in a negated boolean, int\|false given\.$#'
2693 identifier: booleanNot.exprNotBoolean
2694 count: 1
2695 path: ../src/Packetery/Module/Shipping/ShippingProvider.php
2696
2697 -
2698 message: '#^Only booleans are allowed in an if condition, int\|false given\.$#'
2699 identifier: if.condNotBoolean
2700 count: 3
2701 path: ../src/Packetery/Module/Shipping/ShippingProvider.php
2702
2703 -
2704 message: '#^Method Packetery\\Module\\ShippingZoneRepository\:\:getCountryCodesForShippingZone\(\) return type has no value type specified in iterable type array\.$#'
2705 identifier: missingType.iterableValue
2706 count: 1
2707 path: ../src/Packetery/Module/ShippingZoneRepository.php
2708
2709 -
2710 message: '#^Method Packetery\\Module\\ShippingZoneRepository\:\:getCountryCodesFromZoneLocations\(\) has parameter \$zoneLocations with no value type specified in iterable type array\.$#'
2711 identifier: missingType.iterableValue
2712 count: 1
2713 path: ../src/Packetery/Module/ShippingZoneRepository.php
2714
2715 -
2716 message: '#^Method Packetery\\Module\\ShippingZoneRepository\:\:getCountryCodesFromZoneLocations\(\) return type has no value type specified in iterable type array\.$#'
2717 identifier: missingType.iterableValue
2718 count: 1
2719 path: ../src/Packetery/Module/ShippingZoneRepository.php
2720
2721 -
2722 message: '#^Method Packetery\\Module\\ShippingZoneRepository\:\:getDataStore\(\) should return WC_Shipping_Zone_Data_Store_Interface but returns WC_Data_Store\|WC_Shipping_Zone_Data_Store_Interface\.$#'
2723 identifier: return.type
2724 count: 1
2725 path: ../src/Packetery/Module/ShippingZoneRepository.php
2726
2727 -
2728 message: '#^Argument of an invalid type array\<WC_Order\>\|stdClass supplied for foreach, only iterables are supported\.$#'
2729 identifier: foreach.nonIterable
2730 count: 1
2731 path: ../src/Packetery/Module/Upgrade.php
2732
2733 -
2734 message: '#^Cannot access offset ''received data'' on mixed\.$#'
2735 identifier: offsetAccess.nonOffsetAccessible
2736 count: 1
2737 path: ../src/Packetery/Module/Upgrade.php
2738
2739 -
2740 message: '#^Cannot cast mixed to float\.$#'
2741 identifier: cast.double
2742 count: 1
2743 path: ../src/Packetery/Module/Upgrade.php
2744
2745 -
2746 message: '#^Cannot cast mixed to string\.$#'
2747 identifier: cast.string
2748 count: 1
2749 path: ../src/Packetery/Module/Upgrade.php
2750
2751 -
2752 message: '#^Parameter \#1 \$address of method Packetery\\Core\\Entity\\Order\:\:setDeliveryAddress\(\) expects Packetery\\Core\\Entity\\Address, Packetery\\Core\\Entity\\Address\|null given\.$#'
2753 identifier: argument.type
2754 count: 1
2755 path: ../src/Packetery/Module/Upgrade.php
2756
2757 -
2758 message: '#^Parameter \#1 \$carrierId of method Packetery\\Module\\Carrier\\EntityRepository\:\:getAnyById\(\) expects string, string\|null given\.$#'
2759 identifier: argument.type
2760 count: 1
2761 path: ../src/Packetery/Module/Upgrade.php
2762
2763 -
2764 message: '#^Parameter \#1 \$county of method Packetery\\Core\\Entity\\Address\:\:setCounty\(\) expects string\|null, mixed given\.$#'
2765 identifier: argument.type
2766 count: 1
2767 path: ../src/Packetery/Module/Upgrade.php
2768
2769 -
2770 message: '#^Parameter \#1 \$houseNumber of method Packetery\\Core\\Entity\\Address\:\:setHouseNumber\(\) expects string\|null, mixed given\.$#'
2771 identifier: argument.type
2772 count: 1
2773 path: ../src/Packetery/Module/Upgrade.php
2774
2775 -
2776 message: '#^Parameter \#1 \$latitude of method Packetery\\Core\\Entity\\Address\:\:setLatitude\(\) expects string\|null, mixed given\.$#'
2777 identifier: argument.type
2778 count: 1
2779 path: ../src/Packetery/Module/Upgrade.php
2780
2781 -
2782 message: '#^Parameter \#1 \$longitude of method Packetery\\Core\\Entity\\Address\:\:setLongitude\(\) expects string\|null, mixed given\.$#'
2783 identifier: argument.type
2784 count: 1
2785 path: ../src/Packetery/Module/Upgrade.php
2786
2787 -
2788 message: '#^Parameter \#1 \$street of class Packetery\\Core\\Entity\\Address constructor expects string\|null, mixed given\.$#'
2789 identifier: argument.type
2790 count: 1
2791 path: ../src/Packetery/Module/Upgrade.php
2792
2793 -
2794 message: '#^Parameter \#1 \$version1 of function version_compare expects string, mixed given\.$#'
2795 identifier: argument.type
2796 count: 9
2797 path: ../src/Packetery/Module/Upgrade.php
2798
2799 -
2800 message: '#^Parameter \#2 \$carrier of class Packetery\\Core\\Entity\\Order constructor expects Packetery\\Core\\Entity\\Carrier, Packetery\\Core\\Entity\\Carrier\|null given\.$#'
2801 identifier: argument.type
2802 count: 1
2803 path: ../src/Packetery/Module/Upgrade.php
2804
2805 -
2806 message: '#^Parameter \#2 \$city of class Packetery\\Core\\Entity\\Address constructor expects string\|null, mixed given\.$#'
2807 identifier: argument.type
2808 count: 1
2809 path: ../src/Packetery/Module/Upgrade.php
2810
2811 -
2812 message: '#^Parameter \#3 \$zip of class Packetery\\Core\\Entity\\Address constructor expects string\|null, mixed given\.$#'
2813 identifier: argument.type
2814 count: 1
2815 path: ../src/Packetery/Module/Upgrade.php
2816
2817 -
2818 message: '#^Method Packetery\\Module\\Views\\AssetManager\:\:enqueueScript\(\) has parameter \$deps with no value type specified in iterable type array\.$#'
2819 identifier: missingType.iterableValue
2820 count: 1
2821 path: ../src/Packetery/Module/Views/AssetManager.php
2822
2823 -
2824 message: '#^Cannot cast mixed to string\.$#'
2825 identifier: cast.string
2826 count: 1
2827 path: ../src/Packetery/Module/Views/ViewMail.php
2828
2829 -
2830 message: '#^Argument of an invalid type array\<WC_Order\>\|stdClass supplied for foreach, only iterables are supported\.$#'
2831 identifier: foreach.nonIterable
2832 count: 1
2833 path: ../src/Packetery/Module/Views/WizardAssetManager.php
2834
2835 -
2836 message: '#^Cannot cast mixed to int\.$#'
2837 identifier: cast.int
2838 count: 1
2839 path: ../src/Packetery/Module/Views/WizardAssetManager.php
2840
2841 -
2842 message: '#^Method Packetery\\Module\\Views\\WizardAssetManager\:\:createOrderDetailCustomDeclarationTour\(\) has parameter \$basicTranslations with no value type specified in iterable type array\.$#'
2843 identifier: missingType.iterableValue
2844 count: 1
2845 path: ../src/Packetery/Module/Views/WizardAssetManager.php
2846
2847 -
2848 message: '#^Method Packetery\\Module\\Views\\WizardAssetManager\:\:createOrderDetailEditPacketTour\(\) has parameter \$basicTranslations with no value type specified in iterable type array\.$#'
2849 identifier: missingType.iterableValue
2850 count: 1
2851 path: ../src/Packetery/Module/Views/WizardAssetManager.php
2852
2853 -
2854 message: '#^Method Packetery\\Module\\Views\\WizardAssetManager\:\:createOrderGridEditPacketTour\(\) has parameter \$basicTranslations with no value type specified in iterable type array\.$#'
2855 identifier: missingType.iterableValue
2856 count: 1
2857 path: ../src/Packetery/Module/Views/WizardAssetManager.php
2858
2859 -
2860 message: '#^Method Packetery\\Module\\Views\\WizardAssetManager\:\:createOrderGridTour\(\) has parameter \$basicTranslations with no value type specified in iterable type array\.$#'
2861 identifier: missingType.iterableValue
2862 count: 1
2863 path: ../src/Packetery/Module/Views/WizardAssetManager.php
2864
2865 -
2866 message: '#^Parameter \#1 \$format of function sprintf expects string, string\|null given\.$#'
2867 identifier: argument.type
2868 count: 1
2869 path: ../src/Packetery/Module/Views/WizardAssetManager.php
2870
2871 -
2872 message: '#^Parameter \#2 \$args of function wp_remote_get expects array\{method\?\: string, timeout\?\: float, redirection\?\: int, httpversion\?\: string, user\-agent\?\: string, reject_unsafe_urls\?\: bool, blocking\?\: bool, headers\?\: array\|string, \.\.\.\}, non\-empty\-array\<int\|string, mixed\> given\.$#'
2873 identifier: argument.type
2874 count: 1
2875 path: ../src/Packetery/Module/WebRequestClient.php
2876
2877 -
2878 message: '#^Parameter \#2 \$args of function wp_remote_post expects array\{method\?\: string, timeout\?\: float, redirection\?\: int, httpversion\?\: string, user\-agent\?\: string, reject_unsafe_urls\?\: bool, blocking\?\: bool, headers\?\: array\|string, \.\.\.\}, array\<string, mixed\> given\.$#'
2879 identifier: argument.type
2880 count: 1
2881 path: ../src/Packetery/Module/WebRequestClient.php
2882
2883 -
2884 message: '#^Method Packetery\\Module\\WeightCalculator\:\:calculateOrderWeight\(\) should return float but returns float\|null\.$#'
2885 identifier: return.type
2886 count: 1
2887 path: ../src/Packetery/Module/WeightCalculator.php
2888
2889 -
2890 message: '#^Argument of an invalid type array\|null supplied for foreach, only iterables are supported\.$#'
2891 identifier: foreach.nonIterable
2892 count: 1
2893 path: ../src/Packetery/Module/WidgetOptionsBuilder.php
2894
2895 -
2896 message: '#^Cannot access offset ''address_validation'' on mixed\.$#'
2897 identifier: offsetAccess.nonOffsetAccessible
2898 count: 1
2899 path: ../src/Packetery/Module/WidgetOptionsBuilder.php
2900
2901 -
2902 message: '#^Cannot access offset ''vendor_groups'' on mixed\.$#'
2903 identifier: offsetAccess.nonOffsetAccessible
2904 count: 1
2905 path: ../src/Packetery/Module/WidgetOptionsBuilder.php
2906
2907 -
2908 message: '#^Method Packetery\\Module\\WidgetOptionsBuilder\:\:createAddressForAdmin\(\) return type has no value type specified in iterable type array\.$#'
2909 identifier: missingType.iterableValue
2910 count: 1
2911 path: ../src/Packetery/Module/WidgetOptionsBuilder.php
2912
2913 -
2914 message: '#^Method Packetery\\Module\\WidgetOptionsBuilder\:\:createPickupPointForAdmin\(\) return type has no value type specified in iterable type array\.$#'
2915 identifier: missingType.iterableValue
2916 count: 1
2917 path: ../src/Packetery/Module/WidgetOptionsBuilder.php
2918
2919 -
2920 message: '#^Method Packetery\\Module\\WidgetOptionsBuilder\:\:getCarrierForCheckout\(\) return type has no value type specified in iterable type array\.$#'
2921 identifier: missingType.iterableValue
2922 count: 1
2923 path: ../src/Packetery/Module/WidgetOptionsBuilder.php
2924
2925 -
2926 message: '#^Method Packetery\\Module\\WidgetOptionsBuilder\:\:getWidgetVendorsParam\(\) has parameter \$vendorGroups with no value type specified in iterable type array\.$#'
2927 identifier: missingType.iterableValue
2928 count: 1
2929 path: ../src/Packetery/Module/WidgetOptionsBuilder.php
2930
2931 -
2932 message: '#^Method Packetery\\Module\\WidgetOptionsBuilder\:\:getWidgetVendorsParam\(\) return type has no value type specified in iterable type array\.$#'
2933 identifier: missingType.iterableValue
2934 count: 1
2935 path: ../src/Packetery/Module/WidgetOptionsBuilder.php
2936
2937 -
2938 message: '#^Parameter \#2 \$country of method Packetery\\Module\\WidgetOptionsBuilder\:\:getWidgetVendorsParam\(\) expects string, string\|null given\.$#'
2939 identifier: argument.type
2940 count: 1
2941 path: ../src/Packetery/Module/WidgetOptionsBuilder.php
2942
2943 -
2944 message: '#^Parameter \#3 \$vendorGroups of method Packetery\\Module\\WidgetOptionsBuilder\:\:getWidgetVendorsParam\(\) expects array\|null, mixed given\.$#'
2945 identifier: argument.type
2946 count: 1
2947 path: ../src/Packetery/Module/WidgetOptionsBuilder.php
2948
2949 -
2950 message: '#^Method Packetery\\Module\\WpdbAdapter\:\:get_results\(\) should return array\<object\>\|null but returns array\<array\<mixed\>\|stdClass\>\|null\.$#'
2951 identifier: return.type
2952 count: 1
2953 path: ../src/Packetery/Module/WpdbAdapter.php
2954
2955 -
2956 message: '#^Parameter \#1 \$query of method wpdb\:\:prepare\(\) expects literal\-string, string given\.$#'
2957 identifier: argument.type
2958 count: 1
2959 path: ../src/Packetery/Module/WpdbAdapter.php
2960
2961 -
2962 message: '#^Parameter \#2 \$output of method wpdb\:\:get_results\(\) expects ''ARRAY_A''\|''ARRAY_N''\|''OBJECT''\|''OBJECT_K'', string given\.$#'
2963 identifier: argument.type
2964 count: 1
2965 path: ../src/Packetery/Module/WpdbAdapter.php
2966
2967 -
2968 message: '#^Parameter \#2 \$output of method wpdb\:\:get_row\(\) expects ''ARRAY_A''\|''ARRAY_N''\|''OBJECT'', string given\.$#'
2969 identifier: argument.type
2970 count: 1
2971 path: ../src/Packetery/Module/WpdbAdapter.php
2972
2973 -
2974 message: '#^Parameter \#4 \$type of method wpdb\:\:_insert_replace_helper\(\) expects ''INSERT''\|''REPLACE'', string given\.$#'
2975 identifier: argument.type
2976 count: 1
2977 path: ../src/Packetery/Module/WpdbAdapter.php
2978
2979 -
2980 message: '#^Path in require_once\(\) "\./wp\-admin/includes/upgrade\.php" is not a file or it does not exist\.$#'
2981 identifier: requireOnce.fileNotFound
2982 count: 1
2983 path: ../src/Packetery/Module/WpdbAdapter.php
2984
2985 -
2986 message: '#^Binary operation "\*" between mixed and 1000 results in an error\.$#'
2987 identifier: binaryOp.invalid
2988 count: 1
2989 path: ../src/Packetery/Module/WpdbTracyPanel.php
2990
2991 -
2992 message: '#^Cannot use array destructuring on mixed\.$#'
2993 identifier: offsetAccess.nonArray
2994 count: 1
2995 path: ../src/Packetery/Module/WpdbTracyPanel.php
2996
2997 -
2998 message: '#^Parameter \#1 \$haystack of function strpos expects string, mixed given\.$#'
2999 identifier: argument.type
3000 count: 2
3001 path: ../src/Packetery/Module/WpdbTracyPanel.php
3002