-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan-baseline.neon
More file actions
265 lines (222 loc) · 8.23 KB
/
phpstan-baseline.neon
File metadata and controls
265 lines (222 loc) · 8.23 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
parameters:
ignoreErrors:
-
message: '#^Call to protected method renderStatically\(\) of class Laravel\\Prompts\\Spinner\.$#'
identifier: method.protected
count: 1
path: app/Commands/BaseCommand.php
-
message: '#^Command "cache\:forget" does not have option "debug"\.$#'
identifier: larastan.console.undefinedOption
count: 1
path: app/Commands/BaseCommand.php
-
message: '#^Command "cache\:get" does not have option "debug"\.$#'
identifier: larastan.console.undefinedOption
count: 1
path: app/Commands/BaseCommand.php
-
message: '#^Command "cache\:has" does not have option "debug"\.$#'
identifier: larastan.console.undefinedOption
count: 1
path: app/Commands/BaseCommand.php
-
message: '#^Command "cache\:put" does not have option "debug"\.$#'
identifier: larastan.console.undefinedOption
count: 1
path: app/Commands/BaseCommand.php
-
message: '#^Command "dusk\:visit" does not have option "debug"\.$#'
identifier: larastan.console.undefinedOption
count: 1
path: app/Commands/BaseCommand.php
-
message: '#^Command "encryption\:decrypt" does not have option "debug"\.$#'
identifier: larastan.console.undefinedOption
count: 1
path: app/Commands/BaseCommand.php
-
message: '#^Command "encryption\:encrypt" does not have option "debug"\.$#'
identifier: larastan.console.undefinedOption
count: 1
path: app/Commands/BaseCommand.php
-
message: '#^Command "encryption\:key" does not have option "debug"\.$#'
identifier: larastan.console.undefinedOption
count: 1
path: app/Commands/BaseCommand.php
-
message: '#^Command "validation\:make" does not have option "debug"\.$#'
identifier: larastan.console.undefinedOption
count: 1
path: app/Commands/BaseCommand.php
-
message: '#^Command "view\:clear\-compiled" does not have option "debug"\.$#'
identifier: larastan.console.undefinedOption
count: 1
path: app/Commands/BaseCommand.php
-
message: '#^Command "view\:make" does not have option "debug"\.$#'
identifier: larastan.console.undefinedOption
count: 1
path: app/Commands/BaseCommand.php
-
message: '#^Method Laravel\\Prompts\\Spinner\:\:spin\(\) invoked with 2 parameters, 1 required\.$#'
identifier: arguments.count
count: 1
path: app/Commands/BaseCommand.php
-
message: '#^Dead catch \- InvalidArgumentException is never thrown in the try block\.$#'
identifier: catch.neverThrown
count: 1
path: app/Commands/Cache/BaseCommand.php
-
message: '#^Method App\\Commands\\Dusk\\InstallChromeDriverCommand\:\:handle\(\) should return int but returns null\.$#'
identifier: return.type
count: 1
path: app/Commands/Dusk/InstallChromeDriverCommand.php
-
message: '#^Result of method Laravel\\Dusk\\Console\\ChromeDriverCommand\:\:handle\(\) \(void\) is used\.$#'
identifier: staticMethod.void
count: 1
path: app/Commands/Dusk/InstallChromeDriverCommand.php
-
message: '#^Access to an undefined property Spatie\\Invade\\Invader\<object\>\|Spatie\\Invade\\StaticInvader\:\:\$browser\.$#'
identifier: property.notFound
count: 1
path: app/Commands/Dusk/VisitCommand.php
-
message: '#^Call to an undefined method App\\Commands\\Dusk\\VisitCommand\:\:callMethod\(\)\.$#'
identifier: method.notFound
count: 2
path: app/Commands/Dusk/VisitCommand.php
-
message: '#^Call to an undefined method App\\Commands\\Dusk\\VisitCommand\:\:parseActionArguments\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Commands/Dusk/VisitCommand.php
-
message: '#^Call to an undefined method App\\Commands\\Dusk\\VisitCommand\:\:parseStringMethodArguments\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Commands/Dusk/VisitCommand.php
-
message: '#^Dead catch \- ReflectionException is never thrown in the try block\.$#'
identifier: catch.neverThrown
count: 1
path: app/Commands/Dusk/VisitCommand.php
-
message: '#^PHPDoc tag @param references unknown parameter\: \$path$#'
identifier: parameter.notFound
count: 1
path: app/Commands/Dusk/VisitCommand.php
-
message: '#^If condition is always true\.$#'
identifier: if.alwaysTrue
count: 1
path: app/Commands/Encryption/BaseCommand.php
-
message: '#^Dead catch \- ReflectionException is never thrown in the try block\.$#'
identifier: catch.neverThrown
count: 1
path: app/Commands/Support/CollectionCommand.php
-
message: '#^Dead catch \- ReflectionException is never thrown in the try block\.$#'
identifier: catch.neverThrown
count: 1
path: app/Commands/Support/NumberCommand.php
-
message: '#^Dead catch \- ReflectionException is never thrown in the try block\.$#'
identifier: catch.neverThrown
count: 1
path: app/Commands/Support/StrCommand.php
-
message: '#^Dead catch \- ReflectionException is never thrown in the try block\.$#'
identifier: catch.neverThrown
count: 1
path: app/Commands/Support/StringableCommand.php
-
message: '#^Instanceof between Illuminate\\Support\\Collection and Illuminate\\Support\\Collection will always evaluate to true\.$#'
identifier: instanceof.alwaysTrue
count: 1
path: app/Commands/Support/StringableCommand.php
-
message: '#^Dead catch \- ReflectionException is never thrown in the try block\.$#'
identifier: catch.neverThrown
count: 1
path: app/Commands/Validation/MakeCommand.php
-
message: '#^Unreachable statement \- code above always terminates\.$#'
identifier: deadCode.unreachable
count: 1
path: app/Commands/Validation/MakeCommand.php
-
message: '#^Variable \$input might not be defined\.$#'
identifier: variable.undefined
count: 1
path: app/Commands/Validation/MakeCommand.php
-
message: '#^Variable \$rules might not be defined\.$#'
identifier: variable.undefined
count: 1
path: app/Commands/Validation/MakeCommand.php
-
message: '#^Call to an undefined method Illuminate\\Contracts\\View\\View\:\:getEngine\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Commands/View/MakeCommand.php
-
message: '#^Method App\\Commands\\View\\MakeCommand\:\:gatherVariables\(\) invoked with 1 parameter, 0 required\.$#'
identifier: arguments.count
count: 1
path: app/Commands/View/MakeCommand.php
-
message: '#^Method Illuminate\\Console\\Command\:\:option\(\) invoked with 2 parameters, 0\-1 required\.$#'
identifier: arguments.count
count: 3
path: app/Commands/View/MakeCommand.php
-
message: '#^Parameter \#1 \$error of method App\\Commands\\View\\MakeCommand\:\:formatJsonParseError\(\) expects string, int given\.$#'
identifier: argument.type
count: 1
path: app/Commands/View/MakeCommand.php
-
message: '#^Parameter \#2 \$associative of function json_decode expects bool\|null, int given\.$#'
identifier: argument.type
count: 1
path: app/Commands/View/MakeCommand.php
-
message: '#^Unreachable statement \- code above always terminates\.$#'
identifier: deadCode.unreachable
count: 1
path: app/Extensions/View/BladeCompiler.php
-
message: '#^Method App\\Extensions\\View\\FileViewFinder\:\:findInPaths\(\) with return type void returns string but should not return anything\.$#'
identifier: return.void
count: 2
path: app/Extensions/View/FileViewFinder.php
-
message: '#^Return type \(void\) of method App\\Extensions\\View\\FileViewFinder\:\:findInPaths\(\) should be compatible with return type \(string\) of method Illuminate\\View\\FileViewFinder\:\:findInPaths\(\)$#'
identifier: method.childReturnType
count: 1
path: app/Extensions/View/FileViewFinder.php
-
message: '#^PHPDoc tag @param has invalid value \(string\)\: Unexpected token "\\n ", expected variable at offset 81 on line 4$#'
identifier: phpDoc.parseError
count: 1
path: app/Rules/Validation/IsFileRule.php
-
message: '#^Class Pest\\Laravel\\Commands\\PestDatasetCommand not found\.$#'
identifier: class.notFound
count: 1
path: config/commands.php
-
message: '#^Class Pest\\Laravel\\Commands\\PestInstallCommand not found\.$#'
identifier: class.notFound
count: 1
path: config/commands.php
-
message: '#^Class Pest\\Laravel\\Commands\\PestTestCommand not found\.$#'
identifier: class.notFound
count: 1
path: config/commands.php