-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan-baseline.neon
181 lines (146 loc) · 7.58 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
parameters:
ignoreErrors:
-
message: "#^PHPDoc type string of property Tapp\\\\FilamentLms\\\\Database\\\\Factories\\\\LessonFactory\\:\\:\\$model is not covariant with PHPDoc type class\\-string\\<Illuminate\\\\Database\\\\Eloquent\\\\Model\\> of overridden property Illuminate\\\\Database\\\\Eloquent\\\\Factories\\\\Factory\\<Illuminate\\\\Database\\\\Eloquent\\\\Model\\>\\:\\:\\$model\\.$#"
count: 1
path: database/factories/LessonFactory.php
-
message: "#^PHPDoc type string of property Tapp\\\\FilamentLms\\\\Database\\\\Factories\\\\StepFactory\\:\\:\\$model is not covariant with PHPDoc type class\\-string\\<Illuminate\\\\Database\\\\Eloquent\\\\Model\\> of overridden property Illuminate\\\\Database\\\\Eloquent\\\\Factories\\\\Factory\\<Illuminate\\\\Database\\\\Eloquent\\\\Model\\>\\:\\:\\$model\\.$#"
count: 1
path: database/factories/StepFactory.php
-
message: "#^PHPDoc type string of property Tapp\\\\FilamentLms\\\\Database\\\\Factories\\\\VideoFactory\\:\\:\\$model is not covariant with PHPDoc type class\\-string\\<Illuminate\\\\Database\\\\Eloquent\\\\Model\\> of overridden property Illuminate\\\\Database\\\\Eloquent\\\\Factories\\\\Factory\\<Illuminate\\\\Database\\\\Eloquent\\\\Model\\>\\:\\:\\$model\\.$#"
count: 1
path: database/factories/VideoFactory.php
-
message: "#^Access to an undefined property Illuminate\\\\Foundation\\\\Auth\\\\User\\:\\:\\$name\\.$#"
count: 1
path: src/Http/Controllers/CertificateController.php
-
message: "#^Access to an undefined property Tapp\\\\FilamentLms\\\\Models\\\\Course\\:\\:\\$name\\.$#"
count: 1
path: src/Http/Controllers/CertificateController.php
-
message: "#^Call to an undefined method Illuminate\\\\Foundation\\\\Auth\\\\User\\:\\:hasRole\\(\\)\\.$#"
count: 1
path: src/Http/Controllers/CertificateController.php
-
message: "#^Call to static method find\\(\\) on an unknown class App\\\\Models\\\\User\\.$#"
count: 1
path: src/Http/Controllers/CertificateController.php
-
message: "#^Call to static method url\\(\\) on an unknown class Spatie\\\\Browsershot\\\\Browsershot\\.$#"
count: 1
path: src/Http/Controllers/CertificateController.php
-
message: "#^Method Tapp\\\\FilamentLms\\\\Http\\\\Controllers\\\\CertificateController\\:\\:download\\(\\) should return Symfony\\\\Component\\\\HttpFoundation\\\\StreamedResponse but returns Illuminate\\\\Http\\\\RedirectResponse\\.$#"
count: 1
path: src/Http/Controllers/CertificateController.php
-
message: "#^Method Tapp\\\\FilamentLms\\\\Lms\\:\\:get\\(\\) should return static\\(Tapp\\\\FilamentLms\\\\Lms\\) but returns Filament\\\\Contracts\\\\Plugin\\|Filament\\\\FilamentManager\\.$#"
count: 1
path: src/Lms.php
-
message: "#^Unsafe usage of new static\\(\\)\\.$#"
count: 1
path: src/Lms.php
-
message: "#^Access to an undefined property Tapp\\\\FilamentLms\\\\Models\\\\Course\\:\\:\\$slug\\.$#"
count: 1
path: src/LmsPanelProvider.php
-
message: "#^Access to an undefined property Tapp\\\\FilamentLms\\\\Models\\\\Lesson\\:\\:\\$name\\.$#"
count: 1
path: src/LmsPanelProvider.php
-
message: "#^Access to an undefined property Tapp\\\\FilamentLms\\\\Models\\\\Step\\:\\:\\$name\\.$#"
count: 1
path: src/LmsPanelProvider.php
-
message: "#^Parameter \\#1 \\$components of method Filament\\\\Panel\\:\\:livewireComponents\\(\\) expects array\\<string, class\\-string\\<Livewire\\\\Component\\>\\>, array\\{'Tapp\\\\\\\\FilamentLms\\\\\\\\Livewire\\\\\\\\VideoStep', 'Tapp\\\\\\\\FilamentLms\\\\\\\\Livewire\\\\\\\\FormStep'\\} given\\.$#"
count: 1
path: src/LmsPanelProvider.php
-
message: "#^Access to an undefined property Tapp\\\\FilamentLms\\\\Models\\\\Course\\:\\:\\$image\\.$#"
count: 1
path: src/Models/Course.php
-
message: "#^Access to an undefined property Tapp\\\\FilamentLms\\\\Models\\\\Course\\:\\:\\$slug\\.$#"
count: 2
path: src/Models/Course.php
-
message: "#^Access to an undefined property Tapp\\\\FilamentLms\\\\Models\\\\Lesson\\:\\:\\$slug\\.$#"
count: 1
path: src/Models/Course.php
-
message: "#^Access to an undefined property Tapp\\\\FilamentLms\\\\Models\\\\Step\\:\\:\\$slug\\.$#"
count: 1
path: src/Models/Course.php
-
message: "#^Parameter \\#1 \\$column of method Illuminate\\\\Database\\\\Eloquent\\\\Builder\\<Tapp\\\\FilamentLms\\\\Models\\\\StepUser\\>\\:\\:where\\(\\) expects array\\<int\\|model property of Tapp\\\\FilamentLms\\\\Models\\\\StepUser, mixed\\>\\|\\(Closure\\(Illuminate\\\\Database\\\\Eloquent\\\\Builder\\<Tapp\\\\FilamentLms\\\\Models\\\\StepUser\\>\\)\\: mixed\\)\\|Illuminate\\\\Contracts\\\\Database\\\\Query\\\\Expression\\|model property of Tapp\\\\FilamentLms\\\\Models\\\\StepUser, 'lms_step_user\\.user…' given\\.$#"
count: 1
path: src/Models/Course.php
-
message: "#^Parameter \\$user of method Tapp\\\\FilamentLms\\\\Models\\\\Course\\:\\:currentStep\\(\\) has invalid type App\\\\Models\\\\User\\.$#"
count: 1
path: src/Models/Course.php
-
message: "#^Access to an undefined property Tapp\\\\FilamentLms\\\\Models\\\\Lesson\\:\\:\\$slug\\.$#"
count: 1
path: src/Models/Lesson.php
-
message: "#^Access to an undefined property Tapp\\\\FilamentLms\\\\Models\\\\Lesson\\:\\:\\$order\\.$#"
count: 1
path: src/Models/Step.php
-
message: "#^Access to an undefined property Tapp\\\\FilamentLms\\\\Models\\\\Step\\:\\:\\$order\\.$#"
count: 3
path: src/Models/Step.php
-
message: "#^Access to an undefined property Tapp\\\\FilamentLms\\\\Models\\\\Step\\:\\:\\$slug\\.$#"
count: 1
path: src/Models/Step.php
-
message: "#^Access to an undefined property Tapp\\\\FilamentLms\\\\Models\\\\StepUser\\:\\:\\$completed_at\\.$#"
count: 2
path: src/Models/Step.php
-
message: "#^Access to property \\$id on an unknown class Tapp\\\\FilamentLms\\\\Models\\\\User\\.$#"
count: 3
path: src/Models/Step.php
-
message: "#^Parameter \\$user of method Tapp\\\\FilamentLms\\\\Models\\\\Step\\:\\:complete\\(\\) has invalid type Tapp\\\\FilamentLms\\\\Models\\\\User\\.$#"
count: 1
path: src/Models/Step.php
-
message: "#^Class Tapp\\\\FilamentLms\\\\Models\\\\User not found\\.$#"
count: 1
path: src/Models/StepUser.php
-
message: "#^Parameter \\#1 \\$related of method Illuminate\\\\Database\\\\Eloquent\\\\Model\\:\\:belongsTo\\(\\) expects class\\-string\\<Illuminate\\\\Database\\\\Eloquent\\\\Model\\>, string given\\.$#"
count: 1
path: src/Models/StepUser.php
-
message: "#^Access to an undefined property Tapp\\\\FilamentLms\\\\Models\\\\Course\\:\\:\\$slug\\.$#"
count: 2
path: src/Pages/Step.php
-
message: "#^Access to an undefined property Tapp\\\\FilamentLms\\\\Models\\\\Lesson\\:\\:\\$slug\\.$#"
count: 1
path: src/Pages/Step.php
-
message: "#^Access to an undefined property Tapp\\\\FilamentLms\\\\Models\\\\Step\\:\\:\\$name\\.$#"
count: 1
path: src/Pages/Step.php
-
message: "#^Access to an undefined property Tapp\\\\FilamentLms\\\\Models\\\\Step\\:\\:\\$slug\\.$#"
count: 1
path: src/Pages/Step.php
-
message: "#^Parameter \\#1 \\$parameters of static method Filament\\\\Resources\\\\Pages\\\\Page\\:\\:getUrl\\(\\) expects array\\<string, mixed\\>, array\\<int, mixed\\> given\\.$#"
count: 1
path: src/Resources/CourseResource/RelationManagers/LessonsRelationManager.php
-
message: "#^Parameter \\#1 \\$parameters of static method Filament\\\\Resources\\\\Pages\\\\Page\\:\\:getUrl\\(\\) expects array\\<string, mixed\\>, array\\<int, mixed\\> given\\.$#"
count: 1
path: src/Resources/LessonResource/RelationManagers/StepsRelationManager.php