-
Notifications
You must be signed in to change notification settings - Fork 201
/
Copy pathphpstan-baseline.neon
616 lines (494 loc) · 22.7 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
parameters:
ignoreErrors:
-
message: "#^Parameter \\#1 \\$appId of class AipContentCensor constructor expects string, mixed given\\.$#"
count: 1
path: app/Console/Commands/Bjyblog/AuditComment.php
-
message: "#^Parameter \\#1 \\$text of method AipImageCensor\\:\\:textCensorUserDefined\\(\\) expects string, mixed given\\.$#"
count: 1
path: app/Console/Commands/Bjyblog/AuditComment.php
-
message: "#^Parameter \\#2 \\$apiKey of class AipContentCensor constructor expects string, mixed given\\.$#"
count: 1
path: app/Console/Commands/Bjyblog/AuditComment.php
-
message: "#^Parameter \\#3 \\$secretKey of class AipContentCensor constructor expects string, mixed given\\.$#"
count: 1
path: app/Console/Commands/Bjyblog/AuditComment.php
-
message: "#^Parameter \\#1 \\$callback of method Illuminate\\\\Support\\\\Collection\\<\\(int\\|string\\),Symfony\\\\Component\\\\Finder\\\\SplFileInfo\\>\\:\\:each\\(\\) expects callable\\(Symfony\\\\Component\\\\Finder\\\\SplFileInfo, \\(int\\|string\\)\\)\\: mixed, Closure\\(string\\)\\: void given\\.$#"
count: 1
path: app/Console/Commands/Bjyblog/Update.php
-
message: "#^Parameter \\#1 \\$callback of method Illuminate\\\\Support\\\\Collection\\<\\(int\\|string\\),Symfony\\\\Component\\\\Finder\\\\SplFileInfo\\>\\:\\:transform\\(\\) expects callable\\(Symfony\\\\Component\\\\Finder\\\\SplFileInfo, \\(int\\|string\\)\\)\\: Symfony\\\\Component\\\\Finder\\\\SplFileInfo, Closure\\(mixed\\)\\: string given\\.$#"
count: 1
path: app/Console/Commands/Bjyblog/Update.php
-
message: "#^Parameter \\#1 \\$version1 of static method Composer\\\\Semver\\\\Comparator\\:\\:greaterThan\\(\\) expects string, Symfony\\\\Component\\\\Finder\\\\SplFileInfo given\\.$#"
count: 1
path: app/Console/Commands/Bjyblog/Update.php
-
message: "#^Parameter \\#2 \\$version2 of static method Composer\\\\Semver\\\\Comparator\\:\\:greaterThan\\(\\) expects string, Symfony\\\\Component\\\\Finder\\\\SplFileInfo given\\.$#"
count: 1
path: app/Console/Commands/Bjyblog/Update.php
-
message: "#^Call to an undefined method Illuminate\\\\Filesystem\\\\FilesystemAdapter\\:\\:getTimestamp\\(\\)\\.$#"
count: 2
path: app/Console/Commands/File/SyncToOss.php
-
message: "#^Parameter \\#2 \\$contents of method Illuminate\\\\Filesystem\\\\FilesystemAdapter\\:\\:put\\(\\) expects Illuminate\\\\Http\\\\File\\|Illuminate\\\\Http\\\\UploadedFile\\|Psr\\\\Http\\\\Message\\\\StreamInterface\\|resource\\|string, string\\|null given\\.$#"
count: 1
path: app/Console/Commands/File/SyncToOss.php
-
message: "#^Cannot access property \\$access_token on mixed\\.$#"
count: 1
path: app/Console/Commands/Migration/FromThinkPHPBjyBlog.php
-
message: "#^Cannot access property \\$addtime on mixed\\.$#"
count: 1
path: app/Console/Commands/Migration/FromThinkPHPBjyBlog.php
-
message: "#^Cannot access property \\$aid on mixed\\.$#"
count: 4
path: app/Console/Commands/Migration/FromThinkPHPBjyBlog.php
-
message: "#^Cannot access property \\$author on mixed\\.$#"
count: 1
path: app/Console/Commands/Migration/FromThinkPHPBjyBlog.php
-
message: "#^Cannot access property \\$chid on mixed\\.$#"
count: 1
path: app/Console/Commands/Migration/FromThinkPHPBjyBlog.php
-
message: "#^Cannot access property \\$cid on mixed\\.$#"
count: 2
path: app/Console/Commands/Migration/FromThinkPHPBjyBlog.php
-
message: "#^Cannot access property \\$click on mixed\\.$#"
count: 1
path: app/Console/Commands/Migration/FromThinkPHPBjyBlog.php
-
message: "#^Cannot access property \\$cmtid on mixed\\.$#"
count: 1
path: app/Console/Commands/Migration/FromThinkPHPBjyBlog.php
-
message: "#^Cannot access property \\$cname on mixed\\.$#"
count: 1
path: app/Console/Commands/Migration/FromThinkPHPBjyBlog.php
-
message: "#^Cannot access property \\$content on mixed\\.$#"
count: 3
path: app/Console/Commands/Migration/FromThinkPHPBjyBlog.php
-
message: "#^Cannot access property \\$create_time on mixed\\.$#"
count: 2
path: app/Console/Commands/Migration/FromThinkPHPBjyBlog.php
-
message: "#^Cannot access property \\$date on mixed\\.$#"
count: 4
path: app/Console/Commands/Migration/FromThinkPHPBjyBlog.php
-
message: "#^Cannot access property \\$description on mixed\\.$#"
count: 2
path: app/Console/Commands/Migration/FromThinkPHPBjyBlog.php
-
message: "#^Cannot access property \\$email on mixed\\.$#"
count: 1
path: app/Console/Commands/Migration/FromThinkPHPBjyBlog.php
-
message: "#^Cannot access property \\$head_img on mixed\\.$#"
count: 1
path: app/Console/Commands/Migration/FromThinkPHPBjyBlog.php
-
message: "#^Cannot access property \\$id on mixed\\.$#"
count: 1
path: app/Console/Commands/Migration/FromThinkPHPBjyBlog.php
-
message: "#^Cannot access property \\$is_admin on mixed\\.$#"
count: 1
path: app/Console/Commands/Migration/FromThinkPHPBjyBlog.php
-
message: "#^Cannot access property \\$is_show on mixed\\.$#"
count: 1
path: app/Console/Commands/Migration/FromThinkPHPBjyBlog.php
-
message: "#^Cannot access property \\$is_top on mixed\\.$#"
count: 1
path: app/Console/Commands/Migration/FromThinkPHPBjyBlog.php
-
message: "#^Cannot access property \\$keywords on mixed\\.$#"
count: 2
path: app/Console/Commands/Migration/FromThinkPHPBjyBlog.php
-
message: "#^Cannot access property \\$last_login_ip on mixed\\.$#"
count: 1
path: app/Console/Commands/Migration/FromThinkPHPBjyBlog.php
-
message: "#^Cannot access property \\$lid on mixed\\.$#"
count: 1
path: app/Console/Commands/Migration/FromThinkPHPBjyBlog.php
-
message: "#^Cannot access property \\$lname on mixed\\.$#"
count: 1
path: app/Console/Commands/Migration/FromThinkPHPBjyBlog.php
-
message: "#^Cannot access property \\$login_times on mixed\\.$#"
count: 1
path: app/Console/Commands/Migration/FromThinkPHPBjyBlog.php
-
message: "#^Cannot access property \\$name on mixed\\.$#"
count: 2
path: app/Console/Commands/Migration/FromThinkPHPBjyBlog.php
-
message: "#^Cannot access property \\$nickname on mixed\\.$#"
count: 1
path: app/Console/Commands/Migration/FromThinkPHPBjyBlog.php
-
message: "#^Cannot access property \\$openid on mixed\\.$#"
count: 1
path: app/Console/Commands/Migration/FromThinkPHPBjyBlog.php
-
message: "#^Cannot access property \\$ouid on mixed\\.$#"
count: 1
path: app/Console/Commands/Migration/FromThinkPHPBjyBlog.php
-
message: "#^Cannot access property \\$pid on mixed\\.$#"
count: 2
path: app/Console/Commands/Migration/FromThinkPHPBjyBlog.php
-
message: "#^Cannot access property \\$sort on mixed\\.$#"
count: 2
path: app/Console/Commands/Migration/FromThinkPHPBjyBlog.php
-
message: "#^Cannot access property \\$status on mixed\\.$#"
count: 1
path: app/Console/Commands/Migration/FromThinkPHPBjyBlog.php
-
message: "#^Cannot access property \\$tid on mixed\\.$#"
count: 2
path: app/Console/Commands/Migration/FromThinkPHPBjyBlog.php
-
message: "#^Cannot access property \\$title on mixed\\.$#"
count: 1
path: app/Console/Commands/Migration/FromThinkPHPBjyBlog.php
-
message: "#^Cannot access property \\$tname on mixed\\.$#"
count: 1
path: app/Console/Commands/Migration/FromThinkPHPBjyBlog.php
-
message: "#^Cannot access property \\$type on mixed\\.$#"
count: 1
path: app/Console/Commands/Migration/FromThinkPHPBjyBlog.php
-
message: "#^Cannot access property \\$url on mixed\\.$#"
count: 1
path: app/Console/Commands/Migration/FromThinkPHPBjyBlog.php
-
message: "#^Cannot access property \\$value on mixed\\.$#"
count: 2
path: app/Console/Commands/Migration/FromThinkPHPBjyBlog.php
-
message: "#^Cannot use array destructuring on mixed\\.$#"
count: 1
path: app/Console/Commands/TencentCloud/Reset.php
-
message: "#^Parameter \\#1 \\$secretId of class TencentCloud\\\\Common\\\\Credential constructor expects string, mixed given\\.$#"
count: 1
path: app/Console/Commands/TencentCloud/Reset.php
-
message: "#^Parameter \\#1 \\$value of function collect expects Illuminate\\\\Contracts\\\\Support\\\\Arrayable\\<\\(int\\|string\\), mixed\\>\\|iterable\\<\\(int\\|string\\), mixed\\>\\|null, mixed given\\.$#"
count: 1
path: app/Console/Commands/TencentCloud/Reset.php
-
message: "#^Parameter \\#2 \\$region of class TencentCloud\\\\Cvm\\\\V20170312\\\\CvmClient constructor expects string, mixed given\\.$#"
count: 1
path: app/Console/Commands/TencentCloud/Reset.php
-
message: "#^Parameter \\#2 \\$secretKey of class TencentCloud\\\\Common\\\\Credential constructor expects string, mixed given\\.$#"
count: 1
path: app/Console/Commands/TencentCloud/Reset.php
-
message: "#^Property TencentCloud\\\\Cvm\\\\V20170312\\\\Models\\\\ResetInstanceRequest\\:\\:\\$HostName \\(string\\) does not accept mixed\\.$#"
count: 1
path: app/Console/Commands/TencentCloud/Reset.php
-
message: "#^Property TencentCloud\\\\Cvm\\\\V20170312\\\\Models\\\\ResetInstanceRequest\\:\\:\\$ImageId \\(string\\) does not accept mixed\\.$#"
count: 1
path: app/Console/Commands/TencentCloud/Reset.php
-
message: "#^Property TencentCloud\\\\Cvm\\\\V20170312\\\\Models\\\\ResetInstanceRequest\\:\\:\\$InstanceId \\(string\\) does not accept mixed\\.$#"
count: 1
path: app/Console/Commands/TencentCloud/Reset.php
-
message: "#^Unable to resolve the template type TKey in call to function collect$#"
count: 1
path: app/Console/Commands/TencentCloud/Reset.php
-
message: "#^Unable to resolve the template type TValue in call to function collect$#"
count: 1
path: app/Console/Commands/TencentCloud/Reset.php
-
message: "#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\\.$#"
count: 1
path: app/Console/Commands/Translation/RemoveUnused.php
-
message: "#^Cannot access offset mixed on mixed\\.$#"
count: 1
path: app/Console/Commands/Translation/RemoveUnused.php
-
message: "#^Parameter \\#1 \\$array of function ksort expects array, mixed given\\.$#"
count: 1
path: app/Console/Commands/Translation/RemoveUnused.php
-
message: "#^Part \\$key \\(mixed\\) of encapsed string cannot be cast to string\\.$#"
count: 1
path: app/Console/Commands/Translation/RemoveUnused.php
-
message: "#^Cannot access offset string on mixed\\.$#"
count: 1
path: app/Console/Commands/Translation/Sync.php
-
message: "#^Parameter \\#1 \\$array of function array_keys expects array, mixed given\\.$#"
count: 2
path: app/Console/Commands/Translation/Sync.php
-
message: "#^Parameter \\#1 \\$array of function ksort expects array, mixed given\\.$#"
count: 1
path: app/Console/Commands/Translation/Sync.php
-
message: "#^Parameter \\#3 \\$subject of function str_replace expects array\\|string, mixed given\\.$#"
count: 1
path: app/Console/Commands/Upgrade/V11_0_0.php
-
message: "#^Parameter \\#1 \\$values of static method Illuminate\\\\Database\\\\Eloquent\\\\Builder\\<App\\\\Models\\\\Friend\\>\\:\\:insertOrIgnore\\(\\) expects array, mixed given\\.$#"
count: 1
path: app/Console/Commands/Upgrade/V16_0_0.php
-
message: "#^Cannot access property \\$id on mixed\\.$#"
count: 1
path: app/Console/Commands/Upgrade/V5_8_4_0.php
-
message: "#^Cannot access property \\$title on mixed\\.$#"
count: 1
path: app/Console/Commands/Upgrade/V5_8_4_0.php
-
message: "#^Cannot access property \\$id on mixed\\.$#"
count: 2
path: app/Console/Commands/Upgrade/V6_14_0.php
-
message: "#^Cannot access offset 'children' on mixed\\.$#"
count: 1
path: app/Console/Commands/Upgrade/V9_0_0.php
-
message: "#^Method App\\\\Console\\\\Commands\\\\Upgrade\\\\V9_0_0\\:\\:getCommentsByArticleId\\(\\) should return array\\<int, array\\<string, mixed\\>\\> but returns array\\.$#"
count: 1
path: app/Console/Commands/Upgrade/V9_0_0.php
-
message: "#^Parameter \\#1 \\$article_id of method App\\\\Console\\\\Commands\\\\Upgrade\\\\V9_0_0\\:\\:getCommentsByArticleId\\(\\) expects int, mixed given\\.$#"
count: 1
path: app/Console/Commands/Upgrade/V9_0_0.php
-
message: "#^Parameter \\#1 \\$comment of method App\\\\Console\\\\Commands\\\\Upgrade\\\\V9_0_0\\:\\:getTree\\(\\) expects array\\<string, mixed\\>, mixed given\\.$#"
count: 2
path: app/Console/Commands/Upgrade/V9_0_0.php
-
message: "#^Property App\\\\Console\\\\Commands\\\\Upgrade\\\\V9_0_0\\:\\:\\$children \\(array\\<int, array\\<string, mixed\\>\\>\\) does not accept array\\<int, mixed\\>\\.$#"
count: 1
path: app/Console/Commands/Upgrade/V9_0_0.php
-
message: "#^Cannot call method revoke\\(\\) on Laravel\\\\Passport\\\\Token\\|null\\.$#"
count: 1
path: app/Http/Controllers/Auth/PassportController.php
-
message: "#^Cannot call method token\\(\\) on App\\\\Models\\\\User\\|null\\.$#"
count: 1
path: app/Http/Controllers/Auth/PassportController.php
-
message: "#^Method App\\\\Http\\\\Controllers\\\\Auth\\\\SocialiteController\\:\\:handleProviderCallback\\(\\) should return Illuminate\\\\Http\\\\RedirectResponse but returns Illuminate\\\\Http\\\\RedirectResponse\\|Illuminate\\\\Routing\\\\Redirector\\.$#"
count: 1
path: app/Http/Controllers/Auth/SocialiteController.php
-
message: "#^Method App\\\\Http\\\\Controllers\\\\Auth\\\\SocialiteController\\:\\:redirectToProvider\\(\\) should return Illuminate\\\\Http\\\\RedirectResponse but returns Symfony\\\\Component\\\\HttpFoundation\\\\RedirectResponse\\.$#"
count: 1
path: app/Http/Controllers/Auth/SocialiteController.php
-
message: "#^Parameter \\#1 \\$to of function redirect expects string\\|null, mixed given\\.$#"
count: 1
path: app/Http/Controllers/Auth/SocialiteController.php
-
message: "#^Property App\\\\Http\\\\Controllers\\\\Auth\\\\SocialiteController\\:\\:\\$socialiteClients with generic class Illuminate\\\\Database\\\\Eloquent\\\\Collection does not specify its types\\: TKey, TModel$#"
count: 1
path: app/Http/Controllers/Auth/SocialiteController.php
-
message: "#^Property Laravel\\\\Socialite\\\\AbstractUser\\:\\:\\$nickname \\(string\\) on left side of \\?\\? is not nullable\\.$#"
count: 1
path: app/Http/Controllers/Auth/SocialiteController.php
-
message: "#^Cannot cast mixed to int\\.$#"
count: 1
path: app/Http/Controllers/Home/CommentController.php
-
message: "#^Parameter \\#1 \\$title of class Spatie\\\\Feed\\\\Feed constructor expects string, mixed given\\.$#"
count: 1
path: app/Http/Controllers/Home/FeedController.php
-
message: "#^Parameter \\#4 \\$view of class Spatie\\\\Feed\\\\Feed constructor expects string, mixed given\\.$#"
count: 1
path: app/Http/Controllers/Home/FeedController.php
-
message: "#^Parameter \\#5 \\$description of class Spatie\\\\Feed\\\\Feed constructor expects string, mixed given\\.$#"
count: 1
path: app/Http/Controllers/Home/FeedController.php
-
message: "#^Parameter \\#6 \\$language of class Spatie\\\\Feed\\\\Feed constructor expects string, mixed given\\.$#"
count: 1
path: app/Http/Controllers/Home/FeedController.php
-
message: "#^Parameter \\#7 \\$image of class Spatie\\\\Feed\\\\Feed constructor expects string, mixed given\\.$#"
count: 1
path: app/Http/Controllers/Home/FeedController.php
-
message: "#^Parameter \\#8 \\$format of class Spatie\\\\Feed\\\\Feed constructor expects string, mixed given\\.$#"
count: 1
path: app/Http/Controllers/Home/FeedController.php
-
message: "#^Cannot cast object\\|string\\|null to int\\.$#"
count: 1
path: app/Http/Controllers/Resources/ArticleController.php
-
message: "#^Parameter \\#2 \\$tag_ids of method App\\\\Models\\\\ArticleTag\\:\\:addTagIds\\(\\) expects array\\<int, int\\>, mixed given\\.$#"
count: 2
path: app/Http/Controllers/Resources/ArticleController.php
-
message: "#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\\.$#"
count: 1
path: app/Http/Controllers/Resources/ArticleImageController.php
-
message: "#^Parameter \\#2 \\$options of method Illuminate\\\\Http\\\\UploadedFile\\:\\:store\\(\\) expects array\\|string, mixed given\\.$#"
count: 1
path: app/Http/Controllers/Resources/ArticleImageController.php
-
message: "#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\\.$#"
count: 1
path: app/Http/Controllers/Resources/ConfigController.php
-
message: "#^Parameter \\#2 \\$options of method Illuminate\\\\Http\\\\UploadedFile\\:\\:store\\(\\) expects array\\|string, mixed given\\.$#"
count: 1
path: app/Http/Controllers/Resources/ConfigController.php
-
message: "#^Parameter \\#2 \\$haystack of function in_array expects array, mixed given\\.$#"
count: 2
path: app/Http/Requests/Config/Update.php
-
message: "#^Method App\\\\Models\\\\Article\\:\\:articleHistories\\(\\) return type with generic class Illuminate\\\\Database\\\\Eloquent\\\\Relations\\\\HasMany does not specify its types\\: TRelatedModel$#"
count: 1
path: app/Models/Article.php
-
message: "#^Method App\\\\Models\\\\Article\\:\\:category\\(\\) return type with generic class Illuminate\\\\Database\\\\Eloquent\\\\Relations\\\\BelongsTo does not specify its types\\: TRelatedModel, TChildModel$#"
count: 1
path: app/Models/Article.php
-
message: "#^Method App\\\\Models\\\\Article\\:\\:getFeedItems\\(\\) return type with generic class Illuminate\\\\Database\\\\Eloquent\\\\Collection does not specify its types\\: TKey, TModel$#"
count: 1
path: app/Models/Article.php
-
message: "#^Method App\\\\Models\\\\Article\\:\\:getIdsGivenSearchWord\\(\\) should return array\\<int, int\\> but returns array\\.$#"
count: 2
path: app/Models/Article.php
-
message: "#^Method App\\\\Models\\\\Article\\:\\:tags\\(\\) return type with generic class Illuminate\\\\Database\\\\Eloquent\\\\Relations\\\\BelongsToMany does not specify its types\\: TRelatedModel$#"
count: 1
path: app/Models/Article.php
-
message: "#^Method App\\\\Models\\\\ArticleHistory\\:\\:article\\(\\) return type with generic class Illuminate\\\\Database\\\\Eloquent\\\\Relations\\\\BelongsTo does not specify its types\\: TRelatedModel, TChildModel$#"
count: 1
path: app/Models/ArticleHistory.php
-
message: "#^Method App\\\\Models\\\\Category\\:\\:articles\\(\\) return type with generic class Illuminate\\\\Database\\\\Eloquent\\\\Relations\\\\HasMany does not specify its types\\: TRelatedModel$#"
count: 1
path: app/Models/Category.php
-
message: "#^Method App\\\\Models\\\\Comment\\:\\:article\\(\\) return type with generic class Illuminate\\\\Database\\\\Eloquent\\\\Relations\\\\BelongsTo does not specify its types\\: TRelatedModel, TChildModel$#"
count: 1
path: app/Models/Comment.php
-
message: "#^Method App\\\\Models\\\\Comment\\:\\:parentComment\\(\\) return type with generic class Illuminate\\\\Database\\\\Eloquent\\\\Relations\\\\BelongsTo does not specify its types\\: TRelatedModel, TChildModel$#"
count: 1
path: app/Models/Comment.php
-
message: "#^Method App\\\\Models\\\\Comment\\:\\:socialiteUser\\(\\) return type with generic class Illuminate\\\\Database\\\\Eloquent\\\\Relations\\\\BelongsTo does not specify its types\\: TRelatedModel, TChildModel$#"
count: 1
path: app/Models/Comment.php
-
message: "#^Method App\\\\Models\\\\Config\\:\\:getValueAttribute\\(\\) should return array\\|string but returns mixed\\.$#"
count: 1
path: app/Models/Config.php
-
message: "#^Parameter \\#2 \\$text of function watermark expects string, mixed given\\.$#"
count: 1
path: app/Models/Observers/ArticleObserver.php
-
message: "#^Parameter \\#1 \\$appId of class AipContentCensor constructor expects string, mixed given\\.$#"
count: 1
path: app/Models/Observers/CommentObserver.php
-
message: "#^Parameter \\#2 \\$apiKey of class AipContentCensor constructor expects string, mixed given\\.$#"
count: 1
path: app/Models/Observers/CommentObserver.php
-
message: "#^Parameter \\#3 \\$secretKey of class AipContentCensor constructor expects string, mixed given\\.$#"
count: 1
path: app/Models/Observers/CommentObserver.php
-
message: "#^Method App\\\\Models\\\\Site\\:\\:socialiteUser\\(\\) return type with generic class Illuminate\\\\Database\\\\Eloquent\\\\Relations\\\\BelongsTo does not specify its types\\: TRelatedModel, TChildModel$#"
count: 1
path: app/Models/Site.php
-
message: "#^Method App\\\\Models\\\\SocialiteUser\\:\\:socialiteClient\\(\\) return type with generic class Illuminate\\\\Database\\\\Eloquent\\\\Relations\\\\BelongsTo does not specify its types\\: TRelatedModel, TChildModel$#"
count: 1
path: app/Models/SocialiteUser.php
-
message: "#^Method App\\\\Models\\\\Tag\\:\\:articles\\(\\) return type with generic class Illuminate\\\\Database\\\\Eloquent\\\\Relations\\\\BelongsToMany does not specify its types\\: TRelatedModel$#"
count: 1
path: app/Models/Tag.php
-
message: "#^Parameter \\#1 \\$locale of method Illuminate\\\\Contracts\\\\Foundation\\\\Application\\:\\:setLocale\\(\\) expects string, mixed given\\.$#"
count: 1
path: app/Providers/AppServiceProvider.php
-
message: "#^Parameter \\#1 \\$locale of static method Carbon\\\\Carbon\\:\\:setLocale\\(\\) expects string, mixed given\\.$#"
count: 1
path: app/Providers/AppServiceProvider.php
-
message: "#^Parameter \\#1 \\$array of function array_filter expects array, mixed given\\.$#"
count: 1
path: app/Providers/ComposerServiceProvider.php
-
message: "#^Parameter \\#1 \\$content of static method App\\\\Models\\\\Comment\\:\\:imageToUbb\\(\\) expects string, mixed given\\.$#"
count: 1
path: app/Rules/Comment.php
-
message: "#^Function translate\\(\\) should return string but returns mixed\\.$#"
count: 1
path: app/Support/helpers.php
-
message: "#^Parameter \\#1 \\$root of static method Illuminate\\\\Support\\\\Facades\\\\URL\\:\\:assetFrom\\(\\) expects string, mixed given\\.$#"
count: 1
path: app/Support/helpers.php
-
message: "#^Parameter \\#2 \\$haystack of function in_array expects array, mixed given\\.$#"
count: 1
path: app/Support/helpers.php
-
message: "#^Parameter \\#1 \\$title of static method Illuminate\\\\Support\\\\Str\\:\\:slug\\(\\) expects string, mixed given\\.$#"
count: 1
path: config/cache.php
-
message: "#^Parameter \\#1 \\$title of static method Illuminate\\\\Support\\\\Str\\:\\:slug\\(\\) expects string, mixed given\\.$#"
count: 1
path: config/database.php
-
message: "#^Parameter \\#1 \\$title of static method Illuminate\\\\Support\\\\Str\\:\\:slug\\(\\) expects string, mixed given\\.$#"
count: 1
path: config/session.php