-
-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathphpstan-baseline.neon
More file actions
286 lines (230 loc) · 8.15 KB
/
phpstan-baseline.neon
File metadata and controls
286 lines (230 loc) · 8.15 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
parameters:
ignoreErrors:
-
message: "#^Method Joomla\\\\Filesystem\\\\Clients\\\\FtpClient\\:\\:listDetails\\(\\) should return array\\<string\\> but returns array\\<int\\<0, max\\>, array\\<string, int\\|string\\>\\>\\.$#"
count: 1
path: src/Clients/FtpClient.php
-
message: "#^Method Joomla\\\\Filesystem\\\\Clients\\\\FtpClient\\:\\:listDetails\\(\\) should return array\\<string\\> but returns string\\|null\\.$#"
count: 1
path: src/Clients/FtpClient.php
-
message: "#^Method Joomla\\\\Filesystem\\\\Clients\\\\FtpClient\\:\\:listNames\\(\\) should return string but returns array\\.$#"
count: 2
path: src/Clients/FtpClient.php
-
message: "#^Method Joomla\\\\Filesystem\\\\Clients\\\\FtpClient\\:\\:listNames\\(\\) should return string but returns array\\<int, string\\>\\.$#"
count: 1
path: src/Clients/FtpClient.php
-
message: "#^Negated boolean expression is always false\\.$#"
count: 1
path: src/Clients/FtpClient.php
-
message: "#^Parameter \\#1 \\$stream of function fclose expects resource, FTP\\\\Connection given\\.$#"
count: 1
path: src/Clients/FtpClient.php
-
message: "#^Parameter \\#1 \\$stream of function fgets expects resource, FTP\\\\Connection given\\.$#"
count: 1
path: src/Clients/FtpClient.php
-
message: "#^Parameter \\#1 \\$stream of function fwrite expects resource, FTP\\\\Connection given\\.$#"
count: 1
path: src/Clients/FtpClient.php
-
message: "#^Parameter \\#2 \\$port of method Joomla\\\\Filesystem\\\\Clients\\\\FtpClient\\:\\:connect\\(\\) expects int, string given\\.$#"
count: 1
path: src/Clients/FtpClient.php
-
message: "#^Property Joomla\\\\Filesystem\\\\Clients\\\\FtpClient\\:\\:\\$conn \\(FTP\\\\Connection\\) does not accept resource\\|false\\.$#"
count: 1
path: src/Clients/FtpClient.php
-
message: "#^Property Joomla\\\\Filesystem\\\\Clients\\\\FtpClient\\:\\:\\$responseCode \\(int\\) does not accept string\\.$#"
count: 2
path: src/Clients/FtpClient.php
-
message: "#^Ternary operator condition is always false\\.$#"
count: 1
path: src/Clients/FtpClient.php
-
message: "#^Unsafe usage of new static\\(\\)\\.$#"
count: 1
path: src/Clients/FtpClient.php
-
message: "#^Call to an undefined method Joomla\\\\Filesystem\\\\Stream\\:\\:getError\\(\\)\\.$#"
count: 3
path: src/File.php
-
message: "#^Method Joomla\\\\Filesystem\\\\File\\:\\:move\\(\\) should return bool but returns string\\.$#"
count: 1
path: src/File.php
-
message: "#^Parameter \\#1 \\$seconds of function set_time_limit expects int, string given\\.$#"
count: 1
path: src/File.php
-
message: "#^Static property Joomla\\\\Filesystem\\\\File\\:\\:\\$canFlushFileCache \\(bool\\) in isset\\(\\) is not nullable\\.$#"
count: 1
path: src/File.php
-
message: "#^Constant JPATH_ROOT not found\\.$#"
count: 1
path: src/Folder.php
-
message: "#^Parameter \\#1 \\$seconds of function set_time_limit expects int, string given\\.$#"
count: 3
path: src/Folder.php
-
message: "#^Parameter \\#3 \\$path of static method Joomla\\\\Filesystem\\\\Folder\\:\\:copy\\(\\) expects string, null given\\.$#"
count: 1
path: src/Folder.php
-
message: "#^Binary operation \"\\*\" between string\\|null and int\\<1, max\\> results in an error\\.$#"
count: 1
path: src/Helper.php
-
message: "#^Method Joomla\\\\Filesystem\\\\Helper\\:\\:getFileUploadMaxSize\\(\\) should return int but returns float\\.$#"
count: 1
path: src/Helper.php
-
message: "#^Method Joomla\\\\Filesystem\\\\Helper\\:\\:getFileUploadMaxSizeWithUnit\\(\\) should return int but returns string\\.$#"
count: 1
path: src/Helper.php
-
message: "#^Parameter \\#1 \\$num of function round expects float\\|int, string\\|null given\\.$#"
count: 1
path: src/Helper.php
-
message: "#^Parameter \\#2 \\$associative of function get_headers expects bool, int given\\.$#"
count: 1
path: src/Helper.php
-
message: "#^Strict comparison using \\=\\=\\= between float and 0 will always evaluate to false\\.$#"
count: 1
path: src/Helper.php
-
message: "#^Static property Joomla\\\\Filesystem\\\\Patcher\\:\\:\\$instance \\(Joomla\\\\Filesystem\\\\Patcher\\) in isset\\(\\) is not nullable\\.$#"
count: 1
path: src/Patcher.php
-
message: "#^Unsafe usage of new static\\(\\)\\.$#"
count: 1
path: src/Patcher.php
-
message: "#^Variable \\$m might not be defined\\.$#"
count: 1
path: src/Patcher.php
-
message: "#^Variable \\$root in isset\\(\\) always exists and is not nullable\\.$#"
count: 1
path: src/Patcher.php
-
message: "#^Variable \\$srcLines in isset\\(\\) always exists and is not nullable\\.$#"
count: 1
path: src/Patcher.php
-
message: "#^Variable \\$srcLines might not be defined\\.$#"
count: 1
path: src/Patcher.php
-
message: "#^Binary operation \"&\" between non\\-empty\\-string and 1 results in an error\\.$#"
count: 1
path: src/Path.php
-
message: "#^Binary operation \"&\" between non\\-empty\\-string and 2 results in an error\\.$#"
count: 1
path: src/Path.php
-
message: "#^Binary operation \"&\" between non\\-empty\\-string and 4 results in an error\\.$#"
count: 1
path: src/Path.php
-
message: "#^Constant JPATH_ROOT not found\\.$#"
count: 1
path: src/Path.php
-
message: "#^Variable \\$filemode in isset\\(\\) always exists and is not nullable\\.$#"
count: 2
path: src/Path.php
-
message: "#^Variable \\$foldermode in isset\\(\\) always exists and is not nullable\\.$#"
count: 1
path: src/Path.php
-
message: "#^Constant JPATH_ROOT not found\\.$#"
count: 4
path: src/Stream.php
-
message: "#^If condition is always true\\.$#"
count: 4
path: src/Stream.php
-
message: "#^Invalid array key type resource\\.$#"
count: 1
path: src/Stream.php
-
message: "#^Method Joomla\\\\Filesystem\\\\Stream\\:\\:getFileHandle\\(\\) should return Joomla\\\\Filesystem\\\\File but returns resource\\.$#"
count: 1
path: src/Stream.php
-
message: "#^Negated boolean expression is always false\\.$#"
count: 8
path: src/Stream.php
-
message: "#^Negated boolean expression is always true\\.$#"
count: 1
path: src/Stream.php
-
message: "#^Parameter \\#2 \\$context of function unlink expects resource\\|null, string given\\.$#"
count: 1
path: src/Stream.php
-
message: "#^Parameter \\#3 \\$context of function copy expects resource\\|null, string given\\.$#"
count: 1
path: src/Stream.php
-
message: "#^Parameter \\#3 \\$context of function rename expects resource\\|null, string given\\.$#"
count: 1
path: src/Stream.php
-
message: "#^Parameter \\#3 \\$use_include_path of function gzopen expects int, bool given\\.$#"
count: 1
path: src/Stream.php
-
message: "#^Parameter \\#4 \\$context of function fopen expects resource\\|null, string given\\.$#"
count: 1
path: src/Stream.php
-
message: "#^Property Joomla\\\\Filesystem\\\\Stream\\:\\:\\$context \\(string\\) does not accept null\\.$#"
count: 1
path: src/Stream.php
-
message: "#^Property Joomla\\\\Filesystem\\\\Stream\\:\\:\\$context \\(string\\) does not accept resource\\.$#"
count: 1
path: src/Stream.php
-
message: "#^Property Joomla\\\\Filesystem\\\\Stream\\:\\:\\$fh \\(resource\\) does not accept null\\.$#"
count: 1
path: src/Stream.php
-
message: "#^Property Joomla\\\\Filesystem\\\\Stream\\:\\:\\$filename \\(string\\) in isset\\(\\) is not nullable\\.$#"
count: 1
path: src/Stream.php
-
message: "#^Unsafe usage of new static\\(\\)\\.$#"
count: 2
path: src/Stream.php
-
message: "#^Binary operation \"\\-\" between string and int results in an error\\.$#"
count: 1
path: src/Stream/StringWrapper.php
-
message: "#^Property Joomla\\\\Filesystem\\\\Stream\\\\StringWrapper\\:\\:\\$len \\(string\\) does not accept int\\<0, max\\>\\.$#"
count: 1
path: src/Stream/StringWrapper.php
-
message: "#^Property Joomla\\\\Filesystem\\\\Stream\\\\StringWrapper\\:\\:\\$pos \\(int\\) on left side of \\?\\? is not nullable\\.$#"
count: 1
path: src/Stream/StringWrapper.php