-
Notifications
You must be signed in to change notification settings - Fork 116
/
Copy pathphpstan-baseline.neon
37 lines (30 loc) · 1.66 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
parameters:
ignoreErrors:
-
message: "#^Parameter \\#1 \\$user of method Illuminate\\\\Database\\\\Eloquent\\\\Builder\\<App\\\\Models\\\\Article\\>\\:\\:followedAuthorsOf\\(\\) expects App\\\\Models\\\\User, App\\\\Models\\\\User\\|null given\\.$#"
count: 1
path: app/Http/Controllers/Api/Articles/ArticleController.php
-
message: "#^Unable to resolve the template type TKey in call to function collect$#"
count: 2
path: app/Http/Controllers/Api/Articles/ArticleController.php
-
message: "#^Unable to resolve the template type TValue in call to function collect$#"
count: 2
path: app/Http/Controllers/Api/Articles/ArticleController.php
-
message: "#^Parameter \\#1 \\$ids of method Illuminate\\\\Database\\\\Eloquent\\\\Relations\\\\BelongsToMany\\<App\\\\Models\\\\User\\>\\:\\:syncWithoutDetaching\\(\\) expects array\\|Illuminate\\\\Database\\\\Eloquent\\\\Model\\|Illuminate\\\\Support\\\\Collection, App\\\\Models\\\\User\\|null given\\.$#"
count: 1
path: app/Http/Controllers/Api/ProfileController.php
-
message: "#^Parameter \\#1 \\$user of method App\\\\Models\\\\Article\\:\\:favoredBy\\(\\) expects App\\\\Models\\\\User, App\\\\Models\\\\User\\|null given\\.$#"
count: 1
path: app/Http/Resources/Api/ArticleResource.php
-
message: "#^Cannot call method following\\(\\) on App\\\\Models\\\\User\\|null\\.$#"
count: 1
path: app/Http/Resources/Api/ProfileResource.php
-
message: "#^Parameter \\#1 \\$key of method Illuminate\\\\Cache\\\\RateLimiting\\\\Limit\\:\\:by\\(\\) expects string, int\\<min, \\-1\\>\\|int\\<1, max\\>\\|string\\|null given\\.$#"
count: 1
path: app/Providers/RouteServiceProvider.php