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
+71-17Lines changed: 71 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -36,6 +36,66 @@ parameters:
36
36
count:2
37
37
path:src/Interfaces/Wallet.php
38
38
39
+
-
40
+
message:'#^Method Bavix\\Wallet\\Internal\\Service\\MathService\:\:abs\(\) should return non\-empty\-string but returns string\.$#'
41
+
identifier:return.type
42
+
count:1
43
+
path:src/Internal/Service/MathService.php
44
+
45
+
-
46
+
message:'#^Method Bavix\\Wallet\\Internal\\Service\\MathService\:\:add\(\) should return non\-empty\-string but returns string\.$#'
47
+
identifier:return.type
48
+
count:1
49
+
path:src/Internal/Service/MathService.php
50
+
51
+
-
52
+
message:'#^Method Bavix\\Wallet\\Internal\\Service\\MathService\:\:ceil\(\) should return non\-empty\-string but returns string\.$#'
53
+
identifier:return.type
54
+
count:1
55
+
path:src/Internal/Service/MathService.php
56
+
57
+
-
58
+
message:'#^Method Bavix\\Wallet\\Internal\\Service\\MathService\:\:div\(\) should return non\-empty\-string but returns string\.$#'
59
+
identifier:return.type
60
+
count:1
61
+
path:src/Internal/Service/MathService.php
62
+
63
+
-
64
+
message:'#^Method Bavix\\Wallet\\Internal\\Service\\MathService\:\:floor\(\) should return non\-empty\-string but returns string\.$#'
65
+
identifier:return.type
66
+
count:1
67
+
path:src/Internal/Service/MathService.php
68
+
69
+
-
70
+
message:'#^Method Bavix\\Wallet\\Internal\\Service\\MathService\:\:mul\(\) should return non\-empty\-string but returns string\.$#'
71
+
identifier:return.type
72
+
count:1
73
+
path:src/Internal/Service/MathService.php
74
+
75
+
-
76
+
message:'#^Method Bavix\\Wallet\\Internal\\Service\\MathService\:\:negative\(\) should return non\-empty\-string but returns string\.$#'
77
+
identifier:return.type
78
+
count:1
79
+
path:src/Internal/Service/MathService.php
80
+
81
+
-
82
+
message:'#^Method Bavix\\Wallet\\Internal\\Service\\MathService\:\:pow\(\) should return non\-empty\-string but returns string\.$#'
83
+
identifier:return.type
84
+
count:1
85
+
path:src/Internal/Service/MathService.php
86
+
87
+
-
88
+
message:'#^Method Bavix\\Wallet\\Internal\\Service\\MathService\:\:round\(\) should return non\-empty\-string but returns string\.$#'
89
+
identifier:return.type
90
+
count:1
91
+
path:src/Internal/Service/MathService.php
92
+
93
+
-
94
+
message:'#^Method Bavix\\Wallet\\Internal\\Service\\MathService\:\:sub\(\) should return non\-empty\-string but returns string\.$#'
95
+
identifier:return.type
96
+
count:1
97
+
path:src/Internal/Service/MathService.php
98
+
39
99
-
40
100
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\)\>\.$#'
41
101
identifier:return.type
@@ -96,12 +156,6 @@ parameters:
96
156
count:1
97
157
path:src/Models/Wallet.php
98
158
99
-
-
100
-
message:'#^Parameter \#1 \$first of method Bavix\\Wallet\\Internal\\Service\\MathServiceInterface\:\:mul\(\) expects float\|int\|non\-empty\-string, float\|int\|string given\.$#'
101
-
identifier:argument.type
102
-
count:1
103
-
path:src/Models/Wallet.php
104
-
105
159
-
106
160
message:'#^Parameter \#1 \$first of method Bavix\\Wallet\\Internal\\Service\\MathServiceInterface\:\:mul\(\) expects float\|int\|non\-empty\-string, int\|string given\.$#'
107
161
identifier:argument.type
@@ -117,7 +171,7 @@ parameters:
117
171
-
118
172
message:'#^Parameter \#2 \$second of method Bavix\\Wallet\\Internal\\Service\\MathServiceInterface\:\:add\(\) expects float\|int\|non\-empty\-string, string given\.$#'
119
173
identifier:argument.type
120
-
count:5
174
+
count:3
121
175
path:src/Models/Wallet.php
122
176
123
177
-
@@ -223,19 +277,25 @@ parameters:
223
277
path:src/Services/ConsistencyService.php
224
278
225
279
-
226
-
message:'#^Parameter \#1 \$first of method Bavix\\Wallet\\Internal\\Service\\MathServiceInterface\:\:sub\(\) expects float\|int\|non\-empty\-string, float\|int\|string given\.$#'
280
+
message:'#^Parameter \#2 \$holderIds of method Bavix\\Wallet\\Internal\\Repository\\WalletRepositoryInterface\:\:findDefaultAll\(\) expects array\<int\|string\>, array\<mixed\> given\.$#'
227
281
identifier:argument.type
228
282
count:1
229
-
path:src/Services/PrepareService.php
283
+
path:src/Services/EagerLoaderService.php
230
284
231
285
-
232
-
message:'#^Parameter \#1 \$number of method Bavix\\Wallet\\Internal\\Service\\MathServiceInterface\:\:negative\(\) expects float\|int\|non\-empty\-string, float\|int\|string given\.$#'
286
+
message:'#^Possibly invalid array key type mixed\.$#'
287
+
identifier:offsetAccess.invalidOffset
288
+
count:1
289
+
path:src/Services/EagerLoaderService.php
290
+
291
+
-
292
+
message:'#^Parameter \#1 \$first of method Bavix\\Wallet\\Internal\\Service\\MathServiceInterface\:\:sub\(\) expects float\|int\|non\-empty\-string, float\|int\|string given\.$#'
233
293
identifier:argument.type
234
294
count:1
235
295
path:src/Services/PrepareService.php
236
296
237
297
-
238
-
message:'#^Parameter \#2 \$second of method Bavix\\Wallet\\Internal\\Service\\MathServiceInterface\:\:add\(\) expects float\|int\|non\-empty\-string, string given\.$#'
298
+
message:'#^Parameter \#1 \$number of method Bavix\\Wallet\\Internal\\Service\\MathServiceInterface\:\:negative\(\) expects float\|int\|non\-empty\-string, float\|int\|string given\.$#'
239
299
identifier:argument.type
240
300
count:1
241
301
path:src/Services/PrepareService.php
@@ -252,12 +312,6 @@ parameters:
252
312
count:1
253
313
path:src/Services/RegulatorService.php
254
314
255
-
-
256
-
message:'#^PHPDoc tag @return with type string is incompatible with native type bool\.$#'
257
-
identifier:return.phpDocType
258
-
count:1
259
-
path:src/Services/RegulatorServiceInterface.php
260
-
261
315
-
262
316
message:'#^Parameter \#1 \$first of method Bavix\\Wallet\\Internal\\Service\\MathServiceInterface\:\:mul\(\) expects float\|int\|non\-empty\-string, float\|int\|string given\.$#'
0 commit comments