-
Notifications
You must be signed in to change notification settings - Fork 2
/
phpstan-baseline.neon
267 lines (214 loc) · 10.6 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
257
258
259
260
261
262
263
264
265
266
parameters:
ignoreErrors:
-
message: "#^Parameter \\#2 \\$repository of method BabDev\\\\GitHub\\\\ApiConnector\\:\\:addRepositoryLabel\\(\\) expects string, mixed given\\.$#"
count: 1
path: app/Console/Commands/AddHacktoberfestExtras.php
-
message: "#^Parameter \\#2 \\$repository of method BabDev\\\\GitHub\\\\ApiConnector\\:\\:fetchRepositoryLabels\\(\\) expects string, mixed given\\.$#"
count: 1
path: app/Console/Commands/AddHacktoberfestExtras.php
-
message: "#^Parameter \\#2 \\$repository of method BabDev\\\\GitHub\\\\ApiConnector\\:\\:fetchRepositoryTopics\\(\\) expects string, mixed given\\.$#"
count: 1
path: app/Console/Commands/AddHacktoberfestExtras.php
-
message: "#^Parameter \\#2 \\$repository of method BabDev\\\\GitHub\\\\ApiConnector\\:\\:replaceRepositoryTopics\\(\\) expects string, mixed given\\.$#"
count: 1
path: app/Console/Commands/AddHacktoberfestExtras.php
-
message: "#^Parameter \\#3 \\$topics of method BabDev\\\\GitHub\\\\ApiConnector\\:\\:replaceRepositoryTopics\\(\\) expects array\\<int, string\\>, array given\\.$#"
count: 1
path: app/Console/Commands/AddHacktoberfestExtras.php
-
message: "#^Part \\$repositoryAttributes\\['name'\\] \\(mixed\\) of encapsed string cannot be cast to string\\.$#"
count: 4
path: app/Console/Commands/AddHacktoberfestExtras.php
-
message: "#^Parameter \\#1 \\$urlToBeCrawled of static method Spatie\\\\Sitemap\\\\SitemapGenerator\\:\\:create\\(\\) expects string, mixed given\\.$#"
count: 1
path: app/Console/Commands/GenerateSitemap.php
-
message: "#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\\.$#"
count: 1
path: app/Console/Commands/ImportGitHubSponsors.php
-
message: "#^PHPDoc tag @var for variable \\$sponsorEdge has no value type specified in iterable type array\\.$#"
count: 1
path: app/Console/Commands/ImportGitHubSponsors.php
-
message: "#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\\.$#"
count: 1
path: app/Console/Commands/ImportGitHubSponsorshipTiers.php
-
message: "#^PHPDoc tag @var for variable \\$tierEdge has no value type specified in iterable type array\\.$#"
count: 1
path: app/Console/Commands/ImportGitHubSponsorshipTiers.php
-
message: "#^Parameter \\#1 \\$array of static method Illuminate\\\\Support\\\\Arr\\:\\:get\\(\\) expects array\\|ArrayAccess, array\\|null given\\.$#"
count: 1
path: app/Console/Commands/ImportPackagistDownloads.php
-
message: "#^Parameter \\#2 \\$string of function explode expects string, string\\|null given\\.$#"
count: 1
path: app/Console/Commands/ImportPackagistDownloads.php
-
message: "#^Parameter \\#2 \\$repository of method BabDev\\\\GitHub\\\\ApiConnector\\:\\:fetchRepositoryTopics\\(\\) expects string, mixed given\\.$#"
count: 1
path: app/Console/Commands/RemoveHacktoberfestExtras.php
-
message: "#^Parameter \\#2 \\$repository of method BabDev\\\\GitHub\\\\ApiConnector\\:\\:replaceRepositoryTopics\\(\\) expects string, mixed given\\.$#"
count: 1
path: app/Console/Commands/RemoveHacktoberfestExtras.php
-
message: "#^Parameter \\#3 \\$topics of method BabDev\\\\GitHub\\\\ApiConnector\\:\\:replaceRepositoryTopics\\(\\) expects array\\<int, string\\>, array given\\.$#"
count: 1
path: app/Console/Commands/RemoveHacktoberfestExtras.php
-
message: "#^Part \\$repositoryAttributes\\['name'\\] \\(mixed\\) of encapsed string cannot be cast to string\\.$#"
count: 2
path: app/Console/Commands/RemoveHacktoberfestExtras.php
-
message: "#^Access to an undefined property Illuminate\\\\Database\\\\Eloquent\\\\Model\\:\\:\\$email\\.$#"
count: 1
path: app/Filament/Resources/UserResource.php
-
message: "#^Parameter \\#1 \\$username of method Github\\\\Api\\\\Issue\\\\Comments\\:\\:create\\(\\) expects string, mixed given\\.$#"
count: 1
path: app/GitHub/Actions/ClosePagerfantaReadOnlyRepoPullRequest.php
-
message: "#^Parameter \\#2 \\$repository of method Github\\\\Api\\\\Issue\\\\Comments\\:\\:create\\(\\) expects string, mixed given\\.$#"
count: 1
path: app/GitHub/Actions/ClosePagerfantaReadOnlyRepoPullRequest.php
-
message: "#^Parameter \\#3 \\$issue of method Github\\\\Api\\\\Issue\\\\Comments\\:\\:create\\(\\) expects int, mixed given\\.$#"
count: 1
path: app/GitHub/Actions/ClosePagerfantaReadOnlyRepoPullRequest.php
-
message: "#^Method BabDev\\\\GitHub\\\\ApiConnector\\:\\:fetchFileContents\\(\\) should return array\\<string, mixed\\> but returns array\\|string\\.$#"
count: 1
path: app/GitHub/ApiConnector.php
-
message: "#^Unable to resolve the template type TKey in call to function collect$#"
count: 2
path: app/GitHub/ApiConnector.php
-
message: "#^Unable to resolve the template type TValue in call to function collect$#"
count: 2
path: app/GitHub/ApiConnector.php
-
message: "#^Call to function is_array\\(\\) with string\\|null will always evaluate to false\\.$#"
count: 1
path: app/GitHub/RequestHandler.php
-
message: "#^Parameter \\#1 \\$installationId of method Github\\\\Api\\\\Apps\\:\\:createInstallationToken\\(\\) expects int, mixed given\\.$#"
count: 1
path: app/GitHub/RequestHandler.php
-
message: "#^Cannot access offset 'secret' on mixed\\.$#"
count: 1
path: app/Http/Controllers/HandleGitHubAppWebhookController.php
-
message: "#^Parameter \\#1 \\$array of function array_keys expects array, mixed given\\.$#"
count: 1
path: app/Http/Controllers/HandleGitHubAppWebhookController.php
-
message: "#^Parameter \\#1 \\$hash of method BabDev\\\\Http\\\\Controllers\\\\HandleGitHubAppWebhookController\\:\\:hasValidSignature\\(\\) expects string, string\\|null given\\.$#"
count: 1
path: app/Http/Controllers/HandleGitHubAppWebhookController.php
-
message: "#^Parameter \\#1 \\$repoConfig of method BabDev\\\\GitHub\\\\RequestHandler\\:\\:handleRequest\\(\\) expects array\\{app_id\\: non\\-empty\\-string, key\\: non\\-empty\\-string, secret\\: non\\-empty\\-string, events\\: array\\<string, array\\<int, class\\-string\\<BabDev\\\\Contracts\\\\GitHub\\\\Actions\\\\Action\\>\\>\\>\\}, mixed given\\.$#"
count: 1
path: app/Http/Controllers/HandleGitHubAppWebhookController.php
-
message: "#^Parameter \\#2 \\$key of method BabDev\\\\Http\\\\Controllers\\\\HandleGitHubAppWebhookController\\:\\:hasValidSignature\\(\\) expects string, mixed given\\.$#"
count: 1
path: app/Http/Controllers/HandleGitHubAppWebhookController.php
-
message: "#^Parameter \\#2 \\$value of static method Illuminate\\\\Support\\\\Str\\:\\:is\\(\\) expects string, mixed given\\.$#"
count: 1
path: app/Http/Controllers/HandleGitHubAppWebhookController.php
-
message: "#^Cannot cast mixed to int\\.$#"
count: 1
path: app/Listeners/AppendPageNumberToBreadcrumbs.php
-
message: "#^Parameter \\#1 \\$id of method Spatie\\\\Feed\\\\FeedItem\\:\\:id\\(\\) expects string, int given\\.$#"
count: 1
path: app/Models/PackageUpdate.php
-
message: "#^Parameter \\#1 \\$summary of method Spatie\\\\Feed\\\\FeedItem\\:\\:summary\\(\\) expects string, string\\|null given\\.$#"
count: 1
path: app/Models/PackageUpdate.php
-
message: "#^Parameter \\#1 \\$updated of method Spatie\\\\Feed\\\\FeedItem\\:\\:updated\\(\\) expects Carbon\\\\CarbonInterface, Carbon\\\\Carbon\\|null given\\.$#"
count: 1
path: app/Models/PackageUpdate.php
-
message: "#^Cannot access offset 'request' on Illuminate\\\\Contracts\\\\Foundation\\\\Application\\.$#"
count: 4
path: app/Providers/AppServiceProvider.php
-
message: "#^Parameter \\#1 \\$domain of method Filament\\\\Panel\\:\\:domain\\(\\) expects string\\|null, mixed given\\.$#"
count: 1
path: app/Providers/Filament/AppPanelProvider.php
-
message: "#^Parameter \\#1 \\$tokenOrLogin of method Github\\\\Client\\:\\:authenticate\\(\\) expects string, mixed given\\.$#"
count: 1
path: app/Providers/GitHubServiceProvider.php
-
message: "#^Parameter \\#1 \\$value of method Illuminate\\\\Routing\\\\RouteRegistrar\\:\\:domain\\(\\) expects string, mixed given\\.$#"
count: 2
path: app/Providers/RouteServiceProvider.php
-
message: "#^Cannot cast mixed to string\\.$#"
count: 1
path: app/Services/DocumentationProcessor.php
-
message: "#^Parameter \\#1 \\$subject of static method Illuminate\\\\Support\\\\Str\\:\\:after\\(\\) expects string, string\\|null given\\.$#"
count: 1
path: app/Services/DocumentationProcessor.php
-
message: "#^Parameter \\#2 \\.\\.\\.\\$values of function sprintf expects bool\\|float\\|int\\|string\\|null, mixed given\\.$#"
count: 1
path: app/Services/DocumentationProcessor.php
-
message: "#^Cannot access offset 'host' on array\\{scheme\\?\\: string, host\\?\\: string, port\\?\\: int\\<0, 65535\\>, user\\?\\: string, pass\\?\\: string, path\\?\\: string, query\\?\\: string, fragment\\?\\: string\\}\\|false\\.$#"
count: 1
path: app/helpers.php
-
message: "#^Cannot cast mixed to string\\.$#"
count: 1
path: app/helpers.php
-
message: "#^Parameter \\#1 \\$haystack of static method Illuminate\\\\Support\\\\Str\\:\\:startsWith\\(\\) expects string, mixed given\\.$#"
count: 1
path: app/helpers.php
-
message: "#^Parameter \\#1 \\$html of class Illuminate\\\\Support\\\\HtmlString constructor expects string, string\\|false given\\.$#"
count: 1
path: app/helpers.php
-
message: "#^Cannot call method assertSuccessful\\(\\) on Illuminate\\\\Testing\\\\PendingCommand\\|int\\.$#"
count: 1
path: tests/Feature/ImportGitHubRepositoriesTest.php
-
message: "#^Cannot call method assertSuccessful\\(\\) on Illuminate\\\\Testing\\\\PendingCommand\\|int\\.$#"
count: 1
path: tests/Feature/ImportGitHubSponsorsTest.php
-
message: "#^Cannot call method assertSuccessful\\(\\) on Illuminate\\\\Testing\\\\PendingCommand\\|int\\.$#"
count: 1
path: tests/Feature/ImportGitHubSponsorshipTiersTest.php
-
message: "#^Cannot call method assertSuccessful\\(\\) on Illuminate\\\\Testing\\\\PendingCommand\\|int\\.$#"
count: 1
path: tests/Feature/ImportPackagistDownloadsTest.php
-
message: "#^Parameter \\#2 \\$contents of method Illuminate\\\\Contracts\\\\Filesystem\\\\Filesystem\\:\\:put\\(\\) expects Illuminate\\\\Http\\\\File\\|Illuminate\\\\Http\\\\UploadedFile\\|Psr\\\\Http\\\\Message\\\\StreamInterface\\|resource\\|string, string\\|false given\\.$#"
count: 1
path: tests/Feature/SitemapTest.php
-
message: "#^Cannot call method assertExitCode\\(\\) on Illuminate\\\\Testing\\\\PendingCommand\\|int\\.$#"
count: 1
path: tests/Unit/Console/SitemapGeneratorTest.php