PluginProbe
Packeta / 2.3.2
Packeta v2.3.2
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.3.2, at phpstan/phpstan-baseline-module.neon

2,786 lines 115.2 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\:\:getVendorGroups\(\) should return array\<string\>\|null but returns array\<string, bool\|string\>\|null\.$#'
221 identifier: return.type
222 count: 1
223 path: ../src/Packetery/Module/Carrier/Options.php
224
225 -
226 message: '#^Method Packetery\\Module\\Carrier\\Options\:\:hasCouponFreeShippingActive\(\) should return bool but returns 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\:\:isActive\(\) should return bool but returns array\<string, bool\|string\>\|bool\|string\.$#'
233 identifier: return.type
234 count: 1
235 path: ../src/Packetery/Module/Carrier/Options.php
236
237 -
238 message: '#^Method Packetery\\Module\\Carrier\\Options\:\:toArray\(\) return type has no value type specified in iterable type array\.$#'
239 identifier: missingType.iterableValue
240 count: 1
241 path: ../src/Packetery/Module/Carrier/Options.php
242
243 -
244 message: '#^Only booleans are allowed in &&, bool\|string given on the right side\.$#'
245 identifier: booleanAnd.rightNotBoolean
246 count: 1
247 path: ../src/Packetery/Module/Carrier/Options.php
248
249 -
250 message: '#^Parameter \#2 \$haystack of function in_array expects array, array\<string, bool\|string\>\|bool\|string given\.$#'
251 identifier: argument.type
252 count: 1
253 path: ../src/Packetery/Module/Carrier/Options.php
254
255 -
256 message: '#^Binary operation "\+\=" between array\<string, bool\|float\|string\> and mixed results in an error\.$#'
257 identifier: assignOp.invalid
258 count: 1
259 path: ../src/Packetery/Module/Carrier/OptionsPage.php
260
261 -
262 message: '#^Cannot access offset ''active'' on Packetery\\Nette\\ComponentModel\\IComponent\.$#'
263 identifier: offsetAccess.nonOffsetAccessible
264 count: 8
265 path: ../src/Packetery/Module/Carrier/OptionsPage.php
266
267 -
268 message: '#^Cannot access offset ''id'' on array\|object\.$#'
269 identifier: offsetAccess.nonOffsetAccessible
270 count: 1
271 path: ../src/Packetery/Module/Carrier/OptionsPage.php
272
273 -
274 message: '#^Cannot access offset ''id'' on mixed\.$#'
275 identifier: offsetAccess.nonOffsetAccessible
276 count: 1
277 path: ../src/Packetery/Module/Carrier/OptionsPage.php
278
279 -
280 message: '#^Cannot access offset ''pricing_type'' on array\|object\.$#'
281 identifier: offsetAccess.nonOffsetAccessible
282 count: 2
283 path: ../src/Packetery/Module/Carrier/OptionsPage.php
284
285 -
286 message: '#^Cannot access offset ''vendor_groups'' on array\|object\.$#'
287 identifier: offsetAccess.nonOffsetAccessible
288 count: 2
289 path: ../src/Packetery/Module/Carrier/OptionsPage.php
290
291 -
292 message: '#^Cannot call method getCountry\(\) on Packetery\\Core\\Entity\\Carrier\|null\.$#'
293 identifier: method.nonObject
294 count: 1
295 path: ../src/Packetery/Module/Carrier/OptionsPage.php
296
297 -
298 message: '#^Cannot call method getId\(\) on Packetery\\Core\\Entity\\Carrier\|null\.$#'
299 identifier: method.nonObject
300 count: 3
301 path: ../src/Packetery/Module/Carrier/OptionsPage.php
302
303 -
304 message: '#^Cannot call method hasPickupPoints\(\) on Packetery\\Core\\Entity\\Carrier\|null\.$#'
305 identifier: method.nonObject
306 count: 2
307 path: ../src/Packetery/Module/Carrier/OptionsPage.php
308
309 -
310 message: '#^Cannot call method isCarDelivery\(\) 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: '#^Cannot call method supportsAgeVerification\(\) on Packetery\\Core\\Entity\\Carrier\|null\.$#'
317 identifier: method.nonObject
318 count: 1
319 path: ../src/Packetery/Module/Carrier/OptionsPage.php
320
321 -
322 message: '#^Method Packetery\\Module\\Carrier\\OptionsPage\:\:checkOverlapping\(\) has parameter \$options 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\:\:createForm\(\) 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\:\:createFormTemplate\(\) has parameter \$carrierData with 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\:\:getAvailableVendors\(\) 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\:\:getCarrierTemplateData\(\) return type has 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\(\) has parameter \$options with 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\:\:getCheckedVendors\(\) return type has no value type specified in iterable type array\.$#'
359 identifier: missingType.iterableValue
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 \$options of method Packetery\\Module\\Carrier\\OptionsPage\:\:getCheckedVendors\(\) expects array, array\|object given\.$#'
449 identifier: argument.type
450 count: 2
451 path: ../src/Packetery/Module/Carrier/OptionsPage.php
452
453 -
454 message: '#^Parameter \#1 \$options of method Packetery\\Module\\Carrier\\OptionsPage\:\:mergeNewLimits\(\) expects array, array\|ArrayAccess given\.$#'
455 identifier: argument.type
456 count: 3
457 path: ../src/Packetery/Module/Carrier/OptionsPage.php
458
459 -
460 message: '#^Parameter \#2 \$carrierId of method Packetery\\Module\\Carrier\\OptionsPage\:\:createUrl\(\) expects string\|null, mixed given\.$#'
461 identifier: argument.type
462 count: 1
463 path: ../src/Packetery/Module/Carrier/OptionsPage.php
464
465 -
466 message: '#^Parameter \#2 \$carrierOptions of method Packetery\\Module\\Carrier\\OptionsPage\:\:getVendorCheckboxesConfig\(\) expects array\|null, mixed given\.$#'
467 identifier: argument.type
468 count: 1
469 path: ../src/Packetery/Module/Carrier/OptionsPage.php
470
471 -
472 message: '#^Parameter \#2 \$options of method Packetery\\Module\\Carrier\\OptionsPage\:\:checkOverlapping\(\) expects array, array\|ArrayAccess given\.$#'
473 identifier: argument.type
474 count: 3
475 path: ../src/Packetery/Module/Carrier/OptionsPage.php
476
477 -
478 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\)\>\.$#'
479 identifier: assign.propertyType
480 count: 1
481 path: ../src/Packetery/Module/Carrier/OptionsPage.php
482
483 -
484 message: '#^Method Packetery\\Module\\Carrier\\Repository\:\:getActiveCarriers\(\) return type has no value type specified in iterable type array\.$#'
485 identifier: missingType.iterableValue
486 count: 1
487 path: ../src/Packetery/Module/Carrier/Repository.php
488
489 -
490 message: '#^Method Packetery\\Module\\Carrier\\Repository\:\:getAllRawIndexed\(\) should return array\<int, array\<string, bool\|float\|string\>\> but returns array\|false\.$#'
491 identifier: return.type
492 count: 1
493 path: ../src/Packetery/Module/Carrier/Repository.php
494
495 -
496 message: '#^Method Packetery\\Module\\Carrier\\Repository\:\:getByCountry\(\) return type has no value type specified in iterable type array\.$#'
497 identifier: missingType.iterableValue
498 count: 1
499 path: ../src/Packetery/Module/Carrier/Repository.php
500
501 -
502 message: '#^Method Packetery\\Module\\Carrier\\Repository\:\:getById\(\) should return array\<string, string\>\|null but returns array\<string, mixed\>\|object\|null\.$#'
503 identifier: return.type
504 count: 1
505 path: ../src/Packetery/Module/Carrier/Repository.php
506
507 -
508 message: '#^Method Packetery\\Module\\Carrier\\Repository\:\:getCountriesWithUnavailable\(\) return type has no value type specified in iterable type array\.$#'
509 identifier: missingType.iterableValue
510 count: 1
511 path: ../src/Packetery/Module/Carrier/Repository.php
512
513 -
514 message: '#^Method Packetery\\Module\\Carrier\\Repository\:\:insert\(\) has parameter \$data with 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\:\:set_as_deleted\(\) has parameter \$carrierIdsNotInFeed 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\:\:update\(\) has parameter \$data 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: '#^Parameter \#1 \$array of function array_column expects array, array\<object\>\|null given\.$#'
533 identifier: argument.type
534 count: 1
535 path: ../src/Packetery/Module/Carrier/Repository.php
536
537 -
538 message: '#^Parameter \#2 \$values of function array_combine 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: '#^Method Packetery\\Module\\Checkout\\CartService\:\:getBiggestProductSize\(\) return type has no value type specified in iterable type array\.$#'
545 identifier: missingType.iterableValue
546 count: 1
547 path: ../src/Packetery/Module/Checkout/CartService.php
548
549 -
550 message: '#^Method Packetery\\Module\\Checkout\\CartService\:\:getDisallowedShippingRateIds\(\) 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\:\:isShippingRateRestrictedByProductsCategory\(\) has parameter \$cartProducts with 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: '#^Parameter \#1 \.\.\.\$arg1 of function max expects non\-empty\-array, array given\.$#'
563 identifier: argument.type
564 count: 1
565 path: ../src/Packetery/Module/Checkout/CartService.php
566
567 -
568 message: '#^Parameter \#2 \$taxClass of method Packetery\\Module\\Checkout\\Checkout\:\:calcTaxExclusiveFeeAmount\(\) expects string, string\|null given\.$#'
569 identifier: argument.type
570 count: 2
571 path: ../src/Packetery/Module/Checkout/Checkout.php
572
573 -
574 message: '#^Parameter \#4 \$tax_class 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 \#1 \$array_arg of function current expects array\|object, mixed given\.$#'
581 identifier: argument.type
582 count: 1
583 path: ../src/Packetery/Module/Checkout/CheckoutService.php
584
585 -
586 message: '#^Parameter \#1 \$chosenMethod of method Packetery\\Module\\Checkout\\CheckoutService\:\:getShippingMethodOptionId\(\) expects string, mixed given\.$#'
587 identifier: argument.type
588 count: 1
589 path: ../src/Packetery/Module/Checkout/CheckoutService.php
590
591 -
592 message: '#^Cannot cast mixed to float\.$#'
593 identifier: cast.double
594 count: 1
595 path: ../src/Packetery/Module/Checkout/CheckoutSettings.php
596
597 -
598 message: '#^Cannot cast mixed to string\.$#'
599 identifier: cast.string
600 count: 1
601 path: ../src/Packetery/Module/Checkout/CheckoutSettings.php
602
603 -
604 message: '#^Method Packetery\\Module\\Checkout\\CheckoutSettings\:\:createSettings\(\) return type has no value type specified in iterable type array\.$#'
605 identifier: missingType.iterableValue
606 count: 1
607 path: ../src/Packetery/Module/Checkout/CheckoutSettings.php
608
609 -
610 message: '#^Cannot access offset string on mixed\.$#'
611 identifier: offsetAccess.nonOffsetAccessible
612 count: 1
613 path: ../src/Packetery/Module/Checkout/CheckoutStorage.php
614
615 -
616 message: '#^Method Packetery\\Module\\Checkout\\CheckoutStorage\:\:getPostDataIncludingStoredData\(\) return type has no value type specified in iterable type array\.$#'
617 identifier: missingType.iterableValue
618 count: 1
619 path: ../src/Packetery/Module/Checkout/CheckoutStorage.php
620
621 -
622 message: '#^Method Packetery\\Module\\Checkout\\CheckoutStorage\:\:getPostDataIncludingStoredData\(\) should return array but returns array\<mixed, mixed\>\|null\.$#'
623 identifier: return.type
624 count: 1
625 path: ../src/Packetery/Module/Checkout/CheckoutStorage.php
626
627 -
628 message: '#^Method Packetery\\Module\\Checkout\\CheckoutStorage\:\:getPostDataIncludingStoredData\(\) should return array but returns array\|null\.$#'
629 identifier: return.type
630 count: 1
631 path: ../src/Packetery/Module/Checkout/CheckoutStorage.php
632
633 -
634 message: '#^Method Packetery\\Module\\Checkout\\CheckoutStorage\:\:isKeyPresentInSavedDataButNotInPostData\(\) has parameter \$checkoutData with no value type specified in iterable type array\.$#'
635 identifier: missingType.iterableValue
636 count: 1
637 path: ../src/Packetery/Module/Checkout/CheckoutStorage.php
638
639 -
640 message: '#^Method Packetery\\Module\\Checkout\\CheckoutStorage\:\:isKeyPresentInSavedDataButNotInPostData\(\) has parameter \$savedCarrierData with no value type specified in iterable type array\.$#'
641 identifier: missingType.iterableValue
642 count: 1
643 path: ../src/Packetery/Module/Checkout/CheckoutStorage.php
644
645 -
646 message: '#^Method Packetery\\Module\\Checkout\\CheckoutStorage\:\:logInvalidOrderData\(\) 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: '#^Parameter \#1 \$checkoutData of method Packetery\\Module\\Checkout\\CheckoutStorage\:\:isKeyPresentInSavedDataButNotInPostData\(\) expects array, array\<mixed, mixed\>\|null given\.$#'
653 identifier: argument.type
654 count: 4
655 path: ../src/Packetery/Module/Checkout/CheckoutStorage.php
656
657 -
658 message: '#^Call to function array_filter\(\) requires parameter \#2 to be passed to avoid loose comparison semantics\.$#'
659 identifier: arrayFilter.strict
660 count: 1
661 path: ../src/Packetery/Module/Checkout/CheckoutValidator.php
662
663 -
664 message: '#^Cannot access offset ''address_validation'' on mixed\.$#'
665 identifier: offsetAccess.nonOffsetAccessible
666 count: 1
667 path: ../src/Packetery/Module/Checkout/CheckoutValidator.php
668
669 -
670 message: '#^Method Packetery\\Module\\Checkout\\CheckoutValidator\:\:validateHomeDelivery\(\) has parameter \$checkoutData with no value type specified in iterable type array\.$#'
671 identifier: missingType.iterableValue
672 count: 1
673 path: ../src/Packetery/Module/Checkout/CheckoutValidator.php
674
675 -
676 message: '#^Method Packetery\\Module\\Checkout\\CheckoutValidator\:\:validatePickupPoint\(\) has parameter \$checkoutData with no value type specified in iterable type array\.$#'
677 identifier: missingType.iterableValue
678 count: 1
679 path: ../src/Packetery/Module/Checkout/CheckoutValidator.php
680
681 -
682 message: '#^Parameter \#1 \$carrierId of method Packetery\\Module\\Carrier\\EntityRepository\:\:isValidForCountry\(\) expects string, string\|null given\.$#'
683 identifier: argument.type
684 count: 1
685 path: ../src/Packetery/Module/Checkout/CheckoutValidator.php
686
687 -
688 message: '#^Parameter \#1 \$carrierId of static method Packetery\\Module\\Carrier\\OptionPrefixer\:\:getOptionId\(\) expects string, string\|null given\.$#'
689 identifier: argument.type
690 count: 1
691 path: ../src/Packetery/Module/Checkout/CheckoutValidator.php
692
693 -
694 message: '#^Parameter \#1 \$input of function array_filter expects array, array\<string, bool\|string\>\|false given\.$#'
695 identifier: argument.type
696 count: 1
697 path: ../src/Packetery/Module/Checkout/CheckoutValidator.php
698
699 -
700 message: '#^Cannot cast mixed to float\.$#'
701 identifier: cast.double
702 count: 2
703 path: ../src/Packetery/Module/Checkout/CurrencySwitcherService.php
704
705 -
706 message: '#^Method Packetery\\Module\\Checkout\\OrderUpdater\:\:getPropsFromCheckoutData\(\) has parameter \$checkoutData with no value type specified in iterable type array\.$#'
707 identifier: missingType.iterableValue
708 count: 1
709 path: ../src/Packetery/Module/Checkout/OrderUpdater.php
710
711 -
712 message: '#^Method Packetery\\Module\\Checkout\\OrderUpdater\:\:getPropsFromCheckoutData\(\) has parameter \$propsToSave with no value type specified in iterable type array\.$#'
713 identifier: missingType.iterableValue
714 count: 1
715 path: ../src/Packetery/Module/Checkout/OrderUpdater.php
716
717 -
718 message: '#^Method Packetery\\Module\\Checkout\\OrderUpdater\:\:getPropsFromCheckoutData\(\) return type has no value type specified in iterable type array\.$#'
719 identifier: missingType.iterableValue
720 count: 1
721 path: ../src/Packetery/Module/Checkout/OrderUpdater.php
722
723 -
724 message: '#^Method Packetery\\Module\\Checkout\\OrderUpdater\:\:updateCarDelivery\(\) has parameter \$checkoutData with no value type specified in iterable type array\.$#'
725 identifier: missingType.iterableValue
726 count: 1
727 path: ../src/Packetery/Module/Checkout/OrderUpdater.php
728
729 -
730 message: '#^Method Packetery\\Module\\Checkout\\OrderUpdater\:\:updateHomeDelivery\(\) 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: '#^Only booleans are allowed in a negated boolean, string\|false given\.$#'
737 identifier: booleanNot.exprNotBoolean
738 count: 1
739 path: ../src/Packetery/Module/Checkout/OrderUpdater.php
740
741 -
742 message: '#^Parameter \#2 \$attributeName of method Packetery\\Module\\Order\\AttributeMapper\:\:toWcOrderShippingAddress\(\) expects string, bool\|string given\.$#'
743 identifier: argument.type
744 count: 1
745 path: ../src/Packetery/Module/Checkout/OrderUpdater.php
746
747 -
748 message: '#^Cannot call method get_free_shipping\(\) on class\-string\|object\.$#'
749 identifier: method.nonObject
750 count: 1
751 path: ../src/Packetery/Module/Checkout/RateCalculator.php
752
753 -
754 message: '#^Cannot cast mixed to float\.$#'
755 identifier: cast.double
756 count: 1
757 path: ../src/Packetery/Module/Checkout/RateCalculator.php
758
759 -
760 message: '#^Method Packetery\\Module\\Checkout\\RateCalculator\:\:createShippingRate\(\) return type has no value type specified in iterable type array\.$#'
761 identifier: missingType.iterableValue
762 count: 1
763 path: ../src/Packetery/Module/Checkout/RateCalculator.php
764
765 -
766 message: '#^Method Packetery\\Module\\Checkout\\RateCalculator\:\:getCODSurcharge\(\) has parameter \$carrierOptions with no value type specified in iterable type array\.$#'
767 identifier: missingType.iterableValue
768 count: 1
769 path: ../src/Packetery/Module/Checkout/RateCalculator.php
770
771 -
772 message: '#^Method Packetery\\Module\\Checkout\\SessionService\:\:filterUpdateShippingPackages\(\) has parameter \$packages with no value type specified in iterable type array\.$#'
773 identifier: missingType.iterableValue
774 count: 1
775 path: ../src/Packetery/Module/Checkout/SessionService.php
776
777 -
778 message: '#^Method Packetery\\Module\\Checkout\\SessionService\:\:filterUpdateShippingPackages\(\) return type has no value type specified in iterable type array\.$#'
779 identifier: missingType.iterableValue
780 count: 1
781 path: ../src/Packetery/Module/Checkout/SessionService.php
782
783 -
784 message: '#^Method Packetery\\Module\\Checkout\\ShippingRateFactory\:\:canCreateShippingRate\(\) has parameter \$allowedCarrierNames with no value type specified in iterable type array\.$#'
785 identifier: missingType.iterableValue
786 count: 1
787 path: ../src/Packetery/Module/Checkout/ShippingRateFactory.php
788
789 -
790 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\>\.$#'
791 identifier: return.type
792 count: 1
793 path: ../src/Packetery/Module/Checkout/ShippingRateFactory.php
794
795 -
796 message: '#^Method Packetery\\Module\\Checkout\\ShippingRateFactory\:\:createShippingRateOfCarrier\(\) has parameter \$allowedCarrierNames with no value type specified in iterable type array\.$#'
797 identifier: missingType.iterableValue
798 count: 1
799 path: ../src/Packetery/Module/Checkout/ShippingRateFactory.php
800
801 -
802 message: '#^Method Packetery\\Module\\Checkout\\ShippingRateFactory\:\:createShippingRateOfCarrier\(\) return type has no value type specified in iterable type array\.$#'
803 identifier: missingType.iterableValue
804 count: 1
805 path: ../src/Packetery/Module/Checkout/ShippingRateFactory.php
806
807 -
808 message: '#^Method Packetery\\Module\\Checkout\\ShippingRateFactory\:\:createShippingRates\(\) 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\:\:createShippingRates\(\) return type has no value type specified in iterable type array\.$#'
815 identifier: missingType.iterableValue
816 count: 1
817 path: ../src/Packetery/Module/Checkout/ShippingRateFactory.php
818
819 -
820 message: '#^Parameter \#4 \$rateId of method Packetery\\Module\\Checkout\\ShippingRateFactory\:\:createShippingRateOfCarrier\(\) expects string, string\|null given\.$#'
821 identifier: argument.type
822 count: 1
823 path: ../src/Packetery/Module/Checkout/ShippingRateFactory.php
824
825 -
826 message: '#^Parameter \#4 \$taxes of method Packetery\\Module\\Checkout\\RateCalculator\:\:createShippingRate\(\) expects array\<float\>\|null, array\<mixed\>\|null given\.$#'
827 identifier: argument.type
828 count: 1
829 path: ../src/Packetery/Module/Checkout/ShippingRateFactory.php
830
831 -
832 message: '#^Cannot cast mixed to int\.$#'
833 identifier: cast.int
834 count: 1
835 path: ../src/Packetery/Module/ContextResolver.php
836
837 -
838 message: '#^Cannot access offset ''has_ead_file_content'' on array\<string, mixed\>\|object\.$#'
839 identifier: offsetAccess.nonOffsetAccessible
840 count: 1
841 path: ../src/Packetery/Module/CustomsDeclaration/Repository.php
842
843 -
844 message: '#^Cannot access offset ''has_invoice_file_content'' on array\<string, mixed\>\|object\.$#'
845 identifier: offsetAccess.nonOffsetAccessible
846 count: 1
847 path: ../src/Packetery/Module/CustomsDeclaration/Repository.php
848
849 -
850 message: '#^Method Packetery\\Module\\CustomsDeclaration\\Repository\:\:declarationItemToDbArray\(\) should return array\<string, float\|int\|string\> but returns array\<string, float\|int\|string\|null\>\.$#'
851 identifier: return.type
852 count: 1
853 path: ../src/Packetery/Module/CustomsDeclaration/Repository.php
854
855 -
856 message: '#^Method Packetery\\Module\\CustomsDeclaration\\Repository\:\:declarationToDbArray\(\) has parameter \$fieldsToOmit with no value type specified in iterable type array\.$#'
857 identifier: missingType.iterableValue
858 count: 1
859 path: ../src/Packetery/Module/CustomsDeclaration/Repository.php
860
861 -
862 message: '#^Method Packetery\\Module\\CustomsDeclaration\\Repository\:\:declarationToDbArray\(\) should return array\<string, float\|int\|string\> but returns array\<string, float\|string\|null\>\.$#'
863 identifier: return.type
864 count: 1
865 path: ../src/Packetery/Module/CustomsDeclaration/Repository.php
866
867 -
868 message: '#^Method Packetery\\Module\\CustomsDeclaration\\Repository\:\:getCustomsDeclarationItemRows\(\) return type has no value type specified in iterable type array\.$#'
869 identifier: missingType.iterableValue
870 count: 1
871 path: ../src/Packetery/Module/CustomsDeclaration/Repository.php
872
873 -
874 message: '#^Method Packetery\\Module\\CustomsDeclaration\\Repository\:\:save\(\) has parameter \$fieldsToOmit with no value type specified in iterable type array\.$#'
875 identifier: missingType.iterableValue
876 count: 1
877 path: ../src/Packetery/Module/CustomsDeclaration/Repository.php
878
879 -
880 message: '#^Parameter \#1 \$data of method Packetery\\Module\\EntityFactory\\CustomsDeclaration\:\:fromStandardizedStructure\(\) expects array, array\<string, mixed\>\|object given\.$#'
881 identifier: argument.type
882 count: 1
883 path: ../src/Packetery/Module/CustomsDeclaration/Repository.php
884
885 -
886 message: '#^Parameter \#1 \$post of method Packetery\\Module\\Framework\\WpAdapter\:\:getEditPostLink\(\) expects int\|WP_Post, int\|false given\.$#'
887 identifier: argument.type
888 count: 1
889 path: ../src/Packetery/Module/Dashboard/DashboardItemBuilder.php
890
891 -
892 message: '#^Method Packetery\\Module\\DashboardWidget\:\:__construct\(\) has parameter \$surveyConfig with no value type specified in iterable type array\.$#'
893 identifier: missingType.iterableValue
894 count: 1
895 path: ../src/Packetery/Module/DashboardWidget.php
896
897 -
898 message: '#^Only booleans are allowed in &&, bool\|string given on the left side\.$#'
899 identifier: booleanAnd.leftNotBoolean
900 count: 1
901 path: ../src/Packetery/Module/DashboardWidget.php
902
903 -
904 message: '#^Parameter \#2 \$url of class Packetery\\Module\\SurveyConfig constructor expects string, bool\|string given\.$#'
905 identifier: argument.type
906 count: 1
907 path: ../src/Packetery/Module/DashboardWidget.php
908
909 -
910 message: '#^Parameter \#3 \$image of class Packetery\\Module\\SurveyConfig constructor expects string, string\|null given\.$#'
911 identifier: argument.type
912 count: 1
913 path: ../src/Packetery/Module/DashboardWidget.php
914
915 -
916 message: '#^Call to function is_string\(\) with bool will always evaluate to false\.$#'
917 identifier: function.impossibleType
918 count: 1
919 path: ../src/Packetery/Module/Email/BugReportAttachment.php
920
921 -
922 message: '#^Parameter \#1 \$street of class Packetery\\Core\\Entity\\Address constructor expects string\|null, mixed given\.$#'
923 identifier: argument.type
924 count: 1
925 path: ../src/Packetery/Module/EntityFactory/Address.php
926
927 -
928 message: '#^Parameter \#2 \$city of class Packetery\\Core\\Entity\\Address constructor expects string\|null, mixed given\.$#'
929 identifier: argument.type
930 count: 1
931 path: ../src/Packetery/Module/EntityFactory/Address.php
932
933 -
934 message: '#^Parameter \#3 \$zip of class Packetery\\Core\\Entity\\Address constructor expects string\|null, mixed given\.$#'
935 identifier: argument.type
936 count: 1
937 path: ../src/Packetery/Module/EntityFactory/Address.php
938
939 -
940 message: '#^Method Packetery\\Module\\EntityFactory\\CustomsDeclaration\:\:fromStandardizedStructure\(\) has parameter \$data with no value type specified in iterable type array\.$#'
941 identifier: missingType.iterableValue
942 count: 1
943 path: ../src/Packetery/Module/EntityFactory/CustomsDeclaration.php
944
945 -
946 message: '#^Parameter \#5 \$invoiceIssueDate of class Packetery\\Core\\Entity\\CustomsDeclaration constructor expects DateTimeImmutable, DateTimeImmutable\|false given\.$#'
947 identifier: argument.type
948 count: 1
949 path: ../src/Packetery/Module/EntityFactory/CustomsDeclaration.php
950
951 -
952 message: '#^Parameter \#1 \$time of function strtotime expects string, mixed given\.$#'
953 identifier: argument.type
954 count: 1
955 path: ../src/Packetery/Module/FormValidators.php
956
957 -
958 message: '#^Parameter \#2 \$datetime of static method DateTimeImmutable\:\:createFromFormat\(\) expects string, mixed given\.$#'
959 identifier: argument.type
960 count: 1
961 path: ../src/Packetery/Module/FormValidators.php
962
963 -
964 message: '#^Parameter \#2 \$subject of function preg_match expects string, mixed given\.$#'
965 identifier: argument.type
966 count: 1
967 path: ../src/Packetery/Module/FormValidators.php
968
969 -
970 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\\Forms\\BugReportForm\), ''onFormValidate''\}\|\(callable\(array\|object\)\: void\)\|\(callable\(Packetery\\Nette\\Forms\\Container, array\|object\)\: void\)\>\.$#'
971 identifier: assign.propertyType
972 count: 1
973 path: ../src/Packetery/Module/Forms/BugReportForm.php
974
975 -
976 message: '#^Method Packetery\\Module\\Framework\\WcAdapter\:\:asScheduleSingleAction\(\) has parameter \$args with no value type specified in iterable type array\.$#'
977 identifier: missingType.iterableValue
978 count: 1
979 path: ../src/Packetery/Module/Framework/WcAdapter.php
980
981 -
982 message: '#^Method Packetery\\Module\\Framework\\WcAdapter\:\:calcTax\(\) has parameter \$rates with no value type specified in iterable type array\.$#'
983 identifier: missingType.iterableValue
984 count: 1
985 path: ../src/Packetery/Module/Framework/WcAdapter.php
986
987 -
988 message: '#^Method Packetery\\Module\\Framework\\WcAdapter\:\:calcTax\(\) return type has no value type specified in iterable type array\.$#'
989 identifier: missingType.iterableValue
990 count: 1
991 path: ../src/Packetery/Module/Framework/WcAdapter.php
992
993 -
994 message: '#^Method Packetery\\Module\\Framework\\WcAdapter\:\:cartCalculateShipping\(\) return type has no value type specified in iterable type array\.$#'
995 identifier: missingType.iterableValue
996 count: 1
997 path: ../src/Packetery/Module/Framework/WcAdapter.php
998
999 -
1000 message: '#^Method Packetery\\Module\\Framework\\WcAdapter\:\:cartFeesApiAddFee\(\) has parameter \$args with no value type specified in iterable type array\.$#'
1001 identifier: missingType.iterableValue
1002 count: 1
1003 path: ../src/Packetery/Module/Framework/WcAdapter.php
1004
1005 -
1006 message: '#^Method Packetery\\Module\\Framework\\WcAdapter\:\:cartFeesApiAddFee\(\) should return stdClass\|WP_Error but returns object\.$#'
1007 identifier: return.type
1008 count: 1
1009 path: ../src/Packetery/Module/Framework/WcAdapter.php
1010
1011 -
1012 message: '#^Method Packetery\\Module\\Framework\\WcAdapter\:\:cartGetCartContent\(\) return type has 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\:\:sessionGetArray\(\) return type has 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\:\:shippingGetPackages\(\) 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\:\:shippingZonesGetZoneMatchingPackage\(\) has parameter \$package with 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\:\:storeApiRegisterUpdateCallback\(\) 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\:\:taxCalcInclusiveTax\(\) has parameter \$rates with no value type specified in iterable type array\.$#'
1043 identifier: missingType.iterableValue
1044 count: 1
1045 path: ../src/Packetery/Module/Framework/WcAdapter.php
1046
1047 -
1048 message: '#^Method Packetery\\Module\\Framework\\WcAdapter\:\:taxCalcInclusiveTax\(\) 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\:\:taxGetRates\(\) 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\:\:taxGetShippingTaxRates\(\) should return array\<int, array\<string, float\|string\>\> but returns array\<mixed, mixed\>\.$#'
1061 identifier: return.type
1062 count: 1
1063 path: ../src/Packetery/Module/Framework/WcAdapter.php
1064
1065 -
1066 message: '#^Method Packetery\\Module\\Framework\\WpAdapter\:\:enqueueScript\(\) has parameter \$args with no value type specified in iterable type array\.$#'
1067 identifier: missingType.iterableValue
1068 count: 1
1069 path: ../src/Packetery/Module/Framework/WpAdapter.php
1070
1071 -
1072 message: '#^Method Packetery\\Module\\Framework\\WpAdapter\:\:enqueueScript\(\) has parameter \$deps with no value type specified in iterable type array\.$#'
1073 identifier: missingType.iterableValue
1074 count: 1
1075 path: ../src/Packetery/Module/Framework/WpAdapter.php
1076
1077 -
1078 message: '#^Method Packetery\\Module\\Framework\\WpAdapter\:\:enqueueStyle\(\) has parameter \$deps with no value type specified in iterable type array\.$#'
1079 identifier: missingType.iterableValue
1080 count: 1
1081 path: ../src/Packetery/Module/Framework/WpAdapter.php
1082
1083 -
1084 message: '#^Method Packetery\\Module\\Framework\\WpAdapter\:\:localizeScript\(\) has parameter \$l10n with no value type specified in iterable type array\.$#'
1085 identifier: missingType.iterableValue
1086 count: 1
1087 path: ../src/Packetery/Module/Framework/WpAdapter.php
1088
1089 -
1090 message: '#^Method Packetery\\Module\\Framework\\WpAdapter\:\:remoteGet\(\) has parameter \$args with no value type specified in iterable type array\.$#'
1091 identifier: missingType.iterableValue
1092 count: 1
1093 path: ../src/Packetery/Module/Framework/WpAdapter.php
1094
1095 -
1096 message: '#^Method Packetery\\Module\\Framework\\WpAdapter\:\:remoteGet\(\) return type has no value type specified in iterable type array\.$#'
1097 identifier: missingType.iterableValue
1098 count: 1
1099 path: ../src/Packetery/Module/Framework/WpAdapter.php
1100
1101 -
1102 message: '#^Method Packetery\\Module\\Framework\\WpAdapter\:\:remoteRetrieveBody\(\) has parameter \$response 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\:\:sendJson\(\) has parameter \$settings 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: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
1115 identifier: argument.type
1116 count: 1
1117 path: ../src/Packetery/Module/Framework/WpAdapter.php
1118
1119 -
1120 message: '#^Parameter \#3 \$scheme of function get_admin_url expects ''http''\|''https'', string given\.$#'
1121 identifier: argument.type
1122 count: 1
1123 path: ../src/Packetery/Module/Framework/WpAdapter.php
1124
1125 -
1126 message: '#^Parameter \#1 \$location of method Packetery\\Module\\Framework\\WpAdapter\:\:safeRedirect\(\) expects string, string\|null given\.$#'
1127 identifier: argument.type
1128 count: 1
1129 path: ../src/Packetery/Module/Hooks/HookRegistrar.php
1130
1131 -
1132 message: '#^Method Packetery\\Module\\Hooks\\PluginHooks\:\:addPluginActionLinks\(\) has parameter \$links with no value type specified in iterable type array\.$#'
1133 identifier: missingType.iterableValue
1134 count: 1
1135 path: ../src/Packetery/Module/Hooks/PluginHooks.php
1136
1137 -
1138 message: '#^Method Packetery\\Module\\Hooks\\PluginHooks\:\:addPluginActionLinks\(\) return type has no value type specified in iterable type array\.$#'
1139 identifier: missingType.iterableValue
1140 count: 1
1141 path: ../src/Packetery/Module/Hooks/PluginHooks.php
1142
1143 -
1144 message: '#^Method Packetery\\Module\\Hooks\\PluginHooks\:\:addPluginRowMeta\(\) has parameter \$links with no value type specified in iterable type array\.$#'
1145 identifier: missingType.iterableValue
1146 count: 1
1147 path: ../src/Packetery/Module/Hooks/PluginHooks.php
1148
1149 -
1150 message: '#^Method Packetery\\Module\\Hooks\\PluginHooks\:\:addPluginRowMeta\(\) return type has no value type specified in iterable type array\.$#'
1151 identifier: missingType.iterableValue
1152 count: 1
1153 path: ../src/Packetery/Module/Hooks/PluginHooks.php
1154
1155 -
1156 message: '#^Parameter \#1 \$url of method Packetery\\Module\\Framework\\WpAdapter\:\:escUrl\(\) expects string, string\|null given\.$#'
1157 identifier: argument.type
1158 count: 1
1159 path: ../src/Packetery/Module/Hooks/PluginHooks.php
1160
1161 -
1162 message: '#^Cannot cast mixed to int\.$#'
1163 identifier: cast.int
1164 count: 2
1165 path: ../src/Packetery/Module/Hooks/UpdateOrderHook.php
1166
1167 -
1168 message: '#^Cannot access offset ''offset'' on array\|object\.$#'
1169 identifier: offsetAccess.nonOffsetAccessible
1170 count: 1
1171 path: ../src/Packetery/Module/Labels/LabelPrintParametersService.php
1172
1173 -
1174 message: '#^Cannot cast mixed to int\.$#'
1175 identifier: cast.int
1176 count: 1
1177 path: ../src/Packetery/Module/Labels/LabelPrintParametersService.php
1178
1179 -
1180 message: '#^Method Packetery\\Module\\Labels\\LabelPrintParametersService\:\:removeExternalCarrierPacketIds\(\) has parameter \$packetIds with no value type specified in iterable type array\.$#'
1181 identifier: missingType.iterableValue
1182 count: 1
1183 path: ../src/Packetery/Module/Labels/LabelPrintParametersService.php
1184
1185 -
1186 message: '#^Method Packetery\\Module\\Labels\\LabelPrintParametersService\:\:removeExternalCarrierPacketIds\(\) return type has no value type specified in iterable type array\.$#'
1187 identifier: missingType.iterableValue
1188 count: 1
1189 path: ../src/Packetery/Module/Labels/LabelPrintParametersService.php
1190
1191 -
1192 message: '#^Only booleans are allowed in an if condition, bool\|Packetery\\Nette\\Forms\\SubmitterControl given\.$#'
1193 identifier: if.condNotBoolean
1194 count: 1
1195 path: ../src/Packetery/Module/Labels/LabelPrintParametersService.php
1196
1197 -
1198 message: '#^Cannot cast mixed to string\.$#'
1199 identifier: cast.string
1200 count: 1
1201 path: ../src/Packetery/Module/Log/Page.php
1202
1203 -
1204 message: '#^Parameter \#1 \$before of method Packetery\\Module\\Log\\Repository\:\:deleteOld\(\) expects string, mixed given\.$#'
1205 identifier: argument.type
1206 count: 1
1207 path: ../src/Packetery/Module/Log/Purger.php
1208
1209 -
1210 message: '#^Call to function array_filter\(\) requires parameter \#2 to be passed to avoid loose comparison semantics\.$#'
1211 identifier: arrayFilter.strict
1212 count: 1
1213 path: ../src/Packetery/Module/Log/Repository.php
1214
1215 -
1216 message: '#^Cannot access offset ''after'' on mixed\.$#'
1217 identifier: offsetAccess.nonOffsetAccessible
1218 count: 1
1219 path: ../src/Packetery/Module/Log/Repository.php
1220
1221 -
1222 message: '#^Cannot call method setTimezone\(\) on DateTimeImmutable\|false\.$#'
1223 identifier: method.nonObject
1224 count: 1
1225 path: ../src/Packetery/Module/Log/Repository.php
1226
1227 -
1228 message: '#^Method Packetery\\Module\\Log\\Repository\:\:getNote\(\) has parameter \$params with no value type specified in iterable type array\.$#'
1229 identifier: missingType.iterableValue
1230 count: 1
1231 path: ../src/Packetery/Module/Log/Repository.php
1232
1233 -
1234 message: '#^Method Packetery\\Module\\Log\\Repository\:\:getWhereClause\(\) has parameter \$where with no value type specified in iterable type array\.$#'
1235 identifier: missingType.iterableValue
1236 count: 1
1237 path: ../src/Packetery/Module/Log/Repository.php
1238
1239 -
1240 message: '#^Method Packetery\\Module\\Log\\Repository\:\:remapToRecord\(\) has parameter \$logs with no value type specified in iterable type array\.$#'
1241 identifier: missingType.iterableValue
1242 count: 1
1243 path: ../src/Packetery/Module/Log/Repository.php
1244
1245 -
1246 message: '#^Parameter \#1 \$modifier of method DateTimeImmutable\:\:modify\(\) expects string, mixed given\.$#'
1247 identifier: argument.type
1248 count: 1
1249 path: ../src/Packetery/Module/Log/Repository.php
1250
1251 -
1252 message: '#^Parameter \#1 \$var of function count expects array\|Countable, array\<string, mixed\>\|bool\|float\|int\|string given\.$#'
1253 identifier: argument.type
1254 count: 2
1255 path: ../src/Packetery/Module/Log/Repository.php
1256
1257 -
1258 message: '#^Parameter \#2 \$orderId of method Packetery\\Module\\Log\\Repository\:\:getWhereClause\(\) expects int\|null, array\<string, mixed\>\|bool\|float\|int\|string\|null given\.$#'
1259 identifier: argument.type
1260 count: 1
1261 path: ../src/Packetery/Module/Log/Repository.php
1262
1263 -
1264 message: '#^Parameter \#3 \$action of method Packetery\\Module\\Log\\Repository\:\:getWhereClause\(\) expects string\|null, array\<string, mixed\>\|bool\|float\|int\|string\|null given\.$#'
1265 identifier: argument.type
1266 count: 1
1267 path: ../src/Packetery/Module/Log/Repository.php
1268
1269 -
1270 message: '#^Property Packetery\\Core\\Log\\Record\:\:\$params \(array\<string, mixed\>\) does not accept mixed\.$#'
1271 identifier: assign.propertyType
1272 count: 1
1273 path: ../src/Packetery/Module/Log/Repository.php
1274
1275 -
1276 message: '#^Method Packetery\\Module\\Message\:\:toArray\(\) should return array\<string, bool\|string\> but returns array\<string, mixed\>\.$#'
1277 identifier: return.type
1278 count: 1
1279 path: ../src/Packetery/Module/Message.php
1280
1281 -
1282 message: '#^Method Packetery\\Module\\MessageManager\:\:flashMessageArray\(\) has parameter \$message with no value type specified in iterable type array\.$#'
1283 identifier: missingType.iterableValue
1284 count: 1
1285 path: ../src/Packetery/Module/MessageManager.php
1286
1287 -
1288 message: '#^Property Packetery\\Module\\MessageManager\:\:\$messages \(array\<array\<string, string\>\>\) does not accept mixed\.$#'
1289 identifier: assign.propertyType
1290 count: 1
1291 path: ../src/Packetery/Module/MessageManager.php
1292
1293 -
1294 message: '#^Cannot access offset string on mixed\.$#'
1295 identifier: offsetAccess.nonOffsetAccessible
1296 count: 1
1297 path: ../src/Packetery/Module/ModuleHelper.php
1298
1299 -
1300 message: '#^Cannot cast mixed to string\.$#'
1301 identifier: cast.string
1302 count: 1
1303 path: ../src/Packetery/Module/ModuleHelper.php
1304
1305 -
1306 message: '#^Method Packetery\\Module\\ModuleHelper\:\:convertArrayFloatsToStrings\(\) has parameter \$inputArray with no value type specified in iterable type array\.$#'
1307 identifier: missingType.iterableValue
1308 count: 1
1309 path: ../src/Packetery/Module/ModuleHelper.php
1310
1311 -
1312 message: '#^Method Packetery\\Module\\ModuleHelper\:\:convertArrayFloatsToStrings\(\) return type has no value type specified in iterable type array\.$#'
1313 identifier: missingType.iterableValue
1314 count: 1
1315 path: ../src/Packetery/Module/ModuleHelper.php
1316
1317 -
1318 message: '#^Method Packetery\\Module\\ModuleHelper\:\:getOrderGridUrl\(\) has parameter \$queryVars with no value type specified in iterable type array\.$#'
1319 identifier: missingType.iterableValue
1320 count: 1
1321 path: ../src/Packetery/Module/ModuleHelper.php
1322
1323 -
1324 message: '#^Path in require_once\(\) "\./wp\-admin/includes/plugin\.php" is not a file or it does not exist\.$#'
1325 identifier: requireOnce.fileNotFound
1326 count: 1
1327 path: ../src/Packetery/Module/ModuleHelper.php
1328
1329 -
1330 message: '#^Binary operation "\." between mixed and "\\n"\|"\\r\\n" results in an error\.$#'
1331 identifier: binaryOp.invalid
1332 count: 1
1333 path: ../src/Packetery/Module/Options/Exporter.php
1334
1335 -
1336 message: '#^Call to function array_filter\(\) requires parameter \#2 to be passed to avoid loose comparison semantics\.$#'
1337 identifier: arrayFilter.strict
1338 count: 1
1339 path: ../src/Packetery/Module/Options/Exporter.php
1340
1341 -
1342 message: '#^Parameter \#1 \$taxClass of method Packetery\\Module\\Framework\\WcAdapter\:\:taxGetRates\(\) expects string, mixed given\.$#'
1343 identifier: argument.type
1344 count: 1
1345 path: ../src/Packetery/Module/Options/Exporter.php
1346
1347 -
1348 message: '#^Call to function array_filter\(\) requires parameter \#2 to be passed to avoid loose comparison semantics\.$#'
1349 identifier: arrayFilter.strict
1350 count: 1
1351 path: ../src/Packetery/Module/Options/OptionsProvider.php
1352
1353 -
1354 message: '#^Cannot access offset string on mixed\.$#'
1355 identifier: offsetAccess.nonOffsetAccessible
1356 count: 1
1357 path: ../src/Packetery/Module/Options/OptionsProvider.php
1358
1359 -
1360 message: '#^Cannot cast mixed to float\.$#'
1361 identifier: cast.double
1362 count: 5
1363 path: ../src/Packetery/Module/Options/OptionsProvider.php
1364
1365 -
1366 message: '#^Method Packetery\\Module\\Options\\OptionsProvider\:\:getAllOptions\(\) return type has no value type specified in iterable type array\.$#'
1367 identifier: missingType.iterableValue
1368 count: 1
1369 path: ../src/Packetery/Module/Options/OptionsProvider.php
1370
1371 -
1372 message: '#^Method Packetery\\Module\\Options\\OptionsProvider\:\:getAutoOrderStatus\(\) should return string\|null but returns mixed\.$#'
1373 identifier: return.type
1374 count: 1
1375 path: ../src/Packetery/Module/Options/OptionsProvider.php
1376
1377 -
1378 message: '#^Method Packetery\\Module\\Options\\OptionsProvider\:\:getAutoOrderStatusFromMapping\(\) should return string\|null but returns mixed\.$#'
1379 identifier: return.type
1380 count: 1
1381 path: ../src/Packetery/Module/Options/OptionsProvider.php
1382
1383 -
1384 message: '#^Method Packetery\\Module\\Options\\OptionsProvider\:\:getCarrierLabelFormat\(\) return type has no value type specified in iterable type array\.$#'
1385 identifier: missingType.iterableValue
1386 count: 1
1387 path: ../src/Packetery/Module/Options/OptionsProvider.php
1388
1389 -
1390 message: '#^Method Packetery\\Module\\Options\\OptionsProvider\:\:getCheckoutDetection\(\) should return string but returns mixed\.$#'
1391 identifier: return.type
1392 count: 1
1393 path: ../src/Packetery/Module/Options/OptionsProvider.php
1394
1395 -
1396 message: '#^Method Packetery\\Module\\Options\\OptionsProvider\:\:getCheckoutWidgetButtonLocation\(\) should return string\|null but returns mixed\.$#'
1397 identifier: return.type
1398 count: 1
1399 path: ../src/Packetery/Module/Options/OptionsProvider.php
1400
1401 -
1402 message: '#^Method Packetery\\Module\\Options\\OptionsProvider\:\:getCodPaymentMethods\(\) should return array\<string\> but returns mixed\.$#'
1403 identifier: return.type
1404 count: 1
1405 path: ../src/Packetery/Module/Options/OptionsProvider.php
1406
1407 -
1408 message: '#^Method Packetery\\Module\\Options\\OptionsProvider\:\:getDimensionsUnit\(\) should return string but returns mixed\.$#'
1409 identifier: return.type
1410 count: 1
1411 path: ../src/Packetery/Module/Options/OptionsProvider.php
1412
1413 -
1414 message: '#^Method Packetery\\Module\\Options\\OptionsProvider\:\:getEmailHook\(\) should return string but returns mixed\.$#'
1415 identifier: return.type
1416 count: 1
1417 path: ../src/Packetery/Module/Options/OptionsProvider.php
1418
1419 -
1420 message: '#^Method Packetery\\Module\\Options\\OptionsProvider\:\:getExistingStatusSyncingOrderStatuses\(\) return type has no value type specified in iterable type array\.$#'
1421 identifier: missingType.iterableValue
1422 count: 1
1423 path: ../src/Packetery/Module/Options/OptionsProvider.php
1424
1425 -
1426 message: '#^Method Packetery\\Module\\Options\\OptionsProvider\:\:getLabelFormats\(\) return type has no value type specified in iterable type array\.$#'
1427 identifier: missingType.iterableValue
1428 count: 1
1429 path: ../src/Packetery/Module/Options/OptionsProvider.php
1430
1431 -
1432 message: '#^Method Packetery\\Module\\Options\\OptionsProvider\:\:getPacketAutoSubmissionPaymentMethodEventsMapping\(\) return type has no value type specified in iterable type array\.$#'
1433 identifier: missingType.iterableValue
1434 count: 1
1435 path: ../src/Packetery/Module/Options/OptionsProvider.php
1436
1437 -
1438 message: '#^Method Packetery\\Module\\Options\\OptionsProvider\:\:getPacketAutoSubmissionPaymentMethodEventsMapping\(\) should return array but returns mixed\.$#'
1439 identifier: return.type
1440 count: 1
1441 path: ../src/Packetery/Module/Options/OptionsProvider.php
1442
1443 -
1444 message: '#^Method Packetery\\Module\\Options\\OptionsProvider\:\:getPacketaLabelFormats\(\) return type has no value type specified in iterable type array\.$#'
1445 identifier: missingType.iterableValue
1446 count: 1
1447 path: ../src/Packetery/Module/Options/OptionsProvider.php
1448
1449 -
1450 message: '#^Method Packetery\\Module\\Options\\OptionsProvider\:\:getStatusSyncingOrderStatuses\(\) return type has no value type specified in iterable type array\.$#'
1451 identifier: missingType.iterableValue
1452 count: 1
1453 path: ../src/Packetery/Module/Options/OptionsProvider.php
1454
1455 -
1456 message: '#^Method Packetery\\Module\\Options\\OptionsProvider\:\:getStatusSyncingPacketStatuses\(\) should return array\<string\> but returns array\<mixed\>\.$#'
1457 identifier: return.type
1458 count: 1
1459 path: ../src/Packetery/Module/Options/OptionsProvider.php
1460
1461 -
1462 message: '#^Method Packetery\\Module\\Options\\OptionsProvider\:\:getValidAutoOrderStatusFromMapping\(\) should return string but returns string\|null\.$#'
1463 identifier: return.type
1464 count: 1
1465 path: ../src/Packetery/Module/Options/OptionsProvider.php
1466
1467 -
1468 message: '#^Method Packetery\\Module\\Options\\OptionsProvider\:\:get_api_key\(\) should return string\|null but returns mixed\.$#'
1469 identifier: return.type
1470 count: 1
1471 path: ../src/Packetery/Module/Options/OptionsProvider.php
1472
1473 -
1474 message: '#^Method Packetery\\Module\\Options\\OptionsProvider\:\:get_api_password\(\) 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\:\:get_carrier_label_format\(\) should return string 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\:\:get_packeta_label_format\(\) should return string but returns mixed\.$#'
1487 identifier: return.type
1488 count: 1
1489 path: ../src/Packetery/Module/Options/OptionsProvider.php
1490
1491 -
1492 message: '#^Method Packetery\\Module\\Options\\OptionsProvider\:\:get_sender\(\) should return string\|null 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\:\:sanitizePaymentGatewayId\(\) should return string but returns string\|null\.$#'
1499 identifier: return.type
1500 count: 1
1501 path: ../src/Packetery/Module/Options/OptionsProvider.php
1502
1503 -
1504 message: '#^Parameter \#1 \$input of function array_filter expects array, array\|false given\.$#'
1505 identifier: argument.type
1506 count: 1
1507 path: ../src/Packetery/Module/Options/OptionsProvider.php
1508
1509 -
1510 message: '#^Parameter \#1 \$maybe_status of function wc_is_order_status expects string, string\|null given\.$#'
1511 identifier: argument.type
1512 count: 1
1513 path: ../src/Packetery/Module/Options/OptionsProvider.php
1514
1515 -
1516 message: '#^Property Packetery\\Module\\Options\\OptionsProvider\:\:\$advancedData \(array\<string, mixed\>\) does not accept mixed\.$#'
1517 identifier: assign.propertyType
1518 count: 1
1519 path: ../src/Packetery/Module/Options/OptionsProvider.php
1520
1521 -
1522 message: '#^Property Packetery\\Module\\Options\\OptionsProvider\:\:\$autoSubmissionData \(array\<string, mixed\>\) does not accept mixed\.$#'
1523 identifier: assign.propertyType
1524 count: 1
1525 path: ../src/Packetery/Module/Options/OptionsProvider.php
1526
1527 -
1528 message: '#^Property Packetery\\Module\\Options\\OptionsProvider\:\:\$data \(array\<string, mixed\>\) does not accept mixed\.$#'
1529 identifier: assign.propertyType
1530 count: 1
1531 path: ../src/Packetery/Module/Options/OptionsProvider.php
1532
1533 -
1534 message: '#^Property Packetery\\Module\\Options\\OptionsProvider\:\:\$syncData \(array\<string, mixed\>\) does not accept mixed\.$#'
1535 identifier: assign.propertyType
1536 count: 1
1537 path: ../src/Packetery/Module/Options/OptionsProvider.php
1538
1539 -
1540 message: '#^Binary operation "\." between mixed and '' '' results in an error\.$#'
1541 identifier: binaryOp.invalid
1542 count: 1
1543 path: ../src/Packetery/Module/Options/Page.php
1544
1545 -
1546 message: '#^Binary operation "\." between non\-falsy\-string and mixed results in an error\.$#'
1547 identifier: binaryOp.invalid
1548 count: 1
1549 path: ../src/Packetery/Module/Options/Page.php
1550
1551 -
1552 message: '#^Cannot access offset ''default_dimensions_enabled'' on Packetery\\Nette\\ComponentModel\\IComponent\.$#'
1553 identifier: offsetAccess.nonOffsetAccessible
1554 count: 3
1555 path: ../src/Packetery/Module/Options/Page.php
1556
1557 -
1558 message: '#^Cannot access offset ''default_weight_enabled'' on Packetery\\Nette\\ComponentModel\\IComponent\.$#'
1559 identifier: offsetAccess.nonOffsetAccessible
1560 count: 1
1561 path: ../src/Packetery/Module/Options/Page.php
1562
1563 -
1564 message: '#^Cannot access offset ''dimensions_unit'' on Packetery\\Nette\\ComponentModel\\IComponent\.$#'
1565 identifier: offsetAccess.nonOffsetAccessible
1566 count: 3
1567 path: ../src/Packetery/Module/Options/Page.php
1568
1569 -
1570 message: '#^Cannot access offset int\|string on mixed\.$#'
1571 identifier: offsetAccess.nonOffsetAccessible
1572 count: 1
1573 path: ../src/Packetery/Module/Options/Page.php
1574
1575 -
1576 message: '#^Cannot call method getCaption\(\) on mixed\.$#'
1577 identifier: method.nonObject
1578 count: 1
1579 path: ../src/Packetery/Module/Options/Page.php
1580
1581 -
1582 message: '#^Cannot call method getError\(\) on mixed\.$#'
1583 identifier: method.nonObject
1584 count: 1
1585 path: ../src/Packetery/Module/Options/Page.php
1586
1587 -
1588 message: '#^Cannot call method getName\(\) on mixed\.$#'
1589 identifier: method.nonObject
1590 count: 2
1591 path: ../src/Packetery/Module/Options/Page.php
1592
1593 -
1594 message: '#^Cannot call method hasErrors\(\) on mixed\.$#'
1595 identifier: method.nonObject
1596 count: 2
1597 path: ../src/Packetery/Module/Options/Page.php
1598
1599 -
1600 message: '#^Cannot cast mixed to int\.$#'
1601 identifier: cast.int
1602 count: 2
1603 path: ../src/Packetery/Module/Options/Page.php
1604
1605 -
1606 message: '#^Method Packetery\\Module\\Options\\Page\:\:getChosenKeys\(\) has parameter \$choiceData with no value type specified in iterable type array\.$#'
1607 identifier: missingType.iterableValue
1608 count: 1
1609 path: ../src/Packetery/Module/Options/Page.php
1610
1611 -
1612 message: '#^Method Packetery\\Module\\Options\\Page\:\:getChosenKeys\(\) has parameter \$chosenHashedFormOrderStatuses with no value type specified in iterable type array\.$#'
1613 identifier: missingType.iterableValue
1614 count: 1
1615 path: ../src/Packetery/Module/Options/Page.php
1616
1617 -
1618 message: '#^Method Packetery\\Module\\Options\\Page\:\:getChosenKeys\(\) return type has no value type specified in iterable type array\.$#'
1619 identifier: missingType.iterableValue
1620 count: 1
1621 path: ../src/Packetery/Module/Options/Page.php
1622
1623 -
1624 message: '#^Method Packetery\\Module\\Options\\Page\:\:onAdvancedFormSuccess\(\) has parameter \$values with no value type specified in iterable type array\.$#'
1625 identifier: missingType.iterableValue
1626 count: 1
1627 path: ../src/Packetery/Module/Options/Page.php
1628
1629 -
1630 message: '#^Method Packetery\\Module\\Options\\Page\:\:onAutoSubmissionFormSuccess\(\) has parameter \$values with no value type specified in iterable type array\.$#'
1631 identifier: missingType.iterableValue
1632 count: 1
1633 path: ../src/Packetery/Module/Options/Page.php
1634
1635 -
1636 message: '#^Method Packetery\\Module\\Options\\Page\:\:onPacketStatusSyncFormSuccess\(\) has parameter \$values with no value type specified in iterable type array\.$#'
1637 identifier: missingType.iterableValue
1638 count: 1
1639 path: ../src/Packetery/Module/Options/Page.php
1640
1641 -
1642 message: '#^Method Packetery\\Module\\Options\\Page\:\:sanitizePacketeryOptions\(\) has parameter \$options with no value type specified in iterable type array\.$#'
1643 identifier: missingType.iterableValue
1644 count: 1
1645 path: ../src/Packetery/Module/Options/Page.php
1646
1647 -
1648 message: '#^Method Packetery\\Module\\Options\\Page\:\:sanitizePacketeryOptions\(\) return type has no value type specified in iterable type array\.$#'
1649 identifier: missingType.iterableValue
1650 count: 1
1651 path: ../src/Packetery/Module/Options/Page.php
1652
1653 -
1654 message: '#^Method Packetery\\Module\\Options\\Page\:\:translateStatuses\(\) has parameter \$choiceData with no value type specified in iterable type array\.$#'
1655 identifier: missingType.iterableValue
1656 count: 1
1657 path: ../src/Packetery/Module/Options/Page.php
1658
1659 -
1660 message: '#^Method Packetery\\Module\\Options\\Page\:\:translateStatuses\(\) has parameter \$formData with no value type specified in iterable type array\.$#'
1661 identifier: missingType.iterableValue
1662 count: 1
1663 path: ../src/Packetery/Module/Options/Page.php
1664
1665 -
1666 message: '#^Method Packetery\\Module\\Options\\Page\:\:translateStatuses\(\) return type has no value type specified in iterable type array\.$#'
1667 identifier: missingType.iterableValue
1668 count: 1
1669 path: ../src/Packetery/Module/Options/Page.php
1670
1671 -
1672 message: '#^Method Packetery\\Module\\Options\\Page\:\:validatePacketeryOptions\(\) has parameter \$options with no value type specified in iterable type array\.$#'
1673 identifier: missingType.iterableValue
1674 count: 1
1675 path: ../src/Packetery/Module/Options/Page.php
1676
1677 -
1678 message: '#^Method Packetery\\Module\\Options\\Page\:\:validatePacketeryOptions\(\) return type has no value type specified in iterable type array\.$#'
1679 identifier: missingType.iterableValue
1680 count: 1
1681 path: ../src/Packetery/Module/Options/Page.php
1682
1683 -
1684 message: '#^Parameter \#1 \$apiPassword of method Packetery\\Core\\Api\\Soap\\Client\:\:setApiPassword\(\) expects string, mixed given\.$#'
1685 identifier: argument.type
1686 count: 2
1687 path: ../src/Packetery/Module/Options/Page.php
1688
1689 -
1690 message: '#^Parameter \#1 \$key of function array_key_exists expects int\|string, mixed given\.$#'
1691 identifier: argument.type
1692 count: 1
1693 path: ../src/Packetery/Module/Options/Page.php
1694
1695 -
1696 message: '#^Parameter \#1 \$senderLabel of method Packetery\\Module\\Options\\Page\:\:validateSender\(\) expects string, string\|null given\.$#'
1697 identifier: argument.type
1698 count: 1
1699 path: ../src/Packetery/Module/Options/Page.php
1700
1701 -
1702 message: '#^Parameter \#1 \$string of function substr expects string, mixed given\.$#'
1703 identifier: argument.type
1704 count: 1
1705 path: ../src/Packetery/Module/Options/Page.php
1706
1707 -
1708 message: '#^Parameter \#2 \$caption of method Packetery\\Nette\\Forms\\Container\:\:addCheckbox\(\) expects object\|string\|null, int\|string given\.$#'
1709 identifier: argument.type
1710 count: 1
1711 path: ../src/Packetery/Module/Options/Page.php
1712
1713 -
1714 message: '#^Parameter \#2 \$datetime of static method DateTime\:\:createFromFormat\(\) expects string, mixed given\.$#'
1715 identifier: argument.type
1716 count: 1
1717 path: ../src/Packetery/Module/Options/Page.php
1718
1719 -
1720 message: '#^Parameter \#2 \$haystack of function in_array expects array, mixed given\.$#'
1721 identifier: argument.type
1722 count: 2
1723 path: ../src/Packetery/Module/Options/Page.php
1724
1725 -
1726 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\)\>\.$#'
1727 identifier: assign.propertyType
1728 count: 1
1729 path: ../src/Packetery/Module/Options/Page.php
1730
1731 -
1732 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\)\>\.$#'
1733 identifier: assign.propertyType
1734 count: 1
1735 path: ../src/Packetery/Module/Options/Page.php
1736
1737 -
1738 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\)\>\.$#'
1739 identifier: assign.propertyType
1740 count: 1
1741 path: ../src/Packetery/Module/Options/Page.php
1742
1743 -
1744 message: '#^Method Packetery\\Module\\Options\\Repository\:\:getAllOptionNamesByPrefixes\(\) should return array\<string\> but returns array\<bool\|float\|int\|string\|null\>\.$#'
1745 identifier: return.type
1746 count: 1
1747 path: ../src/Packetery/Module/Options/Repository.php
1748
1749 -
1750 message: '#^Method Packetery\\Module\\Options\\Repository\:\:getAllTransientsByPrefixes\(\) should return array\<string\> but returns list\<string\|null\>\.$#'
1751 identifier: return.type
1752 count: 1
1753 path: ../src/Packetery/Module/Options/Repository.php
1754
1755 -
1756 message: '#^Method Packetery\\Module\\Options\\Repository\:\:getExpiredTransientsByPrefix\(\) should return array\<string\> but returns array\<bool\|float\|int\|string\|null\>\.$#'
1757 identifier: return.type
1758 count: 1
1759 path: ../src/Packetery/Module/Options/Repository.php
1760
1761 -
1762 message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
1763 identifier: foreach.nonIterable
1764 count: 1
1765 path: ../src/Packetery/Module/Order/ApiExtender.php
1766
1767 -
1768 message: '#^Cannot access offset ''method_id'' on mixed\.$#'
1769 identifier: offsetAccess.nonOffsetAccessible
1770 count: 1
1771 path: ../src/Packetery/Module/Order/ApiExtender.php
1772
1773 -
1774 message: '#^Cannot access offset ''packeta'' on mixed\.$#'
1775 identifier: offsetAccess.nonOffsetAccessible
1776 count: 1
1777 path: ../src/Packetery/Module/Order/ApiExtender.php
1778
1779 -
1780 message: '#^Cannot access offset ''shipping_lines'' on mixed\.$#'
1781 identifier: offsetAccess.nonOffsetAccessible
1782 count: 2
1783 path: ../src/Packetery/Module/Order/ApiExtender.php
1784
1785 -
1786 message: '#^Cannot access offset mixed on mixed\.$#'
1787 identifier: offsetAccess.nonOffsetAccessible
1788 count: 1
1789 path: ../src/Packetery/Module/Order/ApiExtender.php
1790
1791 -
1792 message: '#^Parameter \#1 \$methodId of static method Packetery\\Module\\Shipping\\ShippingProvider\:\:isPacketaMethod\(\) expects string, mixed given\.$#'
1793 identifier: argument.type
1794 count: 1
1795 path: ../src/Packetery/Module/Order/ApiExtender.php
1796
1797 -
1798 message: '#^Method Packetery\\Module\\Order\\AttributeMapper\:\:createAddress\(\) has parameter \$values with no value type specified in iterable type array\.$#'
1799 identifier: missingType.iterableValue
1800 count: 1
1801 path: ../src/Packetery/Module/Order/AttributeMapper.php
1802
1803 -
1804 message: '#^Method Packetery\\Module\\Order\\AttributeMapper\:\:toCarDeliveryAddress\(\) has parameter \$values with no value type specified in iterable type array\.$#'
1805 identifier: missingType.iterableValue
1806 count: 1
1807 path: ../src/Packetery/Module/Order/AttributeMapper.php
1808
1809 -
1810 message: '#^Method Packetery\\Module\\Order\\AttributeMapper\:\:toValidatedAddress\(\) has parameter \$values with no value type specified in iterable type array\.$#'
1811 identifier: missingType.iterableValue
1812 count: 1
1813 path: ../src/Packetery/Module/Order/AttributeMapper.php
1814
1815 -
1816 message: '#^Method Packetery\\Module\\Order\\AttributeMapper\:\:validatedAddressToWcOrderShippingAddress\(\) has parameter \$checkoutData with no value type specified in iterable type array\.$#'
1817 identifier: missingType.iterableValue
1818 count: 1
1819 path: ../src/Packetery/Module/Order/AttributeMapper.php
1820
1821 -
1822 message: '#^Parameter \#1 \$city of method Packetery\\Core\\Entity\\PickupPoint\:\:setCity\(\) expects string\|null, float\|int\|string\|true\|null given\.$#'
1823 identifier: argument.type
1824 count: 1
1825 path: ../src/Packetery/Module/Order/AttributeMapper.php
1826
1827 -
1828 message: '#^Parameter \#1 \$height of method Packetery\\Core\\Entity\\Size\:\:setHeight\(\) expects float\|null, float\|int\|string\|true\|null given\.$#'
1829 identifier: argument.type
1830 count: 1
1831 path: ../src/Packetery/Module/Order/AttributeMapper.php
1832
1833 -
1834 message: '#^Parameter \#1 \$id of method Packetery\\Core\\Entity\\PickupPoint\:\:setId\(\) expects string\|null, float\|int\|string\|true\|null given\.$#'
1835 identifier: argument.type
1836 count: 1
1837 path: ../src/Packetery/Module/Order/AttributeMapper.php
1838
1839 -
1840 message: '#^Parameter \#1 \$length of method Packetery\\Core\\Entity\\Size\:\:setLength\(\) expects float\|null, float\|int\|string\|true\|null given\.$#'
1841 identifier: argument.type
1842 count: 1
1843 path: ../src/Packetery/Module/Order/AttributeMapper.php
1844
1845 -
1846 message: '#^Parameter \#1 \$name of method Packetery\\Core\\Entity\\PickupPoint\:\:setName\(\) expects string\|null, float\|int\|string\|true\|null given\.$#'
1847 identifier: argument.type
1848 count: 1
1849 path: ../src/Packetery/Module/Order/AttributeMapper.php
1850
1851 -
1852 message: '#^Parameter \#1 \$street of method Packetery\\Core\\Entity\\PickupPoint\:\:setStreet\(\) expects string\|null, float\|int\|string\|true\|null given\.$#'
1853 identifier: argument.type
1854 count: 1
1855 path: ../src/Packetery/Module/Order/AttributeMapper.php
1856
1857 -
1858 message: '#^Parameter \#1 \$url of method Packetery\\Core\\Entity\\PickupPoint\:\:setUrl\(\) expects string\|null, float\|int\|string\|true\|null given\.$#'
1859 identifier: argument.type
1860 count: 1
1861 path: ../src/Packetery/Module/Order/AttributeMapper.php
1862
1863 -
1864 message: '#^Parameter \#1 \$width of method Packetery\\Core\\Entity\\Size\:\:setWidth\(\) expects float\|null, float\|int\|string\|true\|null given\.$#'
1865 identifier: argument.type
1866 count: 1
1867 path: ../src/Packetery/Module/Order/AttributeMapper.php
1868
1869 -
1870 message: '#^Parameter \#1 \$zip of method Packetery\\Core\\Entity\\PickupPoint\:\:setZip\(\) expects string\|null, float\|int\|string\|true\|null given\.$#'
1871 identifier: argument.type
1872 count: 1
1873 path: ../src/Packetery/Module/Order/AttributeMapper.php
1874
1875 -
1876 message: '#^Cannot access property \$city on mixed\.$#'
1877 identifier: property.nonObject
1878 count: 1
1879 path: ../src/Packetery/Module/Order/Builder.php
1880
1881 -
1882 message: '#^Cannot access property \$county on mixed\.$#'
1883 identifier: property.nonObject
1884 count: 1
1885 path: ../src/Packetery/Module/Order/Builder.php
1886
1887 -
1888 message: '#^Cannot access property \$houseNumber on mixed\.$#'
1889 identifier: property.nonObject
1890 count: 1
1891 path: ../src/Packetery/Module/Order/Builder.php
1892
1893 -
1894 message: '#^Cannot access property \$latitude on mixed\.$#'
1895 identifier: property.nonObject
1896 count: 1
1897 path: ../src/Packetery/Module/Order/Builder.php
1898
1899 -
1900 message: '#^Cannot access property \$longitude on mixed\.$#'
1901 identifier: property.nonObject
1902 count: 1
1903 path: ../src/Packetery/Module/Order/Builder.php
1904
1905 -
1906 message: '#^Cannot access property \$street on mixed\.$#'
1907 identifier: property.nonObject
1908 count: 1
1909 path: ../src/Packetery/Module/Order/Builder.php
1910
1911 -
1912 message: '#^Cannot access property \$zip on mixed\.$#'
1913 identifier: property.nonObject
1914 count: 1
1915 path: ../src/Packetery/Module/Order/Builder.php
1916
1917 -
1918 message: '#^Cannot call method setTimezone\(\) on DateTimeImmutable\|false\.$#'
1919 identifier: method.nonObject
1920 count: 1
1921 path: ../src/Packetery/Module/Order/Builder.php
1922
1923 -
1924 message: '#^Parameter \#1 \$orderNumber of method Packetery\\Module\\CustomsDeclaration\\Repository\:\:getByOrderNumber\(\) expects string, string\|null given\.$#'
1925 identifier: argument.type
1926 count: 1
1927 path: ../src/Packetery/Module/Order/Builder.php
1928
1929 -
1930 message: '#^Parameter \#1 \$size of method Packetery\\Core\\Entity\\Order\:\:setSize\(\) expects Packetery\\Core\\Entity\\Size, Packetery\\Core\\Entity\\Size\|null given\.$#'
1931 identifier: argument.type
1932 count: 1
1933 path: ../src/Packetery/Module/Order/Builder.php
1934
1935 -
1936 message: '#^Cannot access offset ''packetery_order_id'' on mixed\.$#'
1937 identifier: offsetAccess.nonOffsetAccessible
1938 count: 1
1939 path: ../src/Packetery/Module/Order/BulkActions.php
1940
1941 -
1942 message: '#^Cannot access offset ''submit_to_api'' on mixed\.$#'
1943 identifier: offsetAccess.nonOffsetAccessible
1944 count: 1
1945 path: ../src/Packetery/Module/Order/BulkActions.php
1946
1947 -
1948 message: '#^Parameter \#1 \$submissionResult of method Packetery\\Module\\Order\\PacketSubmitter\:\:getTranslatedSubmissionMessages\(\) expects array\<string, int\>, mixed given\.$#'
1949 identifier: argument.type
1950 count: 1
1951 path: ../src/Packetery/Module/Order/BulkActions.php
1952
1953 -
1954 message: '#^Cannot access offset ''carrierId'' on array\|object\.$#'
1955 identifier: offsetAccess.nonOffsetAccessible
1956 count: 1
1957 path: ../src/Packetery/Module/Order/CarrierModal.php
1958
1959 -
1960 message: '#^Method Packetery\\Module\\Order\\CarrierModal\:\:createNewCarrierOrder\(\) should return string but returns string\|null\.$#'
1961 identifier: return.type
1962 count: 1
1963 path: ../src/Packetery/Module/Order/CarrierModal.php
1964
1965 -
1966 message: '#^Method Packetery\\Module\\Order\\CarrierModal\:\:getCarrierOptionsByCountry\(\) should return array\<string\> but returns array\<string, string\|null\>\.$#'
1967 identifier: return.type
1968 count: 1
1969 path: ../src/Packetery/Module/Order/CarrierModal.php
1970
1971 -
1972 message: '#^Parameter \#1 \$orderIds of method Packetery\\Module\\Order\\Repository\:\:getByIds\(\) expects array\<string\>, mixed given\.$#'
1973 identifier: argument.type
1974 count: 1
1975 path: ../src/Packetery/Module/Order/CollectionPrint.php
1976
1977 -
1978 message: '#^Anonymous function should return float but returns float\|null\.$#'
1979 identifier: return.type
1980 count: 1
1981 path: ../src/Packetery/Module/Order/CustomsDeclarationMetabox.php
1982
1983 -
1984 message: '#^Cannot access offset ''fill_customs_declaration'' on array\|object\.$#'
1985 identifier: offsetAccess.nonOffsetAccessible
1986 count: 1
1987 path: ../src/Packetery/Module/Order/CustomsDeclarationMetabox.php
1988
1989 -
1990 message: '#^Cannot access offset ''packetery_customs_declaration'' on array\|object\.$#'
1991 identifier: offsetAccess.nonOffsetAccessible
1992 count: 1
1993 path: ../src/Packetery/Module/Order/CustomsDeclarationMetabox.php
1994
1995 -
1996 message: '#^Method Packetery\\Module\\Order\\CustomsDeclarationMetabox\:\:createForm\(\) has parameter \$structureData with no value type specified in iterable type array\.$#'
1997 identifier: missingType.iterableValue
1998 count: 1
1999 path: ../src/Packetery/Module/Order/CustomsDeclarationMetabox.php
2000
2001 -
2002 message: '#^Method Packetery\\Module\\Order\\CustomsDeclarationMetabox\:\:processUploadedFile\(\) has parameter \$containerValues with no value type specified in iterable type array\.$#'
2003 identifier: missingType.iterableValue
2004 count: 1
2005 path: ../src/Packetery/Module/Order/CustomsDeclarationMetabox.php
2006
2007 -
2008 message: '#^Only booleans are allowed in an if condition, bool\|Packetery\\Nette\\Forms\\SubmitterControl given\.$#'
2009 identifier: if.condNotBoolean
2010 count: 1
2011 path: ../src/Packetery/Module/Order/CustomsDeclarationMetabox.php
2012
2013 -
2014 message: '#^Parameter \#1 \$orderNumber of method Packetery\\Module\\CustomsDeclaration\\Repository\:\:getByOrderNumber\(\) expects string, string\|null given\.$#'
2015 identifier: argument.type
2016 count: 3
2017 path: ../src/Packetery/Module/Order/CustomsDeclarationMetabox.php
2018
2019 -
2020 message: '#^Parameter \#1 \$structureData of method Packetery\\Module\\Order\\CustomsDeclarationMetabox\:\:createForm\(\) expects array, mixed given\.$#'
2021 identifier: argument.type
2022 count: 1
2023 path: ../src/Packetery/Module/Order/CustomsDeclarationMetabox.php
2024
2025 -
2026 message: '#^Parameter \#2 \$orderId of method Packetery\\Module\\EntityFactory\\CustomsDeclaration\:\:fromStandardizedStructure\(\) expects string, string\|null given\.$#'
2027 identifier: argument.type
2028 count: 1
2029 path: ../src/Packetery/Module/Order/CustomsDeclarationMetabox.php
2030
2031 -
2032 message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, object\|string given\.$#'
2033 identifier: argument.type
2034 count: 1
2035 path: ../src/Packetery/Module/Order/CustomsDeclarationMetabox.php
2036
2037 -
2038 message: '#^Cannot cast mixed to int\.$#'
2039 identifier: cast.int
2040 count: 1
2041 path: ../src/Packetery/Module/Order/DetailCommonLogic.php
2042
2043 -
2044 message: '#^Parameter \#1 \$text of function esc_html expects string, string\|null given\.$#'
2045 identifier: argument.type
2046 count: 3
2047 path: ../src/Packetery/Module/Order/GridExtender.php
2048
2049 -
2050 message: '#^Cannot cast mixed to int\.$#'
2051 identifier: cast.int
2052 count: 1
2053 path: ../src/Packetery/Module/Order/LabelPrint.php
2054
2055 -
2056 message: '#^Method Packetery\\Module\\Order\\LabelPrint\:\:getOrderIdsTransient\(\) should return array\<string\>\|null but returns array\<mixed, mixed\>\.$#'
2057 identifier: return.type
2058 count: 1
2059 path: ../src/Packetery/Module/Order/LabelPrint.php
2060
2061 -
2062 message: '#^Method Packetery\\Module\\Order\\LabelPrint\:\:requestCarrierLabels\(\) has parameter \$packetIdsWithCourierNumbers with no value type specified in iterable type array\.$#'
2063 identifier: missingType.iterableValue
2064 count: 1
2065 path: ../src/Packetery/Module/Order/LabelPrint.php
2066
2067 -
2068 message: '#^Parameter \#1 \$trackingUrl of method Packetery\\Module\\ModuleHelper\:\:createHtmlLink\(\) expects string, string\|null given\.$#'
2069 identifier: argument.type
2070 count: 1
2071 path: ../src/Packetery/Module/Order/LabelPrint.php
2072
2073 -
2074 message: '#^Parameter \#2 \$text of method Packetery\\Module\\ModuleHelper\:\:createHtmlLink\(\) expects string, string\|null given\.$#'
2075 identifier: argument.type
2076 count: 1
2077 path: ../src/Packetery/Module/Order/LabelPrint.php
2078
2079 -
2080 message: '#^Cannot access offset ''offset'' on array\|object\.$#'
2081 identifier: offsetAccess.nonOffsetAccessible
2082 count: 1
2083 path: ../src/Packetery/Module/Order/LabelPrintModal.php
2084
2085 -
2086 message: '#^Cannot access offset ''packet_id'' on array\|object\.$#'
2087 identifier: offsetAccess.nonOffsetAccessible
2088 count: 1
2089 path: ../src/Packetery/Module/Order/LabelPrintModal.php
2090
2091 -
2092 message: '#^Method Packetery\\Module\\Order\\Metabox\:\:getOrderActionLink\(\) has parameter \$extraParams with no value type specified in iterable type array\.$#'
2093 identifier: missingType.iterableValue
2094 count: 1
2095 path: ../src/Packetery/Module/Order/Metabox.php
2096
2097 -
2098 message: '#^Method Packetery\\Module\\Order\\Metabox\:\:getPickupPointWidgetSettings\(\) return type has no value type specified in iterable type array\.$#'
2099 identifier: missingType.iterableValue
2100 count: 1
2101 path: ../src/Packetery/Module/Order/Metabox.php
2102
2103 -
2104 message: '#^Only booleans are allowed in &&, float\|int\|string\|true\|null given on the left side\.$#'
2105 identifier: booleanAnd.leftNotBoolean
2106 count: 1
2107 path: ../src/Packetery/Module/Order/Metabox.php
2108
2109 -
2110 message: '#^Parameter \#1 \$adultContent of method Packetery\\Core\\Entity\\Order\:\:setAdultContent\(\) expects bool\|null, float\|int\|string\|true\|null given\.$#'
2111 identifier: argument.type
2112 count: 1
2113 path: ../src/Packetery/Module/Order/Metabox.php
2114
2115 -
2116 message: '#^Parameter \#1 \$data of method Packetery\\Nette\\Forms\\Container\:\:setValues\(\) expects array\|object, mixed given\.$#'
2117 identifier: argument.type
2118 count: 1
2119 path: ../src/Packetery/Module/Order/Metabox.php
2120
2121 -
2122 message: '#^Parameter \#1 \$date of method Packetery\\Core\\CoreHelper\:\:getDateTimeFromString\(\) expects string\|null, float\|int\|string\|true\|null given\.$#'
2123 identifier: argument.type
2124 count: 1
2125 path: ../src/Packetery/Module/Order/Metabox.php
2126
2127 -
2128 message: '#^Parameter \#1 \$name of method Packetery\\Nette\\Forms\\Container\:\:addHidden\(\) expects string, bool\|string given\.$#'
2129 identifier: argument.type
2130 count: 2
2131 path: ../src/Packetery/Module/Order/Metabox.php
2132
2133 -
2134 message: '#^Parameter \#1 \$nonce of function wp_verify_nonce expects string, float\|int\|string\|true\|null given\.$#'
2135 identifier: argument.type
2136 count: 1
2137 path: ../src/Packetery/Module/Order/Metabox.php
2138
2139 -
2140 message: '#^Parameter \#1 \$value of method Packetery\\Module\\Options\\OptionsProvider\:\:getSanitizedDimensionValueInMm\(\) expects float\|string, float\|int\|string\|true\|null given\.$#'
2141 identifier: argument.type
2142 count: 1
2143 path: ../src/Packetery/Module/Order/Metabox.php
2144
2145 -
2146 message: '#^Parameter \#1 \$value of static method Packetery\\Core\\CoreHelper\:\:simplifyFloat\(\) expects float\|null, float\|int\|string given\.$#'
2147 identifier: argument.type
2148 count: 2
2149 path: ../src/Packetery/Module/Order/Metabox.php
2150
2151 -
2152 message: '#^Parameter \#2 \$attributeName of method Packetery\\Module\\Order\\AttributeMapper\:\:toWcOrderShippingAddress\(\) expects string, bool\|string given\.$#'
2153 identifier: argument.type
2154 count: 1
2155 path: ../src/Packetery/Module/Order/Metabox.php
2156
2157 -
2158 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\.$#'
2159 identifier: argument.type
2160 count: 1
2161 path: ../src/Packetery/Module/Order/Metabox.php
2162
2163 -
2164 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\.$#'
2165 identifier: argument.type
2166 count: 1
2167 path: ../src/Packetery/Module/Order/Metabox.php
2168
2169 -
2170 message: '#^Cannot cast mixed to int\.$#'
2171 identifier: cast.int
2172 count: 1
2173 path: ../src/Packetery/Module/Order/MetaboxesWrapper.php
2174
2175 -
2176 message: '#^Parameter \#1 \$encoded_string of function parse_str expects string, mixed given\.$#'
2177 identifier: argument.type
2178 count: 1
2179 path: ../src/Packetery/Module/Order/PacketActionsCommonLogic.php
2180
2181 -
2182 message: '#^Parameter \#1 \$nonce of function wp_verify_nonce expects string, mixed given\.$#'
2183 identifier: argument.type
2184 count: 1
2185 path: ../src/Packetery/Module/Order/PacketActionsCommonLogic.php
2186
2187 -
2188 message: '#^Parameter \#1 \$redirectTo of method Packetery\\Module\\Order\\PacketActionsCommonLogic\:\:redirectTo\(\) expects string, mixed given\.$#'
2189 identifier: argument.type
2190 count: 1
2191 path: ../src/Packetery/Module/Order/PacketActionsCommonLogic.php
2192
2193 -
2194 message: '#^Parameter \#1 \$orderId of method Packetery\\Module\\Order\\WcOrderActions\:\:updateOrderStatus\(\) expects string, string\|null given\.$#'
2195 identifier: argument.type
2196 count: 1
2197 path: ../src/Packetery/Module/Order/PacketCanceller.php
2198
2199 -
2200 message: '#^Parameter \#1 \$redirectTo of method Packetery\\Module\\Order\\PacketActionsCommonLogic\:\:redirectTo\(\) expects string, mixed given\.$#'
2201 identifier: argument.type
2202 count: 2
2203 path: ../src/Packetery/Module/Order/PacketCanceller.php
2204
2205 -
2206 message: '#^Parameter \#1 \$trackingUrl of method Packetery\\Module\\ModuleHelper\:\:createHtmlLink\(\) expects string, string\|null given\.$#'
2207 identifier: argument.type
2208 count: 1
2209 path: ../src/Packetery/Module/Order/PacketCanceller.php
2210
2211 -
2212 message: '#^Parameter \#2 \$text of method Packetery\\Module\\ModuleHelper\:\:createHtmlLink\(\) expects string, string\|null given\.$#'
2213 identifier: argument.type
2214 count: 1
2215 path: ../src/Packetery/Module/Order/PacketCanceller.php
2216
2217 -
2218 message: '#^Parameter \#1 \$redirectTo of method Packetery\\Module\\Order\\PacketActionsCommonLogic\:\:redirectTo\(\) expects string, mixed given\.$#'
2219 identifier: argument.type
2220 count: 3
2221 path: ../src/Packetery/Module/Order/PacketClaimSubmitter.php
2222
2223 -
2224 message: '#^Parameter \#1 \$trackingUrl of method Packetery\\Module\\ModuleHelper\:\:createHtmlLink\(\) expects string, string\|null given\.$#'
2225 identifier: argument.type
2226 count: 1
2227 path: ../src/Packetery/Module/Order/PacketClaimSubmitter.php
2228
2229 -
2230 message: '#^Parameter \#2 \$text of method Packetery\\Module\\ModuleHelper\:\:createHtmlLink\(\) expects string, string\|null given\.$#'
2231 identifier: argument.type
2232 count: 1
2233 path: ../src/Packetery/Module/Order/PacketClaimSubmitter.php
2234
2235 -
2236 message: '#^Parameter \#1 \$packetId of class Packetery\\Core\\Api\\Soap\\Request\\PacketSetStoredUntil constructor expects string, string\|null given\.$#'
2237 identifier: argument.type
2238 count: 1
2239 path: ../src/Packetery/Module/Order/PacketSetStoredUntil.php
2240
2241 -
2242 message: '#^Cannot call method get_data\(\) on WC_Order_Item_Shipping\|false\.$#'
2243 identifier: method.nonObject
2244 count: 1
2245 path: ../src/Packetery/Module/Order/PacketSubmitter.php
2246
2247 -
2248 message: '#^Parameter \#1 \$message of method Packetery\\Module\\Message\:\:setText\(\) expects string, string\|null given\.$#'
2249 identifier: argument.type
2250 count: 3
2251 path: ../src/Packetery/Module/Order/PacketSubmitter.php
2252
2253 -
2254 message: '#^Parameter \#1 \$redirectTo of method Packetery\\Module\\Order\\PacketActionsCommonLogic\:\:redirectTo\(\) expects string, mixed given\.$#'
2255 identifier: argument.type
2256 count: 2
2257 path: ../src/Packetery/Module/Order/PacketSubmitter.php
2258
2259 -
2260 message: '#^Parameter \#1 \$str of function base64_encode expects string, string\|null given\.$#'
2261 identifier: argument.type
2262 count: 2
2263 path: ../src/Packetery/Module/Order/PacketSubmitter.php
2264
2265 -
2266 message: '#^Parameter \#1 \$trackingUrl of method Packetery\\Module\\ModuleHelper\:\:createHtmlLink\(\) expects string, string\|null given\.$#'
2267 identifier: argument.type
2268 count: 1
2269 path: ../src/Packetery/Module/Order/PacketSubmitter.php
2270
2271 -
2272 message: '#^Parameter \#1 \$wcOrder of method Packetery\\Module\\Order\\PacketSubmitter\:\:submitPacket\(\) expects WC_Order, WC_Order\|null given\.$#'
2273 identifier: argument.type
2274 count: 1
2275 path: ../src/Packetery/Module/Order/PacketSubmitter.php
2276
2277 -
2278 message: '#^Parameter \#2 \$text of method Packetery\\Module\\ModuleHelper\:\:createHtmlLink\(\) expects string, string\|null given\.$#'
2279 identifier: argument.type
2280 count: 1
2281 path: ../src/Packetery/Module/Order/PacketSubmitter.php
2282
2283 -
2284 message: '#^Parameter \#1 \$orderId of method Packetery\\Module\\Order\\WcOrderActions\:\:updateOrderStatus\(\) expects string, string\|null given\.$#'
2285 identifier: argument.type
2286 count: 1
2287 path: ../src/Packetery/Module/Order/PacketSynchronizer.php
2288
2289 -
2290 message: '#^Parameter \#1 \$packetId of class Packetery\\Core\\Api\\Soap\\Request\\PacketStatus constructor expects string, string\|null given\.$#'
2291 identifier: argument.type
2292 count: 1
2293 path: ../src/Packetery/Module/Order/PacketSynchronizer.php
2294
2295 -
2296 message: '#^Access to an undefined property object\:\:\$id\.$#'
2297 identifier: property.notFound
2298 count: 2
2299 path: ../src/Packetery/Module/Order/Repository.php
2300
2301 -
2302 message: '#^Argument of an invalid type array\<object\>\|null supplied for foreach, only iterables are supported\.$#'
2303 identifier: foreach.nonIterable
2304 count: 1
2305 path: ../src/Packetery/Module/Order/Repository.php
2306
2307 -
2308 message: '#^Method Packetery\\Module\\Order\\Repository\:\:getDataById\(\) should return object\|null but returns array\<string, mixed\>\|object\|null\.$#'
2309 identifier: return.type
2310 count: 1
2311 path: ../src/Packetery/Module/Order/Repository.php
2312
2313 -
2314 message: '#^Method Packetery\\Module\\Order\\Repository\:\:processClauses\(\) should return array\<string, string\> but returns array\<string, string\|null\>\.$#'
2315 identifier: return.type
2316 count: 1
2317 path: ../src/Packetery/Module/Order/Repository.php
2318
2319 -
2320 message: '#^Offset ''file'' might not exist on array\{function\: string, line\?\: int, file\?\: string, class\?\: class\-string, type\?\: ''\-\>''\|''\:\:'', args\?\: array\<mixed\>, object\?\: object\}\.$#'
2321 identifier: offsetAccess.notFound
2322 count: 1
2323 path: ../src/Packetery/Module/Order/Repository.php
2324
2325 -
2326 message: '#^Offset ''line'' might not exist on array\{function\: string, line\?\: int, file\?\: string, class\?\: class\-string, type\?\: ''\-\>''\|''\:\:'', args\?\: array\<mixed\>, object\?\: object\}\.$#'
2327 identifier: offsetAccess.notFound
2328 count: 1
2329 path: ../src/Packetery/Module/Order/Repository.php
2330
2331 -
2332 message: '#^Parameter \#1 \$carrierId of method Packetery\\Module\\Carrier\\PacketaPickupPointsConfig\:\:isInternalPickupPointCarrier\(\) expects string, DateTimeImmutable\|string\|null given\.$#'
2333 identifier: argument.type
2334 count: 1
2335 path: ../src/Packetery/Module/Order/Repository.php
2336
2337 -
2338 message: '#^Parameter \#1 \$orderData of method Packetery\\Module\\Order\\Repository\:\:onBeforeDataInsertion\(\) expects array\<string, DateTimeImmutable\|string\|null\>, array\<string, DateTimeImmutable\|int\|string\|null\> given\.$#'
2339 identifier: argument.type
2340 count: 1
2341 path: ../src/Packetery/Module/Order/Repository.php
2342
2343 -
2344 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\.$#'
2345 identifier: argument.type
2346 count: 1
2347 path: ../src/Packetery/Module/Order/Repository.php
2348
2349 -
2350 message: '#^Parameter \#2 \$result of method Packetery\\Module\\Order\\Builder\:\:build\(\) expects stdClass, object given\.$#'
2351 identifier: argument.type
2352 count: 4
2353 path: ../src/Packetery/Module/Order/Repository.php
2354
2355 -
2356 message: '#^Method Packetery\\Module\\Plugin\:\:getSites\(\) return type has no value type specified in iterable type array\.$#'
2357 identifier: missingType.iterableValue
2358 count: 1
2359 path: ../src/Packetery/Module/Plugin.php
2360
2361 -
2362 message: '#^Call to function array_filter\(\) requires parameter \#2 to be passed to avoid loose comparison semantics\.$#'
2363 identifier: arrayFilter.strict
2364 count: 1
2365 path: ../src/Packetery/Module/Product/DataTab.php
2366
2367 -
2368 message: '#^Only booleans are allowed in an if condition, bool\|Packetery\\Nette\\Forms\\SubmitterControl given\.$#'
2369 identifier: if.condNotBoolean
2370 count: 1
2371 path: ../src/Packetery/Module/Product/DataTab.php
2372
2373 -
2374 message: '#^Parameter \#1 \$input of function array_filter expects array, array\<string, bool\>\|string given\.$#'
2375 identifier: argument.type
2376 count: 1
2377 path: ../src/Packetery/Module/Product/DataTab.php
2378
2379 -
2380 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\)\>\.$#'
2381 identifier: assign.propertyType
2382 count: 1
2383 path: ../src/Packetery/Module/Product/DataTab.php
2384
2385 -
2386 message: '#^Cannot cast mixed to string\.$#'
2387 identifier: cast.string
2388 count: 4
2389 path: ../src/Packetery/Module/Product/Entity.php
2390
2391 -
2392 message: '#^Method Packetery\\Module\\Product\\Entity\:\:getDisallowedShippingRateChoices\(\) should return array\<string\> but returns array\<mixed, mixed\>\.$#'
2393 identifier: return.type
2394 count: 1
2395 path: ../src/Packetery/Module/Product/Entity.php
2396
2397 -
2398 message: '#^Method Packetery\\Module\\ProductCategory\\Entity\:\:getDisallowedShippingRateChoices\(\) should return array\<string, bool\> but returns array\<mixed, mixed\>\.$#'
2399 identifier: return.type
2400 count: 1
2401 path: ../src/Packetery/Module/ProductCategory/Entity.php
2402
2403 -
2404 message: '#^Call to function array_filter\(\) requires parameter \#2 to be passed to avoid loose comparison semantics\.$#'
2405 identifier: arrayFilter.strict
2406 count: 1
2407 path: ../src/Packetery/Module/ProductCategory/FormFields.php
2408
2409 -
2410 message: '#^Only booleans are allowed in an if condition, bool\|Packetery\\Nette\\Forms\\SubmitterControl given\.$#'
2411 identifier: if.condNotBoolean
2412 count: 1
2413 path: ../src/Packetery/Module/ProductCategory/FormFields.php
2414
2415 -
2416 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\)\>\.$#'
2417 identifier: assign.propertyType
2418 count: 1
2419 path: ../src/Packetery/Module/ProductCategory/FormFields.php
2420
2421 -
2422 message: '#^Parameter \#1 \$category of class Packetery\\Module\\ProductCategory\\Entity constructor expects WP_Term, WP_Error\|WP_Term\|null given\.$#'
2423 identifier: argument.type
2424 count: 1
2425 path: ../src/Packetery/Module/ProductCategory/ProductCategoryEntityFactory.php
2426
2427 -
2428 message: '#^Method Packetery\\Module\\QueryProcessor\:\:getParamValues\(\) should return array\<string, null\> but returns array\<string, mixed\>\.$#'
2429 identifier: return.type
2430 count: 1
2431 path: ../src/Packetery/Module/QueryProcessor.php
2432
2433 -
2434 message: '#^Method Packetery\\Module\\Shipping\\BaseShippingMethod\:\:calculate_shipping\(\) has parameter \$package with no value type specified in iterable type array\.$#'
2435 identifier: missingType.iterableValue
2436 count: 1
2437 path: ../src/Packetery/Module/Shipping/BaseShippingMethod.php
2438
2439 -
2440 message: '#^Method Packetery\\Module\\Shipping\\BaseShippingMethod\:\:get_instance_form_fields\(\) return type has no value type specified in iterable type array\.$#'
2441 identifier: missingType.iterableValue
2442 count: 1
2443 path: ../src/Packetery/Module/Shipping/BaseShippingMethod.php
2444
2445 -
2446 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\.$#'
2447 identifier: argument.type
2448 count: 1
2449 path: ../src/Packetery/Module/Shipping/BaseShippingMethod.php
2450
2451 -
2452 message: '#^Property Packetery\\Module\\Shipping\\BaseShippingMethod\:\:\$options \(array\<string, string\|null\>\|false\|null\) does not accept mixed\.$#'
2453 identifier: assign.propertyType
2454 count: 1
2455 path: ../src/Packetery/Module/Shipping/BaseShippingMethod.php
2456
2457 -
2458 message: '#^Property WC_Shipping_Method\:\:\$title \(string\) does not accept mixed\.$#'
2459 identifier: assign.propertyType
2460 count: 1
2461 path: ../src/Packetery/Module/Shipping/BaseShippingMethod.php
2462
2463 -
2464 message: '#^Argument of an invalid type array\<int, array\<string, string\>\>\|null supplied for foreach, only iterables are supported\.$#'
2465 identifier: foreach.nonIterable
2466 count: 1
2467 path: ../src/Packetery/Module/Shipping/ShippingMethodGenerator.php
2468
2469 -
2470 message: '#^Access to an undefined property object\:\:\$method_title\.$#'
2471 identifier: property.notFound
2472 count: 2
2473 path: ../src/Packetery/Module/Shipping/ShippingProvider.php
2474
2475 -
2476 message: '#^Argument of an invalid type list\<string\>\|false supplied for foreach, only iterables are supported\.$#'
2477 identifier: foreach.nonIterable
2478 count: 2
2479 path: ../src/Packetery/Module/Shipping/ShippingProvider.php
2480
2481 -
2482 message: '#^Method Packetery\\Module\\Shipping\\ShippingProvider\:\:addActiveCarrierMethod\(\) should return array\<string, string\> but returns array\<string, Packetery\\Module\\Shipping\\BaseShippingMethod\|string\>\.$#'
2483 identifier: return.type
2484 count: 1
2485 path: ../src/Packetery/Module/Shipping/ShippingProvider.php
2486
2487 -
2488 message: '#^Method Packetery\\Module\\Shipping\\ShippingProvider\:\:getGeneratedClassnames\(\) return type has no value type specified in iterable type array\.$#'
2489 identifier: missingType.iterableValue
2490 count: 1
2491 path: ../src/Packetery/Module/Shipping/ShippingProvider.php
2492
2493 -
2494 message: '#^Only booleans are allowed in a negated boolean, int\|false given\.$#'
2495 identifier: booleanNot.exprNotBoolean
2496 count: 1
2497 path: ../src/Packetery/Module/Shipping/ShippingProvider.php
2498
2499 -
2500 message: '#^Only booleans are allowed in an if condition, int\|false given\.$#'
2501 identifier: if.condNotBoolean
2502 count: 2
2503 path: ../src/Packetery/Module/Shipping/ShippingProvider.php
2504
2505 -
2506 message: '#^Method Packetery\\Module\\ShippingZoneRepository\:\:getCountryCodesForShippingZone\(\) return type has no value type specified in iterable type array\.$#'
2507 identifier: missingType.iterableValue
2508 count: 1
2509 path: ../src/Packetery/Module/ShippingZoneRepository.php
2510
2511 -
2512 message: '#^Method Packetery\\Module\\ShippingZoneRepository\:\:getCountryCodesFromZoneLocations\(\) has parameter \$zoneLocations with no value type specified in iterable type array\.$#'
2513 identifier: missingType.iterableValue
2514 count: 1
2515 path: ../src/Packetery/Module/ShippingZoneRepository.php
2516
2517 -
2518 message: '#^Method Packetery\\Module\\ShippingZoneRepository\:\:getCountryCodesFromZoneLocations\(\) return type has no value type specified in iterable type array\.$#'
2519 identifier: missingType.iterableValue
2520 count: 1
2521 path: ../src/Packetery/Module/ShippingZoneRepository.php
2522
2523 -
2524 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\.$#'
2525 identifier: return.type
2526 count: 1
2527 path: ../src/Packetery/Module/ShippingZoneRepository.php
2528
2529 -
2530 message: '#^Argument of an invalid type array\<WC_Order\>\|stdClass supplied for foreach, only iterables are supported\.$#'
2531 identifier: foreach.nonIterable
2532 count: 1
2533 path: ../src/Packetery/Module/Upgrade.php
2534
2535 -
2536 message: '#^Cannot access offset ''received data'' on mixed\.$#'
2537 identifier: offsetAccess.nonOffsetAccessible
2538 count: 1
2539 path: ../src/Packetery/Module/Upgrade.php
2540
2541 -
2542 message: '#^Cannot cast mixed to float\.$#'
2543 identifier: cast.double
2544 count: 1
2545 path: ../src/Packetery/Module/Upgrade.php
2546
2547 -
2548 message: '#^Cannot cast mixed to string\.$#'
2549 identifier: cast.string
2550 count: 1
2551 path: ../src/Packetery/Module/Upgrade.php
2552
2553 -
2554 message: '#^Parameter \#1 \$address of method Packetery\\Core\\Entity\\Order\:\:setDeliveryAddress\(\) expects Packetery\\Core\\Entity\\Address, Packetery\\Core\\Entity\\Address\|null given\.$#'
2555 identifier: argument.type
2556 count: 1
2557 path: ../src/Packetery/Module/Upgrade.php
2558
2559 -
2560 message: '#^Parameter \#1 \$carrierId of method Packetery\\Module\\Carrier\\EntityRepository\:\:getAnyById\(\) expects string, string\|null given\.$#'
2561 identifier: argument.type
2562 count: 1
2563 path: ../src/Packetery/Module/Upgrade.php
2564
2565 -
2566 message: '#^Parameter \#1 \$county of method Packetery\\Core\\Entity\\Address\:\:setCounty\(\) expects string\|null, mixed given\.$#'
2567 identifier: argument.type
2568 count: 1
2569 path: ../src/Packetery/Module/Upgrade.php
2570
2571 -
2572 message: '#^Parameter \#1 \$houseNumber of method Packetery\\Core\\Entity\\Address\:\:setHouseNumber\(\) expects string\|null, mixed given\.$#'
2573 identifier: argument.type
2574 count: 1
2575 path: ../src/Packetery/Module/Upgrade.php
2576
2577 -
2578 message: '#^Parameter \#1 \$latitude of method Packetery\\Core\\Entity\\Address\:\:setLatitude\(\) expects string\|null, mixed given\.$#'
2579 identifier: argument.type
2580 count: 1
2581 path: ../src/Packetery/Module/Upgrade.php
2582
2583 -
2584 message: '#^Parameter \#1 \$longitude of method Packetery\\Core\\Entity\\Address\:\:setLongitude\(\) expects string\|null, mixed given\.$#'
2585 identifier: argument.type
2586 count: 1
2587 path: ../src/Packetery/Module/Upgrade.php
2588
2589 -
2590 message: '#^Parameter \#1 \$street of class Packetery\\Core\\Entity\\Address constructor expects string\|null, mixed given\.$#'
2591 identifier: argument.type
2592 count: 1
2593 path: ../src/Packetery/Module/Upgrade.php
2594
2595 -
2596 message: '#^Parameter \#1 \$version1 of function version_compare expects string, mixed given\.$#'
2597 identifier: argument.type
2598 count: 9
2599 path: ../src/Packetery/Module/Upgrade.php
2600
2601 -
2602 message: '#^Parameter \#2 \$carrier of class Packetery\\Core\\Entity\\Order constructor expects Packetery\\Core\\Entity\\Carrier, Packetery\\Core\\Entity\\Carrier\|null given\.$#'
2603 identifier: argument.type
2604 count: 1
2605 path: ../src/Packetery/Module/Upgrade.php
2606
2607 -
2608 message: '#^Parameter \#2 \$city of class Packetery\\Core\\Entity\\Address constructor expects string\|null, mixed given\.$#'
2609 identifier: argument.type
2610 count: 1
2611 path: ../src/Packetery/Module/Upgrade.php
2612
2613 -
2614 message: '#^Parameter \#3 \$zip of class Packetery\\Core\\Entity\\Address constructor expects string\|null, mixed given\.$#'
2615 identifier: argument.type
2616 count: 1
2617 path: ../src/Packetery/Module/Upgrade.php
2618
2619 -
2620 message: '#^Method Packetery\\Module\\Views\\AssetManager\:\:enqueueScript\(\) has parameter \$deps with no value type specified in iterable type array\.$#'
2621 identifier: missingType.iterableValue
2622 count: 1
2623 path: ../src/Packetery/Module/Views/AssetManager.php
2624
2625 -
2626 message: '#^Cannot cast mixed to string\.$#'
2627 identifier: cast.string
2628 count: 1
2629 path: ../src/Packetery/Module/Views/ViewMail.php
2630
2631 -
2632 message: '#^Cannot cast mixed to int\.$#'
2633 identifier: cast.int
2634 count: 1
2635 path: ../src/Packetery/Module/Views/WizardAssetManager.php
2636
2637 -
2638 message: '#^Method Packetery\\Module\\Views\\WizardAssetManager\:\:createOrderDetailCustomDeclarationTour\(\) has parameter \$basicTranslations with no value type specified in iterable type array\.$#'
2639 identifier: missingType.iterableValue
2640 count: 1
2641 path: ../src/Packetery/Module/Views/WizardAssetManager.php
2642
2643 -
2644 message: '#^Method Packetery\\Module\\Views\\WizardAssetManager\:\:createOrderDetailEditPacketTour\(\) has parameter \$basicTranslations with no value type specified in iterable type array\.$#'
2645 identifier: missingType.iterableValue
2646 count: 1
2647 path: ../src/Packetery/Module/Views/WizardAssetManager.php
2648
2649 -
2650 message: '#^Method Packetery\\Module\\Views\\WizardAssetManager\:\:createOrderGridEditPacketTour\(\) has parameter \$basicTranslations with no value type specified in iterable type array\.$#'
2651 identifier: missingType.iterableValue
2652 count: 1
2653 path: ../src/Packetery/Module/Views/WizardAssetManager.php
2654
2655 -
2656 message: '#^Method Packetery\\Module\\Views\\WizardAssetManager\:\:createOrderGridTour\(\) has parameter \$basicTranslations with no value type specified in iterable type array\.$#'
2657 identifier: missingType.iterableValue
2658 count: 1
2659 path: ../src/Packetery/Module/Views/WizardAssetManager.php
2660
2661 -
2662 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\.$#'
2663 identifier: argument.type
2664 count: 1
2665 path: ../src/Packetery/Module/WebRequestClient.php
2666
2667 -
2668 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\.$#'
2669 identifier: argument.type
2670 count: 1
2671 path: ../src/Packetery/Module/WebRequestClient.php
2672
2673 -
2674 message: '#^Method Packetery\\Module\\WeightCalculator\:\:calculateOrderWeight\(\) should return float but returns float\|null\.$#'
2675 identifier: return.type
2676 count: 1
2677 path: ../src/Packetery/Module/WeightCalculator.php
2678
2679 -
2680 message: '#^Cannot access offset ''address_validation'' on mixed\.$#'
2681 identifier: offsetAccess.nonOffsetAccessible
2682 count: 1
2683 path: ../src/Packetery/Module/WidgetOptionsBuilder.php
2684
2685 -
2686 message: '#^Cannot access offset ''vendor_groups'' on mixed\.$#'
2687 identifier: offsetAccess.nonOffsetAccessible
2688 count: 1
2689 path: ../src/Packetery/Module/WidgetOptionsBuilder.php
2690
2691 -
2692 message: '#^Method Packetery\\Module\\WidgetOptionsBuilder\:\:createAddressForAdmin\(\) return type has no value type specified in iterable type array\.$#'
2693 identifier: missingType.iterableValue
2694 count: 1
2695 path: ../src/Packetery/Module/WidgetOptionsBuilder.php
2696
2697 -
2698 message: '#^Method Packetery\\Module\\WidgetOptionsBuilder\:\:createPickupPointForAdmin\(\) return type has no value type specified in iterable type array\.$#'
2699 identifier: missingType.iterableValue
2700 count: 1
2701 path: ../src/Packetery/Module/WidgetOptionsBuilder.php
2702
2703 -
2704 message: '#^Method Packetery\\Module\\WidgetOptionsBuilder\:\:getCarrierForCheckout\(\) return type has no value type specified in iterable type array\.$#'
2705 identifier: missingType.iterableValue
2706 count: 1
2707 path: ../src/Packetery/Module/WidgetOptionsBuilder.php
2708
2709 -
2710 message: '#^Method Packetery\\Module\\WidgetOptionsBuilder\:\:getWidgetVendorsParam\(\) has parameter \$vendorGroups with no value type specified in iterable type array\.$#'
2711 identifier: missingType.iterableValue
2712 count: 1
2713 path: ../src/Packetery/Module/WidgetOptionsBuilder.php
2714
2715 -
2716 message: '#^Method Packetery\\Module\\WidgetOptionsBuilder\:\:getWidgetVendorsParam\(\) return type has no value type specified in iterable type array\.$#'
2717 identifier: missingType.iterableValue
2718 count: 1
2719 path: ../src/Packetery/Module/WidgetOptionsBuilder.php
2720
2721 -
2722 message: '#^Parameter \#2 \$country of method Packetery\\Module\\WidgetOptionsBuilder\:\:getWidgetVendorsParam\(\) expects string, string\|null given\.$#'
2723 identifier: argument.type
2724 count: 1
2725 path: ../src/Packetery/Module/WidgetOptionsBuilder.php
2726
2727 -
2728 message: '#^Parameter \#3 \$vendorGroups of method Packetery\\Module\\WidgetOptionsBuilder\:\:getWidgetVendorsParam\(\) expects array\|null, mixed given\.$#'
2729 identifier: argument.type
2730 count: 1
2731 path: ../src/Packetery/Module/WidgetOptionsBuilder.php
2732
2733 -
2734 message: '#^Method Packetery\\Module\\WpdbAdapter\:\:get_results\(\) should return array\<object\>\|null but returns array\<array\<mixed\>\|stdClass\>\|null\.$#'
2735 identifier: return.type
2736 count: 1
2737 path: ../src/Packetery/Module/WpdbAdapter.php
2738
2739 -
2740 message: '#^Parameter \#1 \$query of method wpdb\:\:prepare\(\) expects literal\-string, string given\.$#'
2741 identifier: argument.type
2742 count: 1
2743 path: ../src/Packetery/Module/WpdbAdapter.php
2744
2745 -
2746 message: '#^Parameter \#2 \$output of method wpdb\:\:get_results\(\) expects ''ARRAY_A''\|''ARRAY_N''\|''OBJECT''\|''OBJECT_K'', string given\.$#'
2747 identifier: argument.type
2748 count: 1
2749 path: ../src/Packetery/Module/WpdbAdapter.php
2750
2751 -
2752 message: '#^Parameter \#2 \$output of method wpdb\:\:get_row\(\) expects ''ARRAY_A''\|''ARRAY_N''\|''OBJECT'', string given\.$#'
2753 identifier: argument.type
2754 count: 1
2755 path: ../src/Packetery/Module/WpdbAdapter.php
2756
2757 -
2758 message: '#^Parameter \#4 \$type of method wpdb\:\:_insert_replace_helper\(\) expects ''INSERT''\|''REPLACE'', string given\.$#'
2759 identifier: argument.type
2760 count: 1
2761 path: ../src/Packetery/Module/WpdbAdapter.php
2762
2763 -
2764 message: '#^Path in require_once\(\) "\./wp\-admin/includes/upgrade\.php" is not a file or it does not exist\.$#'
2765 identifier: requireOnce.fileNotFound
2766 count: 1
2767 path: ../src/Packetery/Module/WpdbAdapter.php
2768
2769 -
2770 message: '#^Binary operation "\*" between mixed and 1000 results in an error\.$#'
2771 identifier: binaryOp.invalid
2772 count: 1
2773 path: ../src/Packetery/Module/WpdbTracyPanel.php
2774
2775 -
2776 message: '#^Cannot use array destructuring on mixed\.$#'
2777 identifier: offsetAccess.nonArray
2778 count: 1
2779 path: ../src/Packetery/Module/WpdbTracyPanel.php
2780
2781 -
2782 message: '#^Parameter \#1 \$haystack of function strpos expects string, mixed given\.$#'
2783 identifier: argument.type
2784 count: 2
2785 path: ../src/Packetery/Module/WpdbTracyPanel.php
2786