-
Notifications
You must be signed in to change notification settings - Fork 355
/
phpstan-baseline.neon
257 lines (206 loc) · 9.26 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
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
parameters:
ignoreErrors:
-
message: "#^Call to function is_resource\\(\\) with string will always evaluate to false\\.$#"
count: 2
path: src/Gaufrette/Adapter/AwsS3.php
-
message: "#^Method Gaufrette\\\\Adapter\\\\AwsS3\\:\\:write\\(\\) should return bool\\|int but returns string\\.$#"
count: 1
path: src/Gaufrette/Adapter/AwsS3.php
-
message: "#^Method Gaufrette\\\\Adapter\\\\AwsS3\\:\\:size\\(\\) should return int but returns false\\.$#"
count: 1
path: src/Gaufrette/Adapter/AwsS3.php
-
message: "#^Method Gaufrette\\\\Adapter\\\\AwsS3\\:\\:mimeType\\(\\) should return string but returns false\\.$#"
count: 1
path: src/Gaufrette/Adapter/AwsS3.php
-
message: "#^Parameter \\$options of method Gaufrette\\\\Adapter\\\\AzureBlobStorage\\:\\:deleteContainer\\(\\) has invalid typehint type MicrosoftAzure\\\\Storage\\\\Blob\\\\Models\\\\DeleteContainerOptions\\.$#"
count: 2
path: src/Gaufrette/Adapter/AzureBlobStorage.php
-
message: "#^Parameter \\#2 \\$options of method MicrosoftAzure\\\\Storage\\\\Blob\\\\Internal\\\\IBlob\\:\\:deleteContainer\\(\\) expects MicrosoftAzure\\\\Storage\\\\Blob\\\\Models\\\\BlobServiceOptions\\|null, MicrosoftAzure\\\\Storage\\\\Blob\\\\Models\\\\DeleteContainerOptions\\|null given\\.$#"
count: 1
path: src/Gaufrette/Adapter/AzureBlobStorage.php
-
message: "#^Parameter \\#4 \\$options of method MicrosoftAzure\\\\Storage\\\\Blob\\\\Internal\\\\IBlob\\:\\:createBlockBlob\\(\\) expects MicrosoftAzure\\\\Storage\\\\Blob\\\\Models\\\\CreateBlockBlobOptions\\|null, MicrosoftAzure\\\\Storage\\\\Blob\\\\Models\\\\CreateBlobOptions given\\.$#"
count: 1
path: src/Gaufrette/Adapter/AzureBlobStorage.php
-
message: "#^Call to function is_resource\\(\\) with string will always evaluate to false\\.$#"
count: 1
path: src/Gaufrette/Adapter/AzureBlobStorage.php
-
message: "#^Method Gaufrette\\\\Adapter\\\\AzureBlobStorage\\:\\:write\\(\\) should return bool\\|int but returns string\\.$#"
count: 1
path: src/Gaufrette/Adapter/AzureBlobStorage.php
-
message: "#^Parameter \\#2 \\$prefix of method Gaufrette\\\\Adapter\\\\AzureBlobStorage\\:\\:fetchBlobs\\(\\) expects null, string given\\.$#"
count: 1
path: src/Gaufrette/Adapter/AzureBlobStorage.php
-
message: "#^Method Gaufrette\\\\Adapter\\\\AzureBlobStorage\\:\\:size\\(\\) should return int but returns false\\.$#"
count: 1
path: src/Gaufrette/Adapter/AzureBlobStorage.php
-
message: "#^Method Gaufrette\\\\Adapter\\\\AzureBlobStorage\\:\\:mimeType\\(\\) should return string but returns false\\.$#"
count: 1
path: src/Gaufrette/Adapter/AzureBlobStorage.php
-
message: "#^Method Gaufrette\\\\Adapter\\\\AzureBlobStorage\\:\\:checksum\\(\\) should return string but returns false\\.$#"
count: 1
path: src/Gaufrette/Adapter/AzureBlobStorage.php
-
message: "#^Cannot call method getBody\\(\\) on string\\.$#"
count: 1
path: src/Gaufrette/Adapter/AzureBlobStorage.php
-
message: "#^Strict comparison using \\!\\=\\= between null and null will always evaluate to false\\.$#"
count: 1
path: src/Gaufrette/Adapter/AzureBlobStorage.php
-
message: "#^Property Gaufrette\\\\Adapter\\\\Flysystem\\:\\:\\$config has unknown class Gaufrette\\\\Adapter\\\\Config as its type\\.$#"
count: 1
path: src/Gaufrette/Adapter/Flysystem.php
-
message: "#^Parameter \\$config of method Gaufrette\\\\Adapter\\\\Flysystem\\:\\:__construct\\(\\) has invalid typehint type Gaufrette\\\\Adapter\\\\Config\\.$#"
count: 1
path: src/Gaufrette/Adapter/Flysystem.php
-
message: "#^Property Gaufrette\\\\Adapter\\\\Flysystem\\:\\:\\$config \\(Gaufrette\\\\Adapter\\\\Config\\) does not accept League\\\\Flysystem\\\\Config\\.$#"
count: 1
path: src/Gaufrette/Adapter/Flysystem.php
-
message: "#^Parameter \\#3 \\$config of method League\\\\Flysystem\\\\AdapterInterface\\:\\:write\\(\\) expects League\\\\Flysystem\\\\Config, Gaufrette\\\\Adapter\\\\Config given\\.$#"
count: 1
path: src/Gaufrette/Adapter/Flysystem.php
-
message: "#^PHPDoc tag @throws with type Gaufrette\\\\Adapter\\\\RuntimeException is not subtype of Throwable$#"
count: 3
path: src/Gaufrette/Adapter/Ftp.php
-
message: "#^Call to function is_resource\\(\\) with string will always evaluate to false\\.$#"
count: 1
path: src/Gaufrette/Adapter/GoogleCloudStorage.php
-
message: "#^Property Gaufrette\\\\Adapter\\\\GridFS\\:\\:\\$bucket has unknown class MongoDB\\\\GridFS\\\\Bucket as its type\\.$#"
count: 1
path: src/Gaufrette/Adapter/GridFS.php
-
message: "#^Parameter \\$bucket of method Gaufrette\\\\Adapter\\\\GridFS\\:\\:__construct\\(\\) has invalid typehint type MongoDB\\\\GridFS\\\\Bucket\\.$#"
count: 2
path: src/Gaufrette/Adapter/GridFS.php
-
message: "#^Call to method openDownloadStreamByName\\(\\) on an unknown class MongoDB\\\\GridFS\\\\Bucket\\.$#"
count: 1
path: src/Gaufrette/Adapter/GridFS.php
-
message: "#^Caught class MongoDB\\\\GridFS\\\\Exception\\\\FileNotFoundException not found\\.$#"
count: 2
path: src/Gaufrette/Adapter/GridFS.php
-
message: "#^Call to method openUploadStream\\(\\) on an unknown class MongoDB\\\\GridFS\\\\Bucket\\.$#"
count: 2
path: src/Gaufrette/Adapter/GridFS.php
-
message: "#^Unreachable statement \\- code above always terminates\\.$#"
count: 1
path: src/Gaufrette/Adapter/GridFS.php
-
message: "#^Call to method downloadToStreamByName\\(\\) on an unknown class MongoDB\\\\GridFS\\\\Bucket\\.$#"
count: 1
path: src/Gaufrette/Adapter/GridFS.php
-
message: "#^Call to method findOne\\(\\) on an unknown class MongoDB\\\\GridFS\\\\Bucket\\.$#"
count: 6
path: src/Gaufrette/Adapter/GridFS.php
-
message: "#^Call to method find\\(\\) on an unknown class MongoDB\\\\GridFS\\\\Bucket\\.$#"
count: 2
path: src/Gaufrette/Adapter/GridFS.php
-
message: "#^Call to method delete\\(\\) on an unknown class MongoDB\\\\GridFS\\\\Bucket\\.$#"
count: 1
path: src/Gaufrette/Adapter/GridFS.php
-
message: "#^Method Gaufrette\\\\Adapter\\\\GridFS\\:\\:size\\(\\) should return int but returns false\\.$#"
count: 2
path: src/Gaufrette/Adapter/GridFS.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\$path\\)\\: Unexpected token \"\\$path\", expected type at offset 74$#"
count: 1
path: src/Gaufrette/Adapter/Local.php
-
message: "#^PHPDoc tag @param has invalid value \\(string The directory's path to delete\\)\\: Unexpected token \"The\", expected variable at offset 25$#"
count: 1
path: src/Gaufrette/Adapter/Local.php
-
message: "#^If condition is always true\\.$#"
count: 1
path: src/Gaufrette/Adapter/OpenCloud.php
-
message: "#^Unreachable statement \\- code above always terminates\\.$#"
count: 2
path: src/Gaufrette/Adapter/OpenCloud.php
-
message: "#^Call to an undefined method OpenCloud\\\\Common\\\\Base\\:\\:getName\\(\\)\\.$#"
count: 1
path: src/Gaufrette/Adapter/OpenCloud.php
-
message: "#^Method Gaufrette\\\\Adapter\\\\OpenCloud\\:\\:mtime\\(\\) should return bool\\|int but returns string\\.$#"
count: 1
path: src/Gaufrette/Adapter/OpenCloud.php
-
message: "#^Method Gaufrette\\\\Adapter\\\\OpenCloud\\:\\:checksum\\(\\) should return string but returns false\\.$#"
count: 1
path: src/Gaufrette/Adapter/OpenCloud.php
-
message: "#^Constant NET_SFTP_TYPE_DIRECTORY not found\\.$#"
count: 1
path: src/Gaufrette/Adapter/PhpseclibSftp.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\$key\\)\\: Unexpected token \"\\$key\", expected type at offset 161$#"
count: 1
path: src/Gaufrette/Adapter/Zip.php
-
message: "#^If condition is always true\\.$#"
count: 1
path: src/Gaufrette/Adapter/Zip.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\$key\\)\\: Unexpected token \"\\$key\", expected type at offset 82$#"
count: 1
path: src/Gaufrette/FilesystemInterface.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\$key\\)\\: Unexpected token \"\\$key\", expected type at offset 68$#"
count: 1
path: src/Gaufrette/FilesystemInterface.php
-
message: "#^Method Gaufrette\\\\Stream\\\\InMemoryBuffer\\:\\:stat\\(\\) should return array but returns false\\.$#"
count: 1
path: src/Gaufrette/Stream/InMemoryBuffer.php
-
message: "#^Method Gaufrette\\\\Stream\\\\Local\\:\\:read\\(\\) should return string but returns false\\.$#"
count: 1
path: src/Gaufrette/Stream/Local.php
-
message: "#^Method Gaufrette\\\\Stream\\\\Local\\:\\:write\\(\\) should return int but returns false\\.$#"
count: 1
path: src/Gaufrette/Stream/Local.php
-
message: "#^Method Gaufrette\\\\Stream\\\\Local\\:\\:tell\\(\\) should return int but returns false\\.$#"
count: 1
path: src/Gaufrette/Stream/Local.php
-
message: "#^Method Gaufrette\\\\Stream\\\\Local\\:\\:stat\\(\\) should return array but returns false\\.$#"
count: 1
path: src/Gaufrette/Stream/Local.php
-
message: "#^Parameter \\#2 \\$callback of function array_filter expects callable\\(mixed, mixed\\)\\: bool, 'strlen' given\\.$#"
count: 1
path: src/Gaufrette/Util/Path.php
-
message: "#^Method Gaufrette\\\\Util\\\\Size\\:\\:fromResource\\(\\) should return string but returns int\\.$#"
count: 1
path: src/Gaufrette/Util/Size.php