-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathphpstan-baseline.neon
666 lines (534 loc) · 23.1 KB
/
phpstan-baseline.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
parameters:
ignoreErrors:
-
message: "#^Parameter \\#1 \\$callback of function call_user_func_array expects callable\\(\\)\\: mixed, mixed given\\.$#"
count: 2
path: functions/both.php
-
message: "#^Function Garp\\\\Functional\\\\call\\(\\) has parameter \\$args with no value type specified in iterable type array\\.$#"
count: 1
path: functions/call.php
-
message: "#^Parameter \\#1 \\$callback of function call_user_func_array expects callable\\(\\)\\: mixed, array\\{mixed, string\\} given\\.$#"
count: 1
path: functions/call.php
-
message: "#^Function Garp\\\\Functional\\\\concat\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: functions/concat.php
-
message: "#^Function Garp\\\\Functional\\\\concat\\(\\) should return array\\|\\(callable\\(\\)\\: mixed\\)\\|Garp\\\\Functional\\\\Types\\\\TypeClasses\\\\Semigroup\\|string but returns mixed\\.$#"
count: 2
path: functions/concat.php
-
message: "#^Parameter \\#1 \\$fn of function Garp\\\\Functional\\\\unary expects callable\\(\\)\\: mixed, mixed given\\.$#"
count: 1
path: functions/concat.php
-
message: "#^Function Garp\\\\Functional\\\\concat_with\\(\\) has parameter \\$collections with no value type specified in iterable type array\\.$#"
count: 1
path: functions/concat_with.php
-
message: "#^Function Garp\\\\Functional\\\\concat_with\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: functions/concat_with.php
-
message: "#^Function Garp\\\\Functional\\\\concat_with\\(\\) should return array but returns mixed\\.$#"
count: 2
path: functions/concat_with.php
-
message: "#^Parameter \\#1 \\$value of function count expects array\\|Countable, array\\|\\(iterable&object\\) given\\.$#"
count: 1
path: functions/count.php
-
message: "#^Parameter \\#1 \\$value of function strval expects bool\\|float\\|int\\|resource\\|string\\|null, object\\|string given\\.$#"
count: 1
path: functions/count.php
-
message: "#^Function Garp\\\\Functional\\\\drop\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: functions/drop.php
-
message: "#^Anonymous function should return array but returns mixed\\.$#"
count: 1
path: functions/drop_while.php
-
message: "#^Function Garp\\\\Functional\\\\drop_while\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: functions/drop_while.php
-
message: "#^Parameter \\#1 \\$callback of function call_user_func_array expects callable\\(\\)\\: mixed, mixed given\\.$#"
count: 2
path: functions/either.php
-
message: "#^Function Garp\\\\Functional\\\\entries\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: functions/entries.php
-
message: "#^Anonymous function should return bool but returns mixed\\.$#"
count: 1
path: functions/every.php
-
message: "#^Function Garp\\\\Functional\\\\flatten\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: functions/flatten.php
-
message: "#^Parameter \\#2 \\$args of function call_user_func_array expects array\\<int\\|string, mixed\\>, array\\|\\(callable\\)\\|Garp\\\\Functional\\\\Types\\\\TypeClasses\\\\Semigroup\\|string given\\.$#"
count: 1
path: functions/flip.php
-
message: "#^Anonymous function should return Garp\\\\Functional\\\\Types\\\\TypeClasses\\\\Monoid but returns array\\|\\(callable\\)\\|Garp\\\\Functional\\\\Types\\\\TypeClasses\\\\Semigroup\\|string\\.$#"
count: 1
path: functions/fold.php
-
message: "#^Function Garp\\\\Functional\\\\fold\\(\\) has parameter \\$collection with no value type specified in iterable type array\\.$#"
count: 1
path: functions/fold.php
-
message: "#^Parameter \\#1 \\$callback of function call_user_func expects callable\\(\\)\\: mixed, non\\-falsy\\-string given\\.$#"
count: 1
path: functions/fold.php
-
message: "#^Anonymous function should return array but returns mixed\\.$#"
count: 1
path: functions/group_by.php
-
message: "#^Function Garp\\\\Functional\\\\group_by\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: functions/group_by.php
-
message: "#^Anonymous function should return array but returns mixed\\.$#"
count: 1
path: functions/index_by.php
-
message: "#^Unreachable statement \\- code above always terminates\\.$#"
count: 1
path: functions/keys.php
-
message: "#^Parameter \\#1 \\$array of function array_values expects array, array\\|object given\\.$#"
count: 1
path: functions/last.php
-
message: "#^Function Garp\\\\Functional\\\\map\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: functions/map.php
-
message: "#^Function Garp\\\\Functional\\\\match_regex\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: functions/match_regex.php
-
message: "#^Function Garp\\\\Functional\\\\merge_after\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: functions/merge_after.php
-
message: "#^Parameter \\#2 \\$offset of function array_slice expects int, float\\|int given\\.$#"
count: 1
path: functions/merge_after.php
-
message: "#^Parameter \\#3 \\$length of function array_slice expects int\\|null, float\\|int given\\.$#"
count: 1
path: functions/merge_after.php
-
message: "#^Function Garp\\\\Functional\\\\merge_at\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: functions/merge_at.php
-
message: "#^Parameter \\#2 \\$offset of function array_slice expects int, float\\|int given\\.$#"
count: 1
path: functions/merge_at.php
-
message: "#^Parameter \\#3 \\$length of function array_slice expects int\\|null, float\\|int given\\.$#"
count: 1
path: functions/merge_at.php
-
message: "#^Anonymous function should return array but returns mixed\\.$#"
count: 1
path: functions/omit.php
-
message: "#^Function Garp\\\\Functional\\\\omit\\(\\) has parameter \\$omitted with no value type specified in iterable type array\\.$#"
count: 1
path: functions/omit.php
-
message: "#^Function Garp\\\\Functional\\\\omit\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: functions/omit.php
-
message: "#^Function Garp\\\\Functional\\\\pick\\(\\) has parameter \\$allowed with no value type specified in iterable type array\\.$#"
count: 1
path: functions/pick.php
-
message: "#^Function Garp\\\\Functional\\\\pick\\(\\) has parameter \\$collection with no value type specified in iterable type array\\.$#"
count: 1
path: functions/pick.php
-
message: "#^Function Garp\\\\Functional\\\\pick\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: functions/pick.php
-
message: "#^Parameter \\#1 \\$keys of function array_combine expects array\\<int\\|string\\>, array\\<int\\|string, mixed\\> given\\.$#"
count: 1
path: functions/pick.php
-
message: "#^Anonymous function has an unused use \\$collection\\.$#"
count: 1
path: functions/prop_in.php
-
message: "#^Function Garp\\\\Functional\\\\prop_in\\(\\) has parameter \\$keys with no value type specified in iterable type array\\.$#"
count: 1
path: functions/prop_in.php
-
message: "#^Function Garp\\\\Functional\\\\publish\\(\\) has invalid return type Garp\\\\Functional\\\\Closure\\.$#"
count: 1
path: functions/publish.php
-
message: "#^Function Garp\\\\Functional\\\\publish\\(\\) should return Garp\\\\Functional\\\\Closure but returns Closure\\.$#"
count: 1
path: functions/publish.php
-
message: "#^Parameter \\#1 \\$callback of function call_user_func_array expects callable\\(\\)\\: mixed, array\\{mixed, string\\} given\\.$#"
count: 1
path: functions/publish.php
-
message: "#^Undefined variable\\: \\$this$#"
count: 1
path: functions/publish.php
-
message: "#^Function Garp\\\\Functional\\\\reject\\(\\) has parameter \\$collection with no value type specified in iterable type iterable\\.$#"
count: 1
path: functions/reject.php
-
message: "#^PHPDoc tag @param for parameter \\$collection with type mixed is not subtype of native type iterable\\|null\\.$#"
count: 1
path: functions/reject.php
-
message: "#^Function Garp\\\\Functional\\\\rename_keys\\(\\) has parameter \\$collection with no value type specified in iterable type array\\.$#"
count: 1
path: functions/rename_keys.php
-
message: "#^Function Garp\\\\Functional\\\\rename_keys\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: functions/rename_keys.php
-
message: "#^Anonymous function should return bool but returns mixed\\.$#"
count: 1
path: functions/some.php
-
message: "#^Function Garp\\\\Functional\\\\some\\(\\) has parameter \\$collection with no value type specified in iterable type array\\.$#"
count: 1
path: functions/some.php
-
message: "#^Function Garp\\\\Functional\\\\sort\\(\\) has parameter \\$collection with no value type specified in iterable type array\\.$#"
count: 1
path: functions/sort.php
-
message: "#^Function Garp\\\\Functional\\\\sort\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: functions/sort.php
-
message: "#^Function Garp\\\\Functional\\\\sort_by\\(\\) has parameter \\$collection with no value type specified in iterable type array\\.$#"
count: 1
path: functions/sort_by.php
-
message: "#^Function Garp\\\\Functional\\\\sort_by_map\\(\\) has parameter \\$map with no value type specified in iterable type array\\.$#"
count: 1
path: functions/sort_by_map.php
-
message: "#^Function Garp\\\\Functional\\\\sort_by_map\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: functions/sort_by_map.php
-
message: "#^Function Garp\\\\Functional\\\\split\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: functions/split.php
-
message: "#^Anonymous function should return array but returns mixed\\.$#"
count: 1
path: functions/take_while.php
-
message: "#^Parameter \\#1 \\$callback of function call_user_func_array expects callable\\(\\)\\: mixed, mixed given\\.$#"
count: 1
path: functions/truthy.php
-
message: "#^Function Garp\\\\Functional\\\\unique\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: functions/unique.php
-
message: "#^Function Garp\\\\Functional\\\\unique\\(\\) should return array but returns mixed\\.$#"
count: 1
path: functions/unique.php
-
message: "#^Function Garp\\\\Functional\\\\usort\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: functions/usort.php
-
message: "#^Parameter \\#1 \\$callback of function call_user_func expects callable\\(\\)\\: mixed, mixed given\\.$#"
count: 3
path: functions/when.php
-
message: "#^Function Garp\\\\Functional\\\\zip\\(\\) should return array\\<int\\|string, mixed\\> but returns mixed\\.$#"
count: 1
path: functions/zip.php
-
message: "#^Closure invoked with 3 parameters, 0 required\\.$#"
count: 1
path: tests/BinaryTest.php
-
message: "#^Trying to invoke bool\\|\\(callable\\(\\)\\: mixed\\) but it might not be a callable\\.$#"
count: 1
path: tests/BothTest.php
-
message: "#^Parameter \\#1 \\.\\.\\.\\$args of function Garp\\\\Functional\\\\compose expects callable\\(\\)\\: mixed, mixed given\\.$#"
count: 1
path: tests/ComposeTest.php
-
message: "#^Trying to invoke mixed but it's not a callable\\.$#"
count: 1
path: tests/ConcatRightTest.php
-
message: "#^Parameter \\#2 \\.\\.\\.\\$collections of function Garp\\\\Functional\\\\concat_with expects array, int given\\.$#"
count: 1
path: tests/ConcatWithTest.php
-
message: "#^Parameter \\#3 \\.\\.\\.\\$collections of function Garp\\\\Functional\\\\concat_with expects array, string given\\.$#"
count: 1
path: tests/ConcatWithTest.php
-
message: "#^Method ContainsTest\\:\\:invalidCollections\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: tests/ContainsTest.php
-
message: "#^Parameter \\#2 \\$collection of function Garp\\\\Functional\\\\contains expects iterable\\|string\\|null, mixed given\\.$#"
count: 1
path: tests/ContainsTest.php
-
message: "#^Parameter \\#2 \\$collection of function Garp\\\\Functional\\\\drop expects iterable\\|string\\|null, stdClass given\\.$#"
count: 1
path: tests/DropTest.php
-
message: "#^Parameter \\#1 \\$predicate of function Garp\\\\Functional\\\\filter expects callable\\(\\)\\: mixed, mixed given\\.$#"
count: 1
path: tests/EitherTest.php
-
message: "#^Trying to invoke mixed but it's not a callable\\.$#"
count: 1
path: tests/EitherTest.php
-
message: "#^Method FilterTest\\:\\:isSmallString\\(\\) has parameter \\$str with no type specified\\.$#"
count: 1
path: tests/FilterTest.php
-
message: "#^Parameter \\#1 \\$monoidClassName of function Garp\\\\Functional\\\\fold expects class\\-string\\<Garp\\\\Functional\\\\Types\\\\TypeClasses\\\\Monoid\\>, string given\\.$#"
count: 1
path: tests/FoldTest.php
-
message: "#^Unable to resolve the template type T in call to function Garp\\\\Functional\\\\fold$#"
count: 1
path: tests/FoldTest.php
-
message: "#^Parameter \\#1 \\$collection of function Garp\\\\Functional\\\\head expects iterable\\|string, int given\\.$#"
count: 1
path: tests/HeadTest.php
-
message: "#^Property Garp\\\\Functional\\\\Tests\\\\Helpers\\\\CallableObject\\:\\:\\$_num has no type specified\\.$#"
count: 1
path: tests/Helpers/CallableObject.php
-
message: "#^Method Garp\\\\Functional\\\\Tests\\\\Helpers\\\\MockMusician\\:\\:__construct\\(\\) has parameter \\$first with no type specified\\.$#"
count: 1
path: tests/Helpers/MockMusician.php
-
message: "#^Method Garp\\\\Functional\\\\Tests\\\\Helpers\\\\MockMusician\\:\\:__construct\\(\\) has parameter \\$last with no type specified\\.$#"
count: 1
path: tests/Helpers/MockMusician.php
-
message: "#^Method Garp\\\\Functional\\\\Tests\\\\Helpers\\\\MockMusician\\:\\:setName\\(\\) has parameter \\$first with no type specified\\.$#"
count: 1
path: tests/Helpers/MockMusician.php
-
message: "#^Method Garp\\\\Functional\\\\Tests\\\\Helpers\\\\MockMusician\\:\\:setName\\(\\) has parameter \\$last with no type specified\\.$#"
count: 1
path: tests/Helpers/MockMusician.php
-
message: "#^Access to an undefined property Garp\\\\Functional\\\\Types\\\\TypeClasses\\\\Ord\\:\\:\\$value\\.$#"
count: 1
path: tests/Helpers/MockOrd.php
-
message: "#^Access to an undefined property Garp\\\\Functional\\\\Types\\\\TypeClasses\\\\Setoid\\:\\:\\$value\\.$#"
count: 1
path: tests/Helpers/MockOrd.php
-
message: "#^Property Garp\\\\Functional\\\\Tests\\\\Helpers\\\\MockOrd\\:\\:\\$value has no type specified\\.$#"
count: 1
path: tests/Helpers/MockOrd.php
-
message: "#^Class Garp\\\\Functional\\\\Tests\\\\Helpers\\\\MockSpiceTraverser implements generic interface ArrayAccess but does not specify its types\\: TKey, TValue$#"
count: 1
path: tests/Helpers/MockSpiceTraverser.php
-
message: "#^Property Garp\\\\Functional\\\\Tests\\\\Helpers\\\\MockSpiceTraverser\\:\\:\\$_spices \\(array\\<int, string\\>\\) does not accept array\\<int, mixed\\>\\.$#"
count: 1
path: tests/Helpers/MockSpiceTraverser.php
-
message: "#^Property Garp\\\\Functional\\\\Tests\\\\Helpers\\\\MockSpiceTraverser\\:\\:\\$_spices \\(array\\<int, string\\>\\) does not accept array\\<int\\|string, mixed\\>\\.$#"
count: 1
path: tests/Helpers/MockSpiceTraverser.php
-
message: "#^Unsafe usage of new static\\(\\)\\.$#"
count: 1
path: tests/Helpers/MockSpiceTraverser.php
-
message: "#^Method IsAssocTest\\:\\:arrayProvider\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: tests/IsAssocTest.php
-
message: "#^Method IsAssocTest\\:\\:test_should_recognize_associative_arrays\\(\\) has parameter \\$input with no value type specified in iterable type iterable\\.$#"
count: 1
path: tests/IsAssocTest.php
-
message: "#^Parameter \\#1 \\$collection of function Garp\\\\Functional\\\\keys expects iterable\\|object\\|string, int given\\.$#"
count: 1
path: tests/KeysTest.php
-
message: "#^Method MapTest\\:\\:getSubstr\\(\\) has parameter \\$str with no type specified\\.$#"
count: 1
path: tests/MapTest.php
-
message: "#^Method OnceTest\\:\\:addToCounter\\(\\) has parameter \\$num with no type specified\\.$#"
count: 1
path: tests/OnceTest.php
-
message: "#^Property OnceTest\\:\\:\\$_counter has no type specified\\.$#"
count: 1
path: tests/OnceTest.php
-
message: "#^Parameter \\#2 \\$collection of function Garp\\\\Functional\\\\pick expects array\\|null, stdClass given\\.$#"
count: 1
path: tests/PickTest.php
-
message: "#^Parameter \\#2 \\.\\.\\.\\$functions of function Garp\\\\Functional\\\\pipe expects callable\\(\\)\\: mixed, mixed given\\.$#"
count: 1
path: tests/PipeTest.php
-
message: "#^Parameter \\#1 \\$predicate of function Garp\\\\Functional\\\\filter expects callable\\(\\)\\: mixed, mixed given\\.$#"
count: 1
path: tests/PropEqualsTest.php
-
message: "#^Parameter \\#1 \\$string of function strtolower expects string, array\\|\\(callable\\)\\|Garp\\\\Functional\\\\Types\\\\TypeClasses\\\\Semigroup\\|string given\\.$#"
count: 1
path: tests/PropSetTest.php
-
message: "#^Method PropTest\\:\\:magicDataProvider\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: tests/PropTest.php
-
message: "#^Method class@anonymous/tests/PropTest\\.php\\:79\\:\\:__get\\(\\) has no return type specified\\.$#"
count: 1
path: tests/PropTest.php
-
message: "#^Method class@anonymous/tests/PropTest\\.php\\:79\\:\\:__get\\(\\) has parameter \\$prop with no type specified\\.$#"
count: 1
path: tests/PropTest.php
-
message: "#^Method class@anonymous/tests/PropTest\\.php\\:79\\:\\:__isset\\(\\) has parameter \\$prop with no type specified\\.$#"
count: 1
path: tests/PropTest.php
-
message: "#^Property class@anonymous/tests/PropTest\\.php\\:79\\:\\:\\$_data has no type specified\\.$#"
count: 1
path: tests/PropTest.php
-
message: "#^Property class@anonymous/tests/PropTest\\.php\\:91\\:\\:\\$_data has no type specified\\.$#"
count: 1
path: tests/PropTest.php
-
message: "#^Method PublishTest\\:\\:_square\\(\\) is unused\\.$#"
count: 1
path: tests/PublishTest.php
-
message: "#^Parameter \\#1 \\$fn of function Garp\\\\Functional\\\\map expects callable\\(\\)\\: mixed, Garp\\\\Functional\\\\Closure given\\.$#"
count: 1
path: tests/PublishTest.php
-
message: "#^Parameter \\#1 \\$fn of function Garp\\\\Functional\\\\reduce_assoc expects callable\\(\\)\\: mixed, array\\|\\(callable\\(\\)\\: mixed\\)\\|Garp\\\\Functional\\\\Types\\\\TypeClasses\\\\Semigroup\\|string given\\.$#"
count: 1
path: tests/ReduceAssocTest.php
-
message: "#^Parameter \\#1 \\$fn of function Garp\\\\Functional\\\\reduce expects callable\\(\\)\\: mixed, array\\|\\(callable\\(\\)\\: mixed\\)\\|Garp\\\\Functional\\\\Types\\\\TypeClasses\\\\Semigroup\\|string given\\.$#"
count: 2
path: tests/ReduceTest.php
-
message: "#^Parameter \\#1 \\$array of function array_keys expects array, mixed given\\.$#"
count: 1
path: tests/RejectTest.php
-
message: "#^Method RenameKeysTest\\:\\:invalidArgumentProvider\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: tests/RenameKeysTest.php
-
message: "#^Parameter \\#1 \\$transformMap of function Garp\\\\Functional\\\\rename_keys expects array\\<int\\|string, mixed\\>\\|\\(callable\\(\\)\\: mixed\\), mixed given\\.$#"
count: 1
path: tests/RenameKeysTest.php
-
message: "#^Parameter \\#2 \\$collection of function Garp\\\\Functional\\\\take expects iterable\\|string\\|null, stdClass given\\.$#"
count: 1
path: tests/TakeTest.php
-
message: "#^Unable to resolve the template type T in call to function Garp\\\\Functional\\\\take$#"
count: 1
path: tests/TakeTest.php
-
message: "#^Closure invoked with 3 parameters, 0 required\\.$#"
count: 1
path: tests/UnaryTest.php
-
message: "#^Parameter \\#1 \\$callback of function array_map expects \\(callable\\(array\\{id\\: 1, name\\: 'Joe', type\\: 'user'\\}\\|array\\{id\\: 2, name\\: 'Hank', type\\: 'admin'\\}\\|array\\{id\\: 3, name\\: 'Alice', type\\: 'user'\\}\\)\\: mixed\\)\\|null, mixed given\\.$#"
count: 1
path: tests/WhenTest.php
-
message: "#^Method ProductTest\\:\\:_productProvider\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: tests/types/ProductTest.php
-
message: "#^Parameter \\#1 \\$that of method Garp\\\\Functional\\\\Types\\\\Product\\:\\:equals\\(\\) expects Garp\\\\Functional\\\\Types\\\\TypeClasses\\\\Setoid, Garp\\\\Functional\\\\Types\\\\TypeClasses\\\\Semigroup given\\.$#"
count: 1
path: tests/types/ProductTest.php
-
message: "#^Method SumTest\\:\\:_sumProvider\\(\\) should return array\\<int, array\\<int, int\\>\\> but returns mixed\\.$#"
count: 1
path: tests/types/SumTest.php
-
message: "#^Parameter \\#1 \\$that of method Garp\\\\Functional\\\\Types\\\\Sum\\:\\:equals\\(\\) expects Garp\\\\Functional\\\\Types\\\\TypeClasses\\\\Setoid, Garp\\\\Functional\\\\Types\\\\TypeClasses\\\\Semigroup given\\.$#"
count: 1
path: tests/types/SumTest.php
-
message: "#^Access to an undefined property Garp\\\\Functional\\\\Types\\\\TypeClasses\\\\Setoid\\:\\:\\$value\\.$#"
count: 1
path: types/All.php
-
message: "#^Access to an undefined property Garp\\\\Functional\\\\Types\\\\TypeClasses\\\\Setoid\\:\\:\\$value\\.$#"
count: 1
path: types/Any.php
-
message: "#^Access to an undefined property Garp\\\\Functional\\\\Types\\\\TypeClasses\\\\Setoid\\:\\:\\$value\\.$#"
count: 1
path: types/Max.php
-
message: "#^Access to an undefined property Garp\\\\Functional\\\\Types\\\\TypeClasses\\\\Setoid\\:\\:\\$value\\.$#"
count: 1
path: types/Min.php
-
message: "#^Access to an undefined property Garp\\\\Functional\\\\Types\\\\TypeClasses\\\\Setoid\\:\\:\\$value\\.$#"
count: 1
path: types/Product.php
-
message: "#^Access to an undefined property Garp\\\\Functional\\\\Types\\\\TypeClasses\\\\Ord\\:\\:\\$value\\.$#"
count: 1
path: types/StringM.php
-
message: "#^Access to an undefined property Garp\\\\Functional\\\\Types\\\\TypeClasses\\\\Setoid\\:\\:\\$value\\.$#"
count: 1
path: types/StringM.php
-
message: "#^Access to an undefined property Garp\\\\Functional\\\\Types\\\\TypeClasses\\\\Setoid\\:\\:\\$value\\.$#"
count: 1
path: types/Sum.php