-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan-baseline.neon
51 lines (42 loc) · 2.01 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
parameters:
ignoreErrors:
-
message: "#^Call to an undefined method Laravel\\\\Sanctum\\\\Contracts\\\\HasAbilities\\:\\:delete\\(\\)\\.$#"
count: 1
path: app/Http/Controllers/API/AuthController.php
-
message: "#^Cannot call method currentAccessToken\\(\\) on App\\\\Models\\\\User\\|null\\.$#"
count: 2
path: app/Http/Controllers/API/AuthController.php
-
message: "#^Unreachable statement \\- code above always terminates\\.$#"
count: 1
path: app/Http/Controllers/API/AuthController.php
-
message: "#^Parameter \\#1 \\$user of method App\\\\Services\\\\Contracts\\\\IPAddressServiceInterface\\:\\:create\\(\\) expects App\\\\Models\\\\User, App\\\\Models\\\\User\\|null given\\.$#"
count: 1
path: app/Http/Controllers/API/IPAddressController.php
-
message: "#^Parameter \\#1 \\$user of method App\\\\Services\\\\Contracts\\\\IPAddressServiceInterface\\:\\:modifyFetch\\(\\) expects App\\\\Models\\\\User, App\\\\Models\\\\User\\|null given\\.$#"
count: 1
path: app/Http/Controllers/API/IPAddressController.php
-
message: "#^Call to an undefined method Illuminate\\\\Http\\\\Response\\:\\:getData\\(\\)\\.$#"
count: 1
path: app/Http/Resources/BaseCollection.php
-
message: "#^Call to an undefined method Illuminate\\\\Http\\\\Response\\:\\:setData\\(\\)\\.$#"
count: 1
path: app/Http/Resources/BaseCollection.php
-
message: "#^Parameter \\#2 \\$response \\(Illuminate\\\\Http\\\\Response\\) of method App\\\\Http\\\\Resources\\\\BaseCollection\\:\\:withResponse\\(\\) should be compatible with parameter \\$response \\(Illuminate\\\\Http\\\\JsonResponse\\) of method Illuminate\\\\Http\\\\Resources\\\\Json\\\\JsonResource\\:\\:withResponse\\(\\)$#"
count: 1
path: app/Http/Resources/BaseCollection.php
-
message: "#^Class App\\\\Models\\\\AuditLogs not found\\.$#"
count: 1
path: app/Models/User.php
-
message: "#^Cannot call method createToken\\(\\) on App\\\\Models\\\\User\\|null\\.$#"
count: 1
path: app/Services/AuthService.php