You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: phpstan.src.baseline.neon
+1-96Lines changed: 1 addition & 96 deletions
Original file line number
Diff line number
Diff line change
@@ -190,11 +190,6 @@ parameters:
190
190
count:1
191
191
path:src/Models/Transaction.php
192
192
193
-
-
194
-
message:"#^Parameter \\#1 \\$first of method Bavix\\\\Wallet\\\\Internal\\\\Service\\\\MathService\\:\\:mul\\(\\) expects float\\|int\\|non\\-empty\\-string, float\\|int\\|string given\\.$#"
195
-
count:1
196
-
path:src/Models/Transaction.php
197
-
198
193
-
199
194
message:"#^Parameter \\#1 \\$related of method Illuminate\\\\Database\\\\Eloquent\\\\Model\\:\\:belongsTo\\(\\) expects class\\-string\\<Illuminate\\\\Database\\\\Eloquent\\\\Model\\>, mixed given\\.$#"
200
195
count:1
@@ -246,7 +241,7 @@ parameters:
246
241
path:src/Models/Transfer.php
247
242
248
243
-
249
-
message:"#^Call to an undefined method Illuminate\\\\Database\\\\Eloquent\\\\Relations\\\\MorphOne\\<TRelatedModel of Illuminate\\\\Database\\\\Eloquent\\\\Model, Illuminate\\\\Database\\\\Eloquent\\\\Model\\>\\:\\:withTrashed\\(\\)\\.$#"
244
+
message:"#^Cannot call method getDynamicDefaultSlug\\(\\) on class\\-string\\|object\\.$#"
250
245
count:2
251
246
path:src/Models/Wallet.php
252
247
@@ -255,66 +250,16 @@ parameters:
255
250
count:2
256
251
path:src/Models/Wallet.php
257
252
258
-
-
259
-
message:"#^Method Bavix\\\\Wallet\\\\Models\\\\Wallet\\:\\:getBalanceFloatAttribute\\(\\) should return non\\-empty\\-string but returns string\\.$#"
260
-
count:1
261
-
path:src/Models/Wallet.php
262
-
263
253
-
264
254
message:"#^Method Bavix\\\\Wallet\\\\Models\\\\Wallet\\:\\:getCurrencyAttribute\\(\\) should return string but returns mixed\\.$#"
265
255
count:1
266
256
path:src/Models/Wallet.php
267
257
268
-
-
269
-
message:"#^Method Bavix\\\\Wallet\\\\Models\\\\Wallet\\:\\:receivedTransfers\\(\\) should return Illuminate\\\\Database\\\\Eloquent\\\\Relations\\\\HasMany\\<Bavix\\\\Wallet\\\\Models\\\\Transfer\\> but returns Illuminate\\\\Database\\\\Eloquent\\\\Relations\\\\HasMany\\<TRelatedModel of Illuminate\\\\Database\\\\Eloquent\\\\Model, Bavix\\\\Wallet\\\\Models\\\\Wallet\\>\\.$#"
270
-
count:2
271
-
path:src/Models/Wallet.php
272
-
273
-
-
274
-
message:"#^Method Bavix\\\\Wallet\\\\Models\\\\Wallet\\:\\:transactions\\(\\) should return Illuminate\\\\Database\\\\Eloquent\\\\Relations\\\\MorphMany\\<Bavix\\\\Wallet\\\\Models\\\\Transaction\\> but returns Illuminate\\\\Database\\\\Eloquent\\\\Relations\\\\MorphMany\\<TRelatedModel of Illuminate\\\\Database\\\\Eloquent\\\\Model, Illuminate\\\\Database\\\\Eloquent\\\\Model\\>\\.$#"
275
-
count:2
276
-
path:src/Models/Wallet.php
277
-
278
-
-
279
-
message:"#^Method Bavix\\\\Wallet\\\\Models\\\\Wallet\\:\\:transfers\\(\\) should return Illuminate\\\\Database\\\\Eloquent\\\\Relations\\\\HasMany\\<Bavix\\\\Wallet\\\\Models\\\\Transfer\\> but returns Illuminate\\\\Database\\\\Eloquent\\\\Relations\\\\HasMany\\<TRelatedModel of Illuminate\\\\Database\\\\Eloquent\\\\Model, Bavix\\\\Wallet\\\\Models\\\\Wallet\\>\\.$#"
280
-
count:2
281
-
path:src/Models/Wallet.php
282
-
283
-
-
284
-
message:"#^Method Bavix\\\\Wallet\\\\Models\\\\Wallet\\:\\:walletTransactions\\(\\) should return Illuminate\\\\Database\\\\Eloquent\\\\Relations\\\\HasMany\\<Bavix\\\\Wallet\\\\Models\\\\Transaction\\> but returns Illuminate\\\\Database\\\\Eloquent\\\\Relations\\\\HasMany\\<TRelatedModel of Illuminate\\\\Database\\\\Eloquent\\\\Model, Bavix\\\\Wallet\\\\Models\\\\Wallet\\>\\.$#"
285
-
count:2
286
-
path:src/Models/Wallet.php
287
-
288
258
-
289
259
message:"#^Parameter \\#1 \\$amount of method Bavix\\\\Wallet\\\\Interfaces\\\\Wallet\\:\\:forceWithdraw\\(\\) expects int\\|non\\-empty\\-string, int\\|string given\\.$#"
290
260
count:2
291
261
path:src/Models/Wallet.php
292
262
293
-
-
294
-
message:"#^Parameter \\#1 \\$first of method Bavix\\\\Wallet\\\\Internal\\\\Service\\\\MathService\\:\\:add\\(\\) expects float\\|int\\|non\\-empty\\-string, int\\|string given\\.$#"
295
-
count:1
296
-
path:src/Models/Wallet.php
297
-
298
-
-
299
-
message:"#^Parameter \\#1 \\$first of method Bavix\\\\Wallet\\\\Internal\\\\Service\\\\MathService\\:\\:mul\\(\\) expects float\\|int\\|non\\-empty\\-string, float\\|int\\|string given\\.$#"
300
-
count:7
301
-
path:src/Models/Wallet.php
302
-
303
-
-
304
-
message:"#^Parameter \\#1 \\$first of method Bavix\\\\Wallet\\\\Internal\\\\Service\\\\MathService\\:\\:mul\\(\\) expects float\\|int\\|non\\-empty\\-string, int\\|string given\\.$#"
305
-
count:1
306
-
path:src/Models/Wallet.php
307
-
308
-
-
309
-
message:"#^Parameter \\#1 \\$related of method Illuminate\\\\Database\\\\Eloquent\\\\Model\\:\\:hasMany\\(\\) expects class\\-string\\<Illuminate\\\\Database\\\\Eloquent\\\\Model\\>, mixed given\\.$#"
310
-
count:6
311
-
path:src/Models/Wallet.php
312
-
313
-
-
314
-
message:"#^Parameter \\#1 \\$related of method Illuminate\\\\Database\\\\Eloquent\\\\Model\\:\\:morphMany\\(\\) expects class\\-string\\<Illuminate\\\\Database\\\\Eloquent\\\\Model\\>, mixed given\\.$#"
315
-
count:2
316
-
path:src/Models/Wallet.php
317
-
318
263
-
319
264
message:"#^Parameter \\#1 \\.\\.\\.\\$arrays of function array_merge expects array, mixed given\\.$#"
320
265
count:2
@@ -325,41 +270,11 @@ parameters:
325
270
count:2
326
271
path:src/Models/Wallet.php
327
272
328
-
-
329
-
message:"#^Parameter \\#2 \\$second of method Bavix\\\\Wallet\\\\Internal\\\\Service\\\\MathService\\:\\:add\\(\\) expects float\\|int\\|non\\-empty\\-string, string given\\.$#"
330
-
count:5
331
-
path:src/Models/Wallet.php
332
-
333
-
-
334
-
message:"#^Parameter \\#2 \\$second of method Bavix\\\\Wallet\\\\Internal\\\\Service\\\\MathService\\:\\:compare\\(\\) expects float\\|int\\|non\\-empty\\-string, float\\|int\\|string given\\.$#"
335
-
count:1
336
-
path:src/Models/Wallet.php
337
-
338
-
-
339
-
message:"#^Parameter \\#2 \\$second of method Bavix\\\\Wallet\\\\Internal\\\\Service\\\\MathService\\:\\:mul\\(\\) expects float\\|int\\|non\\-empty\\-string, string given\\.$#"
340
-
count:1
341
-
path:src/Models/Wallet.php
342
-
343
-
-
344
-
message:"#^Parameter \\#2 \\$value of method Bavix\\\\Wallet\\\\Services\\\\RegulatorService\\:\\:sync\\(\\) expects float\\|int\\|non\\-empty\\-string, float\\|int\\|string given\\.$#"
345
-
count:1
346
-
path:src/Models/Wallet.php
347
-
348
273
-
349
274
message:"#^Property Illuminate\\\\Database\\\\Eloquent\\\\Model\\:\\:\\$table \\(string\\) does not accept mixed\\.$#"
350
275
count:1
351
276
path:src/Models/Wallet.php
352
277
353
-
-
354
-
message:"#^Unable to resolve the template type TRelatedModel in call to method Illuminate\\\\Database\\\\Eloquent\\\\Model\\:\\:hasMany\\(\\)$#"
355
-
count:6
356
-
path:src/Models/Wallet.php
357
-
358
-
-
359
-
message:"#^Unable to resolve the template type TRelatedModel in call to method Illuminate\\\\Database\\\\Eloquent\\\\Model\\:\\:morphMany\\(\\)$#"
360
-
count:2
361
-
path:src/Models/Wallet.php
362
-
363
278
-
364
279
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\\(\\)$#"
365
280
count:1
@@ -410,21 +325,11 @@ parameters:
410
325
count:2
411
326
path:src/Services/BookkeeperService.php
412
327
413
-
-
414
-
message:"#^Parameter \\#1 \\$first of method Bavix\\\\Wallet\\\\Internal\\\\Service\\\\MathService\\:\\:compare\\(\\) expects float\\|int\\|non\\-empty\\-string, float\\|int\\|string given\\.$#"
415
-
count:2
416
-
path:src/Services/ConsistencyService.php
417
-
418
328
-
419
329
message:"#^Parameter \\#1 \\$first of method Bavix\\\\Wallet\\\\Internal\\\\Service\\\\MathServiceInterface\\:\\:compare\\(\\) expects float\\|int\\|non\\-empty\\-string, float\\|int\\|string given\\.$#"
420
330
count:2
421
331
path:src/Services/ConsistencyService.php
422
332
423
-
-
424
-
message:"#^Parameter \\#2 \\$second of method Bavix\\\\Wallet\\\\Internal\\\\Service\\\\MathService\\:\\:compare\\(\\) expects float\\|int\\|non\\-empty\\-string, float\\|int\\|string given\\.$#"
425
-
count:1
426
-
path:src/Services/ConsistencyService.php
427
-
428
333
-
429
334
message:"#^Parameter \\#2 \\$second of method Bavix\\\\Wallet\\\\Internal\\\\Service\\\\MathServiceInterface\\:\\:add\\(\\) expects float\\|int\\|non\\-empty\\-string, string given\\.$#"
Copy file name to clipboardExpand all lines: phpstan.tests.baseline.neon
-20Lines changed: 0 additions & 20 deletions
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,5 @@
1
1
parameters:
2
2
ignoreErrors:
3
-
-
4
-
message:"#^Method Bavix\\\\Wallet\\\\Test\\\\Infra\\\\Models\\\\Item\\:\\:boughtGoods\\(\\) should return Illuminate\\\\Database\\\\Eloquent\\\\Relations\\\\HasMany\\<Bavix\\\\Wallet\\\\Models\\\\Transfer\\> but returns Illuminate\\\\Database\\\\Eloquent\\\\Relations\\\\HasMany\\<TRelatedModel of Illuminate\\\\Database\\\\Eloquent\\\\Model\\>\\.$#"
5
-
count:1
6
-
path:tests/Infra/Models/Item.php
7
-
8
-
-
9
-
message:"#^Parameter \\#1 \\$related of method Illuminate\\\\Database\\\\Eloquent\\\\Model\\:\\:hasMany\\(\\) expects class\\-string\\<Illuminate\\\\Database\\\\Eloquent\\\\Model\\>, class\\-string given\\.$#"
10
-
count:1
11
-
path:tests/Infra/Models/Item.php
12
-
13
3
-
14
4
message:"#^Parameter \\#2 \\$currency of class Bavix\\\\Wallet\\\\Test\\\\Infra\\\\Values\\\\Money constructor expects string, mixed given\\.$#"
15
5
count:1
@@ -45,16 +35,6 @@ parameters:
45
35
count:1
46
36
path:tests/Infra/TestCase.php
47
37
48
-
-
49
-
message:"#^Parameter \\#1 \\$first of method Bavix\\\\Wallet\\\\Internal\\\\Service\\\\MathService\\:\\:compare\\(\\) expects float\\|int\\|non\\-empty\\-string, string given\\.$#"
0 commit comments