-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathphpstan-baseline.neon
More file actions
181 lines (152 loc) · 5.84 KB
/
Copy pathphpstan-baseline.neon
File metadata and controls
181 lines (152 loc) · 5.84 KB
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
parameters:
ignoreErrors:
-
message: '#^Class App\\Models\\User not found\.$#'
identifier: class.notFound
count: 1
path: config/filament-access-management.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$id\.$#'
identifier: property.notFound
count: 1
path: database/seeders/NavigationSeeder.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:givePermissionTo\(\)\.$#'
identifier: method.notFound
count: 1
path: database/seeders/UserPermissionSeeder.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$name\.$#'
identifier: property.notFound
count: 1
path: src/Commands/MakeSuperAdminUser.php
-
message: '#^Call to an undefined method Illuminate\\Foundation\\Auth\\User\:\:assignRole\(\)\.$#'
identifier: method.notFound
count: 1
path: src/Commands/MakeSuperAdminUser.php
-
message: '#^Trait SolutionForest\\FilamentAccessManagement\\Concerns\\FilamentUser is used zero times and is not analysed\.$#'
identifier: trait.unused
count: 1
path: src/Concerns/FilamentUser.php
-
message: '#^Trait SolutionForest\\FilamentAccessManagement\\Concerns\\FilamentUserHelpers is used zero times and is not analysed\.$#'
identifier: trait.unused
count: 1
path: src/Concerns/FilamentUserHelpers.php
-
message: '#^Instanceof between Filament\\Navigation\\NavigationGroup and Filament\\Navigation\\NavigationGroup will always evaluate to true\.$#'
identifier: instanceof.alwaysTrue
count: 1
path: src/FilamentAccessManagement.php
-
message: '#^Call to function method_exists\(\) with Filament\\Actions\\Action and ''getUrl'' will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: src/FilamentAccessManagementPanel.php
-
message: '#^Method SolutionForest\\FilamentAccessManagement\\FilamentAccessManagementPanel\:\:get\(\) should return static\(SolutionForest\\FilamentAccessManagement\\FilamentAccessManagementPanel\) but returns Filament\\Contracts\\Plugin\|Filament\\FilamentManager\.$#'
identifier: return.type
count: 1
path: src/FilamentAccessManagementPanel.php
-
message: '#^Access to an undefined property Illuminate\\Foundation\\Auth\\User\:\:\$roles\.$#'
identifier: property.notFound
count: 1
path: src/Http/Auth/Permission.php
-
message: '#^Call to an undefined method Illuminate\\Foundation\\Auth\\User\:\:inRoles\(\)\.$#'
identifier: method.notFound
count: 2
path: src/Http/Auth/Permission.php
-
message: '#^Expression on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.expr
count: 1
path: src/Http/Auth/Permission.php
-
message: '#^Method SolutionForest\\FilamentAccessManagement\\Http\\Auth\\Permission\:\:check\(\) should return void\|true but returns array\<string, bool\>\|bool\.$#'
identifier: return.type
count: 1
path: src/Http/Auth/Permission.php
-
message: '#^Relation ''roles'' is not found in Illuminate\\Foundation\\Auth\\User model\.$#'
identifier: larastan.relationExistence
count: 1
path: src/Http/Auth/Permission.php
-
message: '#^Ternary operator condition is always true\.$#'
identifier: ternary.alwaysTrue
count: 1
path: src/Http/Auth/Permission.php
-
message: '#^Unreachable statement \- code above always terminates\.$#'
identifier: deadCode.unreachable
count: 1
path: src/Http/Middleware/Authenticate.php
-
message: '#^Access to an undefined property SolutionForest\\FilamentAccessManagement\\Models\\Menu\:\:\$is_filament_panel\.$#'
identifier: property.notFound
count: 1
path: src/Models/Menu.php
-
message: '#^Right side of && is always true\.$#'
identifier: booleanAnd.rightAlwaysTrue
count: 1
path: src/Models/Menu.php
-
message: '#^Expression on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.expr
count: 1
path: src/Resources/PermissionResource.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:roles\(\)\.$#'
identifier: method.notFound
count: 1
path: src/Resources/PermissionResource/Pages/ListPermissions.php
-
message: '#^Expression on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.expr
count: 1
path: src/Resources/RoleResource.php
-
message: '#^Expression on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.expr
count: 1
path: src/Resources/UserResource.php
-
message: '#^Right side of && is always true\.$#'
identifier: booleanAnd.rightAlwaysTrue
count: 1
path: src/Support/Menu.php
-
message: '#^Unsafe call to private method SolutionForest\\FilamentAccessManagement\\Support\\Menu\:\:buildNavigationGroupItems\(\) through static\:\:\.$#'
identifier: staticClassAccess.privateMethod
count: 1
path: src/Support/Menu.php
-
message: '#^Unsafe call to private method SolutionForest\\FilamentAccessManagement\\Support\\Menu\:\:ensureNavigationLabel\(\) through static\:\:\.$#'
identifier: staticClassAccess.privateMethod
count: 2
path: src/Support/Menu.php
-
message: '#^Unsafe call to private method SolutionForest\\FilamentAccessManagement\\Support\\Menu\:\:handleTranslatable\(\) through static\:\:\.$#'
identifier: staticClassAccess.privateMethod
count: 2
path: src/Support/Menu.php
-
message: '#^Variable \$groupIcon on left side of \?\? is never defined\.$#'
identifier: nullCoalesce.variable
count: 1
path: src/Support/Menu.php
-
message: '#^Variable \$groupLabel on left side of \?\? is never defined\.$#'
identifier: nullCoalesce.variable
count: 1
path: src/Support/Menu.php
-
message: '#^Call to function is_null\(\) with string will always evaluate to false\.$#'
identifier: function.impossibleType
count: 1
path: src/helpers.php