-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan-baseline.neon
More file actions
283 lines (237 loc) · 12.7 KB
/
Copy pathphpstan-baseline.neon
File metadata and controls
283 lines (237 loc) · 12.7 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
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
parameters:
ignoreErrors:
-
message: '#^Offset ''files_restored'' on array\{manifest_version\: string\|null, tables_planned\: list\<string\>, tables_skipped\: array\<string, string\>, tables_missing_in_db\: list\<string\>, tables_extra_in_db\: list\<string\>, schema_drift\: array\<string, array\{extra_in_backup\: list\<string\>, extra_in_db\: list\<string\>\}\>, restored\: array\<string, int\>, files_total\: int, \.\.\.\} on left side of \?\? always exists and is not nullable\.$#'
identifier: nullCoalesce.offset
count: 1
path: app/Console/Commands/BackupRestoreCommand.php
-
message: '#^Offset ''files_skipped'' on array\{manifest_version\: string\|null, tables_planned\: list\<string\>, tables_skipped\: array\<string, string\>, tables_missing_in_db\: list\<string\>, tables_extra_in_db\: list\<string\>, schema_drift\: array\<string, array\{extra_in_backup\: list\<string\>, extra_in_db\: list\<string\>\}\>, restored\: array\<string, int\>, files_total\: int, \.\.\.\} on left side of \?\? always exists and is not nullable\.$#'
identifier: nullCoalesce.offset
count: 1
path: app/Console/Commands/BackupRestoreCommand.php
-
message: '#^Offset ''files_total'' on array\{manifest_version\: string\|null, tables_planned\: list\<string\>, tables_skipped\: array\<string, string\>, tables_missing_in_db\: list\<string\>, tables_extra_in_db\: list\<string\>, schema_drift\: array\<string, array\{extra_in_backup\: list\<string\>, extra_in_db\: list\<string\>\}\>, restored\: array\<string, int\>, files_total\: int, \.\.\.\} on left side of \?\? always exists and is not nullable\.$#'
identifier: nullCoalesce.offset
count: 1
path: app/Console/Commands/BackupRestoreCommand.php
-
message: '#^Parameter \#1 \$callback of method Illuminate\\Database\\Eloquent\\Collection\<int,App\\Domain\\Attempt\\Models\\TestAttempt\>\:\:map\(\) contains unresolvable type\.$#'
identifier: argument.unresolvableType
count: 1
path: app/Domain/Analytics/AnalyticsService.php
-
message: '#^Parameter \#3 \$normTable of method App\\Domain\\NormTable\\LqResolver\:\:resolve\(\) expects App\\Domain\\NormTable\\Models\\NormTable\|null, Illuminate\\Database\\Eloquent\\Model\|null given\.$#'
identifier: argument.type
count: 2
path: app/Domain/Attempt/TestEngine.php
-
message: '#^Parameter \#1 \$key of method App\\Domain\\Crypto\\CryptoService\:\:createWrapForUser\(\) expects App\\Domain\\Crypto\\Models\\EncryptionKey, Illuminate\\Database\\Eloquent\\Model\|null given\.$#'
identifier: argument.type
count: 1
path: app/Domain/Crypto/CryptoService.php
-
message: '#^Parameter \#3 \$params of method App\\Domain\\Crypto\\CryptoService\:\:deriveKek\(\) expects array\{memory_cost\: int, time_cost\: int, threads\: int\}, string given\.$#'
identifier: argument.type
count: 1
path: app/Domain/Crypto/CryptoService.php
-
message: '#^Match arm comparison between ''archive'' and ''archive'' is always true\.$#'
identifier: match.alwaysTrue
count: 1
path: app/Domain/Import/Adapters/AbstractStudentImporter.php
-
message: '#^Offset ''external_student_id'' does not exist on array\{row_number\: int, raw\: array\<int, string\>, errors\: array\<int, string\>, valid\: false\}\.$#'
identifier: offsetAccess.notFound
count: 1
path: app/Domain/Import/Adapters/AbstractStudentImporter.php
-
message: '#^Offset ''external_student_id'' does not exist on array\{row_number\: int, raw\: array\<int, string\>, errors\: array\<int, string\>, valid\: true\}\.$#'
identifier: offsetAccess.notFound
count: 1
path: app/Domain/Import/Adapters/AbstractStudentImporter.php
-
message: '#^Offset ''raw'' on \*NEVER\* on left side of \?\? always exists and is not nullable\.$#'
identifier: nullCoalesce.offset
count: 1
path: app/Domain/Import/Adapters/AbstractStudentImporter.php
-
message: '#^Offset ''row'' on array\{\}\|string on left side of \?\? does not exist\.$#'
identifier: nullCoalesce.offset
count: 1
path: app/Domain/Import/Adapters/AbstractStudentImporter.php
-
message: '#^Parameter \#2 \$row of method App\\Domain\\Import\\Adapters\\AbstractStudentImporter\:\:doCreate\(\) expects array, null given\.$#'
identifier: argument.type
count: 1
path: app/Domain/Import/Adapters/AbstractStudentImporter.php
-
message: '#^Parameter \#2 \$row of method App\\Domain\\Import\\Adapters\\AbstractStudentImporter\:\:doUpdate\(\) expects array, null given\.$#'
identifier: argument.type
count: 1
path: app/Domain/Import/Adapters/AbstractStudentImporter.php
-
message: '#^Offset string on array\{\}\|string on left side of \?\? does not exist\.$#'
identifier: nullCoalesce.offset
count: 1
path: app/Domain/Import/Models/ImportSource.php
-
message: '#^Offset ''api_url'' on array\{\}\|string on left side of \?\? does not exist\.$#'
identifier: nullCoalesce.offset
count: 1
path: app/Domain/Import/SvwsApiClient.php
-
message: '#^Offset ''password'' on array\{\}\|string on left side of \?\? does not exist\.$#'
identifier: nullCoalesce.offset
count: 1
path: app/Domain/Import/SvwsApiClient.php
-
message: '#^Offset ''schema'' on array\{\}\|string on left side of \?\? does not exist\.$#'
identifier: nullCoalesce.offset
count: 1
path: app/Domain/Import/SvwsApiClient.php
-
message: '#^Offset ''timeout_seconds'' on array\{\}\|string on left side of \?\? does not exist\.$#'
identifier: nullCoalesce.offset
count: 1
path: app/Domain/Import/SvwsApiClient.php
-
message: '#^Offset ''username'' on array\{\}\|string on left side of \?\? does not exist\.$#'
identifier: nullCoalesce.offset
count: 1
path: app/Domain/Import/SvwsApiClient.php
-
message: '#^Offset ''verify_ssl'' on array\{\}\|string on left side of \?\? does not exist\.$#'
identifier: nullCoalesce.offset
count: 1
path: app/Domain/Import/SvwsApiClient.php
-
message: '#^Strict comparison using \=\=\= between true and false will always evaluate to false\.$#'
identifier: identical.alwaysFalse
count: 1
path: app/Domain/Import/SvwsApiClient.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:learningGroups\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Domain/PrintJob/BulkFeedbackGenerator.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:ranges\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Domain/PrintJob/BulkFeedbackGenerator.php
-
message: '#^Parameter \#1 \$attempt of method App\\Domain\\PrintJob\\BulkFeedbackGenerator\:\:buildVarsForAttempt\(\) expects App\\Domain\\Attempt\\Models\\TestAttempt, Illuminate\\Database\\Eloquent\\Model given\.$#'
identifier: argument.type
count: 1
path: app/Domain/PrintJob/BulkFeedbackGenerator.php
-
message: '#^Parameter \#1 \$student of method App\\Domain\\Analytics\\AnalyticsService\:\:studentHistory\(\) expects App\\Domain\\Student\\Models\\Student, Illuminate\\Database\\Eloquent\\Model given\.$#'
identifier: argument.type
count: 1
path: app/Domain/PrintJob/BulkHistoryExporter.php
-
message: '#^Offset ''_includes_clearnames'' on array\{\}\|string on left side of \?\? does not exist\.$#'
identifier: nullCoalesce.offset
count: 1
path: app/Domain/PrintJob/PrintJobRunner.php
-
message: '#^Parameter \#1 \$callback of method Illuminate\\Database\\Eloquent\\Collection\<int,App\\Domain\\Attempt\\Models\\TestAttempt\>\:\:map\(\) contains unresolvable type\.$#'
identifier: argument.unresolvableType
count: 1
path: app/Domain/Privacy/PrivacyService.php
-
message: '#^Parameter \#1 \$callback of method Illuminate\\Database\\Eloquent\\Collection\<int,Illuminate\\Database\\Eloquent\\Model\>\:\:map\(\) contains unresolvable type\.$#'
identifier: argument.unresolvableType
count: 1
path: app/Domain/Privacy/PrivacyService.php
-
message: '#^Parameter \#1 \$callback of method Illuminate\\Database\\Eloquent\\Collection\<int,App\\Domain\\Crypto\\Models\\RecoveryKey\>\:\:map\(\) contains unresolvable type\.$#'
identifier: argument.unresolvableType
count: 1
path: app/Filament/Pages/RecoveryKeyManagement.php
-
message: '#^Parameter \#1 \$callback of method Illuminate\\Database\\Eloquent\\Collection\<int,Illuminate\\Database\\Eloquent\\Model\>\:\:mapWithKeys\(\) expects callable\(Illuminate\\Database\\Eloquent\\Model, int\)\: array\<int, non\-falsy\-string\>, Closure\(App\\Domain\\Student\\Models\\Student\)\: non\-empty\-array\<int, non\-falsy\-string\> given\.$#'
identifier: argument.type
count: 1
path: app/Filament/Pages/StudentHistoryChart.php
-
message: '#^Offset ''auffaellig''\|''foerderbedarf''\|''hinweis'' on array\{foerderbedarf\: 3, auffaellig\: 2, hinweis\: 1\} on left side of \?\? always exists and is not nullable\.$#'
identifier: nullCoalesce.offset
count: 2
path: app/Filament/Pages/SupportListPage.php
-
message: '#^Parameter \#1 \$array of function usort contains unresolvable type\.$#'
identifier: argument.unresolvableType
count: 1
path: app/Filament/Pages/SupportListPage.php
-
message: '#^Parameter \#2 \$callback of function usort contains unresolvable type\.$#'
identifier: argument.unresolvableType
count: 1
path: app/Filament/Pages/SupportListPage.php
-
message: '#^Parameter \#1 \$callback of method Illuminate\\Database\\Eloquent\\Collection\<int,App\\Domain\\Attempt\\Models\\TestAttempt\>\:\:map\(\) contains unresolvable type\.$#'
identifier: argument.unresolvableType
count: 1
path: app/Filament/Resources/StudentResource/Pages/ViewStudent.php
-
message: '#^Parameter \#1 \$student of method App\\Domain\\Analytics\\AnalyticsService\:\:studentHistory\(\) expects App\\Domain\\Student\\Models\\Student, Illuminate\\Database\\Eloquent\\Model\|int\|string\|null given\.$#'
identifier: argument.type
count: 1
path: app/Filament/Resources/StudentResource/Pages/ViewStudent.php
-
message: '#^Parameter \#1 \$student of method App\\Domain\\Privacy\\PrivacyService\:\:exportStudentData\(\) expects App\\Domain\\Student\\Models\\Student, Illuminate\\Database\\Eloquent\\Model\|int\|string\|null given\.$#'
identifier: argument.type
count: 1
path: app/Filament/Resources/StudentResource/Pages/ViewStudent.php
-
message: '#^Parameter \$student of method App\\Domain\\Privacy\\PrivacyService\:\:deleteStudent\(\) expects App\\Domain\\Student\\Models\\Student, Illuminate\\Database\\Eloquent\\Model\|int\|string\|null given\.$#'
identifier: argument.type
count: 1
path: app/Filament/Resources/StudentResource/Pages/ViewStudent.php
-
message: '#^Array has 2 duplicate keys with value ''gray'' \(''gray'', ''gray''\)\.$#'
identifier: array.duplicateKey
count: 1
path: app/Filament/Resources/TestRunResource.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:learningGroups\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Filament/Resources/TestRunResource.php
-
message: '#^Undefined variable\: \$this$#'
identifier: variable.undefined
count: 2
path: app/Filament/Resources/TestRunResource.php
-
message: '#^Parameter \#1 \$user of method App\\Domain\\Auth\\OnboardingService\:\:markForForcedChange\(\) expects App\\Models\\User, Illuminate\\Database\\Eloquent\\Model given\.$#'
identifier: argument.type
count: 1
path: app/Filament/Resources/UserResource.php
-
message: '#^Match arm comparison between ''bounced'' and ''bounced'' is always true\.$#'
identifier: match.alwaysTrue
count: 1
path: app/Filament/Widgets/MyJobsStatus.php
-
message: '#^Method App\\Filament\\Widgets\\MyJobsStatus\:\:getActivities\(\) should return Illuminate\\Support\\Collection\<int, array\<string, mixed\>\> but returns Illuminate\\Support\\Collection\<int, array\{when\: string, kind\: string, title\: string, subtitle\: string, status\: string, status_color\: string, includes_clearnames\: bool, url\: string\|null\}\>\.$#'
identifier: return.type
count: 1
path: app/Filament/Widgets/MyJobsStatus.php
-
message: '#^Offset ''error'' on string\|null on left side of \?\? does not exist\.$#'
identifier: nullCoalesce.offset
count: 1
path: app/Filament/Widgets/MyJobsStatus.php
-
message: '#^Offset ''kind'' on string\|null on left side of \?\? does not exist\.$#'
identifier: nullCoalesce.offset
count: 1
path: app/Filament/Widgets/MyJobsStatus.php
-
message: '#^Offset ''when'' on array\{when\: string, kind\: string, title\: string, subtitle\: string, status\: string, status_color\: string, includes_clearnames\: bool, url\: string\|null\} on left side of \?\? always exists and is not nullable\.$#'
identifier: nullCoalesce.offset
count: 1
path: app/Filament/Widgets/MyJobsStatus.php