-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Expand file tree
/
Copy pathphpstan-baseline.neon
More file actions
349 lines (292 loc) · 10.5 KB
/
Copy pathphpstan-baseline.neon
File metadata and controls
349 lines (292 loc) · 10.5 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
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
parameters:
ignoreErrors:
-
message: '#^Variable \$rules in empty\(\) always exists and is not falsy\.$#'
identifier: empty.variable
count: 1
path: app/Exceptions/ImagePathHandler.php
-
message: '#^Anonymous function has an unused use \$user\.$#'
identifier: closure.unusedUse
count: 1
path: app/Http/Controllers/Api/ApproveController.php
-
message: '#^Called ''env'' outside of the config directory which returns null when the config is cached, use ''config''\.$#'
identifier: larastan.noEnvCallsOutsideOfConfig
count: 1
path: app/Http/Controllers/Api/ApproveController.php
-
message: '#^Called ''env'' outside of the config directory which returns null when the config is cached, use ''config''\.$#'
identifier: larastan.noEnvCallsOutsideOfConfig
count: 2
path: app/Http/Controllers/Api/DialogController.php
-
message: '#^Variable \$dialog in empty\(\) always exists and is not falsy\.$#'
identifier: empty.variable
count: 1
path: app/Http/Controllers/Api/DialogController.php
-
message: '#^Variable \$user might not be defined\.$#'
identifier: variable.undefined
count: 1
path: app/Http/Controllers/Api/DialogController.php
-
message: '#^Called ''env'' outside of the config directory which returns null when the config is cached, use ''config''\.$#'
identifier: larastan.noEnvCallsOutsideOfConfig
count: 1
path: app/Http/Controllers/Api/FileController.php
-
message: '#^Anonymous function has an unused use \$user\.$#'
identifier: closure.unusedUse
count: 2
path: app/Http/Controllers/Api/ProjectController.php
-
message: '#^Variable \$column in empty\(\) always exists and is not falsy\.$#'
identifier: empty.variable
count: 1
path: app/Http/Controllers/Api/ProjectController.php
-
message: '#^Relation ''sendUser'' is not found in App\\Models\\Report model\.$#'
identifier: larastan.relationExistence
count: 3
path: app/Http/Controllers/Api/ReportController.php
-
message: '#^Called ''env'' outside of the config directory which returns null when the config is cached, use ''config''\.$#'
identifier: larastan.noEnvCallsOutsideOfConfig
count: 14
path: app/Http/Controllers/Api/SystemController.php
-
message: '#^Anonymous function has an unused use \$keys\.$#'
identifier: closure.unusedUse
count: 1
path: app/Http/Controllers/Api/UsersController.php
-
message: '#^Called ''env'' outside of the config directory which returns null when the config is cached, use ''config''\.$#'
identifier: larastan.noEnvCallsOutsideOfConfig
count: 1
path: app/Http/Controllers/Api/UsersController.php
-
message: '#^Variable \$basic in empty\(\) always exists and is not falsy\.$#'
identifier: empty.variable
count: 1
path: app/Http/Controllers/Api/UsersController.php
-
message: '#^Called ''env'' outside of the config directory which returns null when the config is cached, use ''config''\.$#'
identifier: larastan.noEnvCallsOutsideOfConfig
count: 1
path: app/Http/Controllers/IndexController.php
-
message: '#^Access to an undefined property App\\Ldap\\LdapUser\:\:\$displayName\.$#'
identifier: property.notFound
count: 1
path: app/Ldap/LdapUser.php
-
message: '#^Access to an undefined property App\\Ldap\\LdapUser\:\:\$jpegPhoto\.$#'
identifier: property.notFound
count: 1
path: app/Ldap/LdapUser.php
-
message: '#^Access to an undefined property App\\Ldap\\LdapUser\:\:\$uid\.$#'
identifier: property.notFound
count: 1
path: app/Ldap/LdapUser.php
-
message: '#^Unsafe usage of new static\(\)\.$#'
identifier: new.static
count: 1
path: app/Ldap/LdapUser.php
-
message: '#^Unsafe usage of new static\(\)\.$#'
identifier: new.static
count: 3
path: app/Models/AbstractModel.php
-
message: '#^Variable \$arr in empty\(\) always exists and is not falsy\.$#'
identifier: empty.variable
count: 1
path: app/Models/File.php
-
message: '#^Variable \$dirRow in empty\(\) always exists and is not falsy\.$#'
identifier: empty.variable
count: 1
path: app/Models/File.php
-
message: '#^Variable \$filePath might not be defined\.$#'
identifier: variable.undefined
count: 2
path: app/Models/File.php
-
message: '#^Variable \$filePath in isset\(\) always exists and is not nullable\.$#'
identifier: isset.variable
count: 1
path: app/Models/FileContent.php
-
message: '#^Deprecated in PHP 8\.4\: Parameter \#3 \$task \(App\\Models\\ProjectTask\) is implicitly nullable via default value null\.$#'
identifier: parameter.implicitlyNullable
count: 1
path: app/Models/ProjectPermission.php
-
message: '#^Access to an undefined property App\\Models\\ProjectTask\:\:\$owner\.$#'
identifier: property.notFound
count: 1
path: app/Models/ProjectTask.php
-
message: '#^Class App\\Models\\ProjectFlowItem referenced with incorrect case\: App\\Models\\projectFlowItem\.$#'
identifier: class.nameCase
count: 1
path: app/Models/ProjectTask.php
-
message: '#^Variable \$receivers in empty\(\) always exists and is not falsy\.$#'
identifier: empty.variable
count: 1
path: app/Models/ProjectTask.php
-
message: '#^Deprecated in PHP 8\.4\: Parameter \#3 \$time \(Carbon\\Carbon\) is implicitly nullable via default value null\.$#'
identifier: parameter.implicitlyNullable
count: 1
path: app/Models/Report.php
-
message: '#^Property ''receives'' does not exist in model\.$#'
identifier: rules.modelAppends
count: 1
path: app/Models/Report.php
-
message: '#^Called ''env'' outside of the config directory which returns null when the config is cached, use ''config''\.$#'
identifier: larastan.noEnvCallsOutsideOfConfig
count: 1
path: app/Models/Setting.php
-
message: '#^Called ''env'' outside of the config directory which returns null when the config is cached, use ''config''\.$#'
identifier: larastan.noEnvCallsOutsideOfConfig
count: 2
path: app/Models/User.php
-
message: '#^Anonymous function has an unused use \$originalUserid\.$#'
identifier: closure.unusedUse
count: 1
path: app/Models/UserDepartment.php
-
message: '#^Anonymous function has an unused use \$token\.$#'
identifier: closure.unusedUse
count: 1
path: app/Models/UserDevice.php
-
message: '#^Deprecated in PHP 8\.4\: Parameter \#1 \$token \(App\\Models\\UserDevice\|string\|int\) is implicitly nullable via default value null\.$#'
identifier: parameter.implicitlyNullable
count: 1
path: app/Models/UserDevice.php
-
message: '#^Deprecated in PHP 8\.4\: Parameter \#1 \$token \(string\) is implicitly nullable via default value null\.$#'
identifier: parameter.implicitlyNullable
count: 1
path: app/Models/UserDevice.php
-
message: '#^Variable \$emailVerify in empty\(\) always exists and is not falsy\.$#'
identifier: empty.variable
count: 1
path: app/Models/UserEmailVerification.php
-
message: '#^Relation ''task'' is not found in App\\Models\\UserTaskBrowse model\.$#'
identifier: larastan.relationExistence
count: 1
path: app/Models/UserTaskBrowse.php
-
message: '#^Anonymous function has an unused use \$reserves\.$#'
identifier: closure.unusedUse
count: 2
path: app/Models/WebSocketDialogMsg.php
-
message: '#^Variable \$embedding in empty\(\) always exists and is not falsy\.$#'
identifier: empty.variable
count: 1
path: app/Module/AI.php
-
message: '#^Variable \$headers on left side of \?\? always exists and is not nullable\.$#'
identifier: nullCoalesce.variable
count: 1
path: app/Module/AI.php
-
message: '#^Variable \$post on left side of \?\? always exists and is not nullable\.$#'
identifier: nullCoalesce.variable
count: 1
path: app/Module/AI.php
-
message: '#^Call to static method parseFile\(\) on an unknown class Symfony\\Component\\Yaml\\Yaml\.$#'
identifier: class.notFound
count: 1
path: app/Module/Apps.php
-
message: '#^Called ''env'' outside of the config directory which returns null when the config is cached, use ''config''\.$#'
identifier: larastan.noEnvCallsOutsideOfConfig
count: 1
path: app/Module/Apps.php
-
message: '#^Variable \$deptIds in empty\(\) always exists and is not falsy\.$#'
identifier: empty.variable
count: 1
path: app/Module/Apps.php
-
message: '#^Variable \$file on left side of \?\? always exists and is not nullable\.$#'
identifier: nullCoalesce.variable
count: 1
path: app/Module/Base.php
-
message: '#^Variable \$url in empty\(\) always exists and is always falsy\.$#'
identifier: empty.variable
count: 1
path: app/Module/Base.php
-
message: '#^Called ''env'' outside of the config directory which returns null when the config is cached, use ''config''\.$#'
identifier: larastan.noEnvCallsOutsideOfConfig
count: 1
path: app/Module/Doo.php
-
message: '#^Static method Redis\:\:eval\(\) invoked with 4 parameters, 1\-3 required\.$#'
identifier: arguments.count
count: 1
path: app/Module/Lock.php
-
message: '#^Static method Redis\:\:set\(\) invoked with 5 parameters, 2\-3 required\.$#'
identifier: arguments.count
count: 2
path: app/Module/Lock.php
-
message: '#^Called ''env'' outside of the config directory which returns null when the config is cached, use ''config''\.$#'
identifier: larastan.noEnvCallsOutsideOfConfig
count: 2
path: app/Module/Manticore/ManticoreBase.php
-
message: '#^Variable \$idsToUpdate in empty\(\) always exists and is not falsy\.$#'
identifier: empty.variable
count: 1
path: app/Module/Manticore/ManticoreBase.php
-
message: '#^Variable \$h might not be defined\.$#'
identifier: variable.undefined
count: 2
path: app/Module/RandomColor.php
-
message: '#^Variable \$s might not be defined\.$#'
identifier: variable.undefined
count: 2
path: app/Module/RandomColor.php
-
message: '#^Variable \$v might not be defined\.$#'
identifier: variable.undefined
count: 2
path: app/Module/RandomColor.php
-
message: '#^Unsafe usage of new static\(\)\.$#'
identifier: new.static
count: 1
path: app/Module/Table/AbstractData.php
-
message: '#^Variable \$strArr in empty\(\) always exists and is not falsy\.$#'
identifier: empty.variable
count: 1
path: app/Module/Timer.php
-
message: '#^Called ''env'' outside of the config directory which returns null when the config is cached, use ''config''\.$#'
identifier: larastan.noEnvCallsOutsideOfConfig
count: 2
path: app/Tasks/DeleteTmpTask.php