-
-
Notifications
You must be signed in to change notification settings - Fork 239
/
Copy pathphpstan.src.baseline.neon
637 lines (532 loc) · 27.7 KB
/
phpstan.src.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
parameters:
ignoreErrors:
-
message: '#^Constructor in Bavix\\Wallet\\External\\Dto\\Extra has parameter \$extra with default value\.$#'
identifier: ergebnis.noConstructorParameterWithDefaultValue
count: 1
path: src/External/Dto/Extra.php
-
message: '#^Constructor in Bavix\\Wallet\\External\\Dto\\Extra has parameter \$uuid with default value\.$#'
identifier: ergebnis.noConstructorParameterWithDefaultValue
count: 1
path: src/External/Dto/Extra.php
-
message: '#^Constructor in Bavix\\Wallet\\External\\Dto\\Option has parameter \$confirmed with default value\.$#'
identifier: ergebnis.noConstructorParameterWithDefaultValue
count: 1
path: src/External/Dto/Option.php
-
message: '#^Constructor in Bavix\\Wallet\\External\\Dto\\Option has parameter \$uuid with default value\.$#'
identifier: ergebnis.noConstructorParameterWithDefaultValue
count: 1
path: src/External/Dto/Option.php
-
message: '#^Generic type Illuminate\\Database\\Eloquent\\Relations\\HasMany\<Bavix\\Wallet\\Models\\Transaction\> in PHPDoc tag @return does not specify all template types of class Illuminate\\Database\\Eloquent\\Relations\\HasMany\: TRelatedModel, TDeclaringModel$#'
identifier: generics.lessTypes
count: 1
path: src/Interfaces/Wallet.php
-
message: '#^Generic type Illuminate\\Database\\Eloquent\\Relations\\HasMany\<Bavix\\Wallet\\Models\\Transfer\> in PHPDoc tag @return does not specify all template types of class Illuminate\\Database\\Eloquent\\Relations\\HasMany\: TRelatedModel, TDeclaringModel$#'
identifier: generics.lessTypes
count: 2
path: src/Interfaces/Wallet.php
-
message: '#^Generic type Illuminate\\Database\\Eloquent\\Relations\\MorphMany\<Bavix\\Wallet\\Models\\Transaction\> in PHPDoc tag @return does not specify all template types of class Illuminate\\Database\\Eloquent\\Relations\\MorphMany\: TRelatedModel, TDeclaringModel$#'
identifier: generics.lessTypes
count: 1
path: src/Interfaces/Wallet.php
-
message: '#^Parameter \#3 \$payableId of class Bavix\\Wallet\\Internal\\Dto\\TransactionDto constructor expects int\|string, mixed given\.$#'
identifier: argument.type
count: 1
path: src/Internal/Assembler/TransactionDtoAssembler.php
-
message: '#^Parameter \#5 \$fromId of class Bavix\\Wallet\\Internal\\Dto\\TransferDto constructor expects int, mixed given\.$#'
identifier: argument.type
count: 1
path: src/Internal/Assembler/TransferDtoAssembler.php
-
message: '#^Parameter \#6 \$toId of class Bavix\\Wallet\\Internal\\Dto\\TransferDto constructor expects int, mixed given\.$#'
identifier: argument.type
count: 1
path: src/Internal/Assembler/TransferDtoAssembler.php
-
message: '#^Call to function assert\(\) with true will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: src/Internal/Decorator/StorageServiceLockDecorator.php
-
message: '#^Strict comparison using \!\=\= between non\-empty\-array\<non\-empty\-string, non\-empty\-string\> and array\{\} will always evaluate to true\.$#'
identifier: notIdentical.alwaysTrue
count: 1
path: src/Internal/Decorator/StorageServiceLockDecorator.php
-
message: '#^Method Bavix\\Wallet\\Internal\\Dto\\ItemDto\:\:count\(\) should return int\<0, max\> but returns int\.$#'
identifier: return.type
count: 1
path: src/Internal/Dto/ItemDto.php
-
message: '#^Method Bavix\\Wallet\\Internal\\Dto\\ItemDto\:\:getPricePerItem\(\) should return int\|non\-empty\-string\|null but returns int\|string\|null\.$#'
identifier: return.type
count: 1
path: src/Internal/Dto/ItemDto.php
-
message: '#^Method Bavix\\Wallet\\Internal\\Dto\\TransactionDto\:\:getAmount\(\) should return float\|int\|non\-empty\-string but returns float\|int\|string\.$#'
identifier: return.type
count: 1
path: src/Internal/Dto/TransactionDto.php
-
message: '#^Method Bavix\\Wallet\\Internal\\Dto\\TransactionDto\:\:getPayableType\(\) should return class\-string but returns string\.$#'
identifier: return.type
count: 1
path: src/Internal/Dto/TransactionDto.php
-
message: '#^Method Bavix\\Wallet\\Internal\\Dto\\TransactionDto\:\:getUuid\(\) should return non\-empty\-string but returns string\.$#'
identifier: return.type
count: 1
path: src/Internal/Dto/TransactionDto.php
-
message: '#^Method Bavix\\Wallet\\Internal\\Dto\\TransferDto\:\:getFee\(\) should return non\-empty\-string but returns string\.$#'
identifier: return.type
count: 1
path: src/Internal/Dto/TransferDto.php
-
message: '#^Method Bavix\\Wallet\\Internal\\Dto\\TransferDto\:\:getFromId\(\) never returns string so it can be removed from the return type\.$#'
identifier: return.unusedType
count: 1
path: src/Internal/Dto/TransferDto.php
-
message: '#^Method Bavix\\Wallet\\Internal\\Dto\\TransferDto\:\:getToId\(\) never returns string so it can be removed from the return type\.$#'
identifier: return.unusedType
count: 1
path: src/Internal/Dto/TransferDto.php
-
message: '#^Method Bavix\\Wallet\\Internal\\Dto\\TransferDto\:\:getUuid\(\) should return non\-empty\-string but returns string\.$#'
identifier: return.type
count: 1
path: src/Internal/Dto/TransferDto.php
-
message: '#^Method Bavix\\Wallet\\Internal\\Dto\\TransferLazyDto\:\:getFee\(\) should return non\-empty\-string but returns string\.$#'
identifier: return.type
count: 1
path: src/Internal/Dto/TransferLazyDto.php
-
message: '#^Method Bavix\\Wallet\\Internal\\Dto\\TransferLazyDto\:\:getUuid\(\) should return non\-empty\-string\|null but returns string\|null\.$#'
identifier: return.type
count: 1
path: src/Internal/Dto/TransferLazyDto.php
-
message: '#^Method Bavix\\Wallet\\Internal\\Events\\BalanceUpdatedEvent\:\:getBalance\(\) should return non\-empty\-string but returns string\.$#'
identifier: return.type
count: 1
path: src/Internal/Events/BalanceUpdatedEvent.php
-
message: '#^Method Bavix\\Wallet\\Internal\\Events\\BalanceUpdatedEvent\:\:getWalletUuid\(\) should return non\-empty\-string but returns string\.$#'
identifier: return.type
count: 1
path: src/Internal/Events/BalanceUpdatedEvent.php
-
message: '#^Method Bavix\\Wallet\\Internal\\Events\\WalletCreatedEvent\:\:getWalletUuid\(\) should return non\-empty\-string but returns string\.$#'
identifier: return.type
count: 1
path: src/Internal/Events/WalletCreatedEvent.php
-
message: '#^Call to function assert\(\) with true will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: src/Internal/Repository/WalletRepository.php
-
message: '#^Instanceof between Bavix\\Wallet\\Models\\Wallet and Bavix\\Wallet\\Models\\Wallet will always evaluate to true\.$#'
identifier: instanceof.alwaysTrue
count: 1
path: src/Internal/Repository/WalletRepository.php
-
message: '#^Parameter \#1 \$name of method Illuminate\\Database\\ConnectionResolverInterface\:\:connection\(\) expects string\|null, mixed given\.$#'
identifier: argument.type
count: 1
path: src/Internal/Service/ConnectionService.php
-
message: '#^Parameter \#1 \$name of method Illuminate\\Contracts\\Cache\\Factory\:\:store\(\) expects string\|null, mixed given\.$#'
identifier: argument.type
count: 1
path: src/Internal/Service/LockService.php
-
message: '#^Method Bavix\\Wallet\\Internal\\Service\\MathService\:\:abs\(\) should return non\-empty\-string but returns string\.$#'
identifier: return.type
count: 1
path: src/Internal/Service/MathService.php
-
message: '#^Method Bavix\\Wallet\\Internal\\Service\\MathService\:\:add\(\) should return non\-empty\-string but returns string\.$#'
identifier: return.type
count: 1
path: src/Internal/Service/MathService.php
-
message: '#^Method Bavix\\Wallet\\Internal\\Service\\MathService\:\:ceil\(\) should return non\-empty\-string but returns string\.$#'
identifier: return.type
count: 1
path: src/Internal/Service/MathService.php
-
message: '#^Method Bavix\\Wallet\\Internal\\Service\\MathService\:\:div\(\) should return non\-empty\-string but returns string\.$#'
identifier: return.type
count: 1
path: src/Internal/Service/MathService.php
-
message: '#^Method Bavix\\Wallet\\Internal\\Service\\MathService\:\:floor\(\) should return non\-empty\-string but returns string\.$#'
identifier: return.type
count: 1
path: src/Internal/Service/MathService.php
-
message: '#^Method Bavix\\Wallet\\Internal\\Service\\MathService\:\:mul\(\) should return non\-empty\-string but returns string\.$#'
identifier: return.type
count: 1
path: src/Internal/Service/MathService.php
-
message: '#^Method Bavix\\Wallet\\Internal\\Service\\MathService\:\:negative\(\) should return non\-empty\-string but returns string\.$#'
identifier: return.type
count: 1
path: src/Internal/Service/MathService.php
-
message: '#^Method Bavix\\Wallet\\Internal\\Service\\MathService\:\:pow\(\) should return non\-empty\-string but returns string\.$#'
identifier: return.type
count: 1
path: src/Internal/Service/MathService.php
-
message: '#^Method Bavix\\Wallet\\Internal\\Service\\MathService\:\:round\(\) should return non\-empty\-string but returns string\.$#'
identifier: return.type
count: 1
path: src/Internal/Service/MathService.php
-
message: '#^Method Bavix\\Wallet\\Internal\\Service\\MathService\:\:sub\(\) should return non\-empty\-string but returns string\.$#'
identifier: return.type
count: 1
path: src/Internal/Service/MathService.php
-
message: '#^Binary operation "\." between ''wallet_f\:\:'' and mixed results in an error\.$#'
identifier: binaryOp.invalid
count: 2
path: src/Internal/Service/StateService.php
-
message: '#^Binary operation "\." between ''wallet_hm\:\:'' and mixed results in an error\.$#'
identifier: binaryOp.invalid
count: 2
path: src/Internal/Service/StateService.php
-
message: '#^Method Bavix\\Wallet\\Internal\\Service\\StateService\:\:get\(\) should return non\-empty\-string\|null but returns mixed\.$#'
identifier: return.type
count: 1
path: src/Internal/Service/StateService.php
-
message: '#^Method Bavix\\Wallet\\Internal\\Service\\StateService\:\:get\(\) should return non\-empty\-string\|null but returns string\|null\.$#'
identifier: return.type
count: 1
path: src/Internal/Service/StateService.php
-
message: '#^Call to function assert\(\) with true will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: src/Internal/Service/StorageService.php
-
message: '#^Method Bavix\\Wallet\\Internal\\Service\\StorageService\:\:increase\(\) should return non\-empty\-string but returns string\.$#'
identifier: return.type
count: 1
path: src/Internal/Service/StorageService.php
-
message: '#^Parameter \#1 \$number of method Bavix\\Wallet\\Internal\\Service\\MathServiceInterface\:\:round\(\) expects float\|int\|non\-empty\-string, float\|int\|string given\.$#'
identifier: argument.type
count: 1
path: src/Internal/Service/StorageService.php
-
message: '#^Parameter \#1 \$uuids of method Bavix\\Wallet\\Internal\\Service\\StorageService\:\:multiGet\(\) expects non\-empty\-array\<non\-empty\-string\>, non\-empty\-list\<string\> given\.$#'
identifier: argument.type
count: 1
path: src/Internal/Service/StorageService.php
-
message: '#^Parameter \#2 \$second of method Bavix\\Wallet\\Internal\\Service\\MathServiceInterface\:\:add\(\) expects float\|int\|non\-empty\-string, float\|int\|string given\.$#'
identifier: argument.type
count: 1
path: src/Internal/Service/StorageService.php
-
message: '#^Strict comparison using \!\=\= between non\-empty\-array\<string, non\-empty\-string\> and array\{\} will always evaluate to true\.$#'
identifier: notIdentical.alwaysTrue
count: 1
path: src/Internal/Service/StorageService.php
-
message: '#^Method Bavix\\Wallet\\Models\\Transaction\:\:payable\(\) should return Illuminate\\Database\\Eloquent\\Relations\\MorphTo\<Illuminate\\Database\\Eloquent\\Model, Bavix\\Wallet\\Models\\Transaction\> but returns Illuminate\\Database\\Eloquent\\Relations\\MorphTo\<Illuminate\\Database\\Eloquent\\Model, \$this\(Bavix\\Wallet\\Models\\Transaction\)\>\.$#'
identifier: return.type
count: 1
path: src/Models/Transaction.php
-
message: '#^Method Bavix\\Wallet\\Models\\Transaction\:\:wallet\(\) should return Illuminate\\Database\\Eloquent\\Relations\\BelongsTo\<Bavix\\Wallet\\Models\\Wallet, Bavix\\Wallet\\Models\\Transaction\> but returns Illuminate\\Database\\Eloquent\\Relations\\BelongsTo\<Illuminate\\Database\\Eloquent\\Model, \$this\(Bavix\\Wallet\\Models\\Transaction\)\>\.$#'
identifier: return.type
count: 1
path: src/Models/Transaction.php
-
message: '#^PHPDoc type array\<int, string\> of property Bavix\\Wallet\\Models\\Transaction\:\:\$fillable is not covariant with PHPDoc type list\<string\> of overridden property Illuminate\\Database\\Eloquent\\Model\:\:\$fillable\.$#'
identifier: property.phpDocType
count: 1
path: src/Models/Transaction.php
-
message: '#^Parameter \#1 \$related of method Illuminate\\Database\\Eloquent\\Model\:\:belongsTo\(\) expects class\-string\<Illuminate\\Database\\Eloquent\\Model\>, mixed given\.$#'
identifier: argument.type
count: 1
path: src/Models/Transaction.php
-
message: '#^Property Illuminate\\Database\\Eloquent\\Model\:\:\$table \(string\|null\) does not accept mixed\.$#'
identifier: assign.propertyType
count: 1
path: src/Models/Transaction.php
-
message: '#^Unable to resolve the template type TRelatedModel in call to method Illuminate\\Database\\Eloquent\\Model\:\:belongsTo\(\)$#'
identifier: argument.templateType
count: 1
path: src/Models/Transaction.php
-
message: '#^Method Bavix\\Wallet\\Models\\Transfer\:\:deposit\(\) should return Illuminate\\Database\\Eloquent\\Relations\\BelongsTo\<Bavix\\Wallet\\Models\\Transaction, Bavix\\Wallet\\Models\\Transfer\> but returns Illuminate\\Database\\Eloquent\\Relations\\BelongsTo\<Illuminate\\Database\\Eloquent\\Model, \$this\(Bavix\\Wallet\\Models\\Transfer\)\>\.$#'
identifier: return.type
count: 1
path: src/Models/Transfer.php
-
message: '#^Method Bavix\\Wallet\\Models\\Transfer\:\:from\(\) should return Illuminate\\Database\\Eloquent\\Relations\\BelongsTo\<Bavix\\Wallet\\Models\\Wallet, Bavix\\Wallet\\Models\\Transfer\> but returns Illuminate\\Database\\Eloquent\\Relations\\BelongsTo\<Illuminate\\Database\\Eloquent\\Model, \$this\(Bavix\\Wallet\\Models\\Transfer\)\>\.$#'
identifier: return.type
count: 1
path: src/Models/Transfer.php
-
message: '#^Method Bavix\\Wallet\\Models\\Transfer\:\:to\(\) should return Illuminate\\Database\\Eloquent\\Relations\\BelongsTo\<Bavix\\Wallet\\Models\\Wallet, Bavix\\Wallet\\Models\\Transfer\> but returns Illuminate\\Database\\Eloquent\\Relations\\BelongsTo\<Illuminate\\Database\\Eloquent\\Model, \$this\(Bavix\\Wallet\\Models\\Transfer\)\>\.$#'
identifier: return.type
count: 1
path: src/Models/Transfer.php
-
message: '#^Method Bavix\\Wallet\\Models\\Transfer\:\:withdraw\(\) should return Illuminate\\Database\\Eloquent\\Relations\\BelongsTo\<Bavix\\Wallet\\Models\\Transaction, Bavix\\Wallet\\Models\\Transfer\> but returns Illuminate\\Database\\Eloquent\\Relations\\BelongsTo\<Illuminate\\Database\\Eloquent\\Model, \$this\(Bavix\\Wallet\\Models\\Transfer\)\>\.$#'
identifier: return.type
count: 1
path: src/Models/Transfer.php
-
message: '#^PHPDoc type array\<int, string\> of property Bavix\\Wallet\\Models\\Transfer\:\:\$fillable is not covariant with PHPDoc type list\<string\> of overridden property Illuminate\\Database\\Eloquent\\Model\:\:\$fillable\.$#'
identifier: property.phpDocType
count: 1
path: src/Models/Transfer.php
-
message: '#^Parameter \#1 \$related of method Illuminate\\Database\\Eloquent\\Model\:\:belongsTo\(\) expects class\-string\<Illuminate\\Database\\Eloquent\\Model\>, mixed given\.$#'
identifier: argument.type
count: 4
path: src/Models/Transfer.php
-
message: '#^Property Illuminate\\Database\\Eloquent\\Model\:\:\$table \(string\|null\) does not accept mixed\.$#'
identifier: assign.propertyType
count: 1
path: src/Models/Transfer.php
-
message: '#^Unable to resolve the template type TRelatedModel in call to method Illuminate\\Database\\Eloquent\\Model\:\:belongsTo\(\)$#'
identifier: argument.templateType
count: 4
path: src/Models/Transfer.php
-
message: '#^Call to function assert\(\) with true and ''Balance should not…'' will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: src/Models/Wallet.php
-
message: '#^Cannot call method getDynamicDefaultSlug\(\) on class\-string\|object\.$#'
identifier: method.nonObject
count: 2
path: src/Models/Wallet.php
-
message: '#^Cannot cast mixed to string\.$#'
identifier: cast.string
count: 2
path: src/Models/Wallet.php
-
message: '#^Generic type Illuminate\\Database\\Eloquent\\Relations\\HasMany\<Bavix\\Wallet\\Models\\Transaction\> in PHPDoc tag @return does not specify all template types of class Illuminate\\Database\\Eloquent\\Relations\\HasMany\: TRelatedModel, TDeclaringModel$#'
identifier: generics.lessTypes
count: 2
path: src/Models/Wallet.php
-
message: '#^Generic type Illuminate\\Database\\Eloquent\\Relations\\HasMany\<Bavix\\Wallet\\Models\\Transfer\> in PHPDoc tag @return does not specify all template types of class Illuminate\\Database\\Eloquent\\Relations\\HasMany\: TRelatedModel, TDeclaringModel$#'
identifier: generics.lessTypes
count: 4
path: src/Models/Wallet.php
-
message: '#^Generic type Illuminate\\Database\\Eloquent\\Relations\\MorphMany\<Bavix\\Wallet\\Models\\Transaction\> in PHPDoc tag @return does not specify all template types of class Illuminate\\Database\\Eloquent\\Relations\\MorphMany\: TRelatedModel, TDeclaringModel$#'
identifier: generics.lessTypes
count: 2
path: src/Models/Wallet.php
-
message: '#^Generic type Illuminate\\Database\\Eloquent\\Relations\\MorphOne\<Bavix\\Wallet\\Models\\Wallet\> in PHPDoc tag @return does not specify all template types of class Illuminate\\Database\\Eloquent\\Relations\\MorphOne\: TRelatedModel, TDeclaringModel$#'
identifier: generics.lessTypes
count: 2
path: src/Models/Wallet.php
-
message: '#^Method Bavix\\Wallet\\Models\\Wallet\:\:getCurrencyAttribute\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: src/Models/Wallet.php
-
message: '#^Method Bavix\\Wallet\\Models\\Wallet\:\:holder\(\) should return Illuminate\\Database\\Eloquent\\Relations\\MorphTo\<Illuminate\\Database\\Eloquent\\Model, Bavix\\Wallet\\Models\\Wallet\> but returns Illuminate\\Database\\Eloquent\\Relations\\MorphTo\<Illuminate\\Database\\Eloquent\\Model, \$this\(Bavix\\Wallet\\Models\\Wallet\)\>\.$#'
identifier: return.type
count: 1
path: src/Models/Wallet.php
-
message: '#^PHPDoc tag @var with type Bavix\\Wallet\\Interfaces\\Wallet is not subtype of native type \$this\(Bavix\\Wallet\\Models\\Wallet\)\.$#'
identifier: varTag.nativeType
count: 4
path: src/Models/Wallet.php
-
message: '#^PHPDoc type array\<int, string\> of property Bavix\\Wallet\\Models\\Wallet\:\:\$fillable is not covariant with PHPDoc type list\<string\> of overridden property Illuminate\\Database\\Eloquent\\Model\:\:\$fillable\.$#'
identifier: property.phpDocType
count: 1
path: src/Models/Wallet.php
-
message: '#^Parameter \#1 \$amount of method Bavix\\Wallet\\Interfaces\\Wallet\:\:forceWithdraw\(\) expects int\|non\-empty\-string, int\|string given\.$#'
identifier: argument.type
count: 2
path: src/Models/Wallet.php
-
message: '#^Parameter \#1 \.\.\.\$arrays of function array_merge expects array, mixed given\.$#'
identifier: argument.type
count: 2
path: src/Models/Wallet.php
-
message: '#^Parameter \#2 \$amount of method Bavix\\Wallet\\Interfaces\\Wallet\:\:forceTransfer\(\) expects int\|non\-empty\-string, int\|string given\.$#'
identifier: argument.type
count: 2
path: src/Models/Wallet.php
-
message: '#^Property Illuminate\\Database\\Eloquent\\Model\:\:\$table \(string\|null\) does not accept mixed\.$#'
identifier: assign.propertyType
count: 1
path: src/Models/Wallet.php
-
message: '#^Strict comparison using \!\=\= between float\|int\|numeric\-string and '''' will always evaluate to true\.$#'
identifier: notIdentical.alwaysTrue
count: 1
path: src/Models/Wallet.php
-
message: '#^Binary operation "\." between literal\-string&non\-falsy\-string and mixed results in an error\.$#'
identifier: binaryOp.invalid
count: 1
path: src/Objects/Cart.php
-
message: '#^Parameter \#1 \$objects \(non\-empty\-array\<Bavix\\Wallet\\Internal\\Dto\\TransactionDtoInterface\|Bavix\\Wallet\\Internal\\Dto\\TransferDtoInterface\>\) of method Bavix\\Wallet\\Services\\AssistantService\:\:getUuids\(\) should be compatible with parameter \$objects \(non\-empty\-array\<string\>\) of method Bavix\\Wallet\\Services\\AssistantServiceInterface\:\:getUuids\(\)$#'
identifier: method.childParameterType
count: 1
path: src/Services/AssistantService.php
-
message: '#^Parameter \#1 \$objects of method Bavix\\Wallet\\Services\\AssistantServiceInterface\:\:getUuids\(\) expects non\-empty\-array\<string\>, non\-empty\-array\<Bavix\\Wallet\\Internal\\Dto\\TransactionDtoInterface\> given\.$#'
identifier: argument.type
count: 1
path: src/Services/AtmService.php
-
message: '#^Parameter \#1 \$objects of method Bavix\\Wallet\\Services\\AssistantServiceInterface\:\:getUuids\(\) expects non\-empty\-array\<string\>, non\-empty\-array\<Bavix\\Wallet\\Internal\\Dto\\TransferDtoInterface\> given\.$#'
identifier: argument.type
count: 1
path: src/Services/AtmService.php
-
message: '#^Parameter \#1 \$uuid of method Bavix\\Wallet\\Internal\\Service\\StateServiceInterface\:\:drop\(\) expects non\-empty\-string, string given\.$#'
identifier: argument.type
count: 1
path: src/Services/AtomicService.php
-
message: '#^Parameter \#1 \$uuids of method Bavix\\Wallet\\Internal\\Service\\StateServiceInterface\:\:multiFork\(\) expects array\<non\-empty\-string\>, non\-empty\-list\<string\> given\.$#'
identifier: argument.type
count: 1
path: src/Services/AtomicService.php
-
message: '#^Parameter \#2 \$value of method Bavix\\Wallet\\Internal\\Service\\StateServiceInterface\:\:multiFork\(\) expects callable\(\)\: array\<non\-empty\-string, non\-empty\-string\>, Closure\(\)\: non\-empty\-array\<string, string\> given\.$#'
identifier: argument.type
count: 1
path: src/Services/AtomicService.php
-
message: '#^Parameter \#1 \$inputs of method Bavix\\Wallet\\Internal\\Service\\StorageServiceInterface\:\:multiIncrease\(\) expects non\-empty\-array\<non\-empty\-string, float\|int\|non\-empty\-string\>, T of non\-empty\-array\<string, float\|int\|string\> given\.$#'
identifier: argument.type
count: 2
path: src/Services/BookkeeperService.php
-
message: '#^Parameter \#1 \$inputs of method Bavix\\Wallet\\Internal\\Service\\StorageServiceInterface\:\:multiSync\(\) expects non\-empty\-array\<non\-empty\-string, float\|int\|non\-empty\-string\>, non\-empty\-array\<string, float\|int\|string\> given\.$#'
identifier: argument.type
count: 1
path: src/Services/BookkeeperService.php
-
message: '#^Parameter \#1 \$uuids of method Bavix\\Wallet\\Internal\\Service\\StorageServiceInterface\:\:multiGet\(\) expects non\-empty\-array\<non\-empty\-string\>, non\-empty\-list\<string\> given\.$#'
identifier: argument.type
count: 2
path: src/Services/BookkeeperService.php
-
message: '#^Parameter \#1 \$first of method Bavix\\Wallet\\Internal\\Service\\MathServiceInterface\:\:compare\(\) expects float\|int\|non\-empty\-string, float\|int\|string given\.$#'
identifier: argument.type
count: 2
path: src/Services/ConsistencyService.php
-
message: '#^Parameter \#2 \$second of method Bavix\\Wallet\\Internal\\Service\\MathServiceInterface\:\:add\(\) expects float\|int\|non\-empty\-string, string given\.$#'
identifier: argument.type
count: 1
path: src/Services/ConsistencyService.php
-
message: '#^Parameter \#1 \$first of method Bavix\\Wallet\\Internal\\Service\\MathServiceInterface\:\:sub\(\) expects float\|int\|non\-empty\-string, float\|int\|string given\.$#'
identifier: argument.type
count: 1
path: src/Services/PrepareService.php
-
message: '#^Parameter \#1 \$number of method Bavix\\Wallet\\Internal\\Service\\MathServiceInterface\:\:negative\(\) expects float\|int\|non\-empty\-string, float\|int\|string given\.$#'
identifier: argument.type
count: 1
path: src/Services/PrepareService.php
-
message: '#^Parameter \#2 \$second of method Bavix\\Wallet\\Internal\\Service\\MathServiceInterface\:\:add\(\) expects float\|int\|non\-empty\-string, string given\.$#'
identifier: argument.type
count: 1
path: src/Services/PrepareService.php
-
message: '#^Parameter \#1 \$first of method Bavix\\Wallet\\Internal\\Service\\MathServiceInterface\:\:add\(\) expects float\|int\|non\-empty\-string, string given\.$#'
identifier: argument.type
count: 1
path: src/Services/RegulatorService.php
-
message: '#^Parameter \#1 \$number of method Bavix\\Wallet\\Internal\\Service\\MathServiceInterface\:\:negative\(\) expects float\|int\|non\-empty\-string, float\|int\|string given\.$#'
identifier: argument.type
count: 1
path: src/Services/RegulatorService.php
-
message: '#^PHPDoc tag @return with type string is incompatible with native type bool\.$#'
identifier: return.phpDocType
count: 1
path: src/Services/RegulatorServiceInterface.php
-
message: '#^Parameter \#1 \$first of method Bavix\\Wallet\\Internal\\Service\\MathServiceInterface\:\:mul\(\) expects float\|int\|non\-empty\-string, float\|int\|string given\.$#'
identifier: argument.type
count: 1
path: src/Services/TaxService.php
-
message: '#^Parameter \#2 \$value of method Bavix\\Wallet\\Services\\RegulatorServiceInterface\:\:increase\(\) expects float\|int\|non\-empty\-string, string given\.$#'
identifier: argument.type
count: 1
path: src/Services/TransactionService.php
-
message: '#^Parameter \#1 \$attributes of method Bavix\\Wallet\\Internal\\Repository\\WalletRepositoryInterface\:\:create\(\) expects array\{holder_type\: string, holder_id\: int\|string, name\: string, slug\?\: string, uuid\: string, description\?\: string, meta\: array\<mixed\>\|null, balance\?\: int, \.\.\.\}, non\-empty\-array\<mixed, mixed\> given\.$#'
identifier: argument.type
count: 1
path: src/Services/WalletService.php
-
message: '#^Parameter \#1 \.\.\.\$arrays of function array_merge expects array, mixed given\.$#'
identifier: argument.type
count: 1
path: src/Services/WalletService.php
-
message: '#^Parameter \#2 \$holderId of method Bavix\\Wallet\\Internal\\Repository\\WalletRepositoryInterface\:\:findBySlug\(\) expects int\|string, mixed given\.$#'
identifier: argument.type
count: 1
path: src/Services/WalletService.php
-
message: '#^Parameter \#2 \$holderId of method Bavix\\Wallet\\Internal\\Repository\\WalletRepositoryInterface\:\:getBySlug\(\) expects int\|string, mixed given\.$#'
identifier: argument.type
count: 1
path: src/Services/WalletService.php
-
message: '#^PHPDoc tag @property for property Bavix\\Wallet\\Traits\\HasWallets\:\:\$wallets contains generic class Illuminate\\Support\\Collection but does not specify its types\: TKey, TValue$#'
identifier: missingType.generics
count: 1
path: src/Traits/HasWallets.php
-
message: '#^Trait Bavix\\Wallet\\Traits\\HasWallets is used zero times and is not analysed\.$#'
identifier: trait.unused
count: 1
path: src/Traits/HasWallets.php