-
-
Notifications
You must be signed in to change notification settings - Fork 33
/
psalm-baseline.xml
281 lines (281 loc) · 11.6 KB
/
psalm-baseline.xml
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
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="5.25.0@01a8eb06b9e9cc6cfb6a320bf9fb14331919d505">
<file src="src/MezzioInstaller/OptionalPackages.php">
<ArgumentTypeCoercion>
<code><![CDATA[$this->stabilityFlags]]></code>
</ArgumentTypeCoercion>
<MixedArgument>
<code><![CDATA[$answer]]></code>
<code><![CDATA[$constraint]]></code>
<code><![CDATA[$filename]]></code>
<code><![CDATA[$filename]]></code>
<code><![CDATA[$package]]></code>
<code><![CDATA[$target]]></code>
<code><![CDATA[$this->composerDefinition['autoload']]]></code>
<code><![CDATA[$this->composerDefinition['autoload-dev']]]></code>
<code><![CDATA[$word]]></code>
</MixedArgument>
<MixedArgumentTypeCoercion>
<code><![CDATA[$package]]></code>
</MixedArgumentTypeCoercion>
<MixedArrayAccess>
<code><![CDATA[$this->composerDefinition['autoload']['psr-4']]]></code>
<code><![CDATA[$this->composerDefinition['autoload']['psr-4']['MezzioInstaller\\']]]></code>
<code><![CDATA[$this->composerDefinition['autoload-dev']['psr-4']]]></code>
<code><![CDATA[$this->composerDefinition['autoload-dev']['psr-4']['MezzioInstallerTest\\']]]></code>
<code><![CDATA[$this->composerDefinition['scripts']['pre-install-cmd']]]></code>
<code><![CDATA[$this->composerDefinition['scripts']['pre-update-cmd']]]></code>
</MixedArrayAccess>
<MixedArrayAssignment>
<code><![CDATA[$this->composerDefinition['autoload']['psr-4']]]></code>
<code><![CDATA[$this->composerDefinition['autoload']['psr-4']['App\\']]]></code>
<code><![CDATA[$this->composerDefinition['require'][$packageName]]]></code>
<code><![CDATA[$this->composerDefinition['require-dev'][$packageName]]]></code>
<code><![CDATA[$this->composerDefinition['scripts']['cs-check']]]></code>
<code><![CDATA[$this->composerDefinition['scripts']['cs-fix']]]></code>
</MixedArrayAssignment>
<MixedAssignment>
<code><![CDATA[$answer]]></code>
<code><![CDATA[$answer]]></code>
<code><![CDATA[$constraint]]></code>
<code><![CDATA[$fileInfo]]></code>
<code><![CDATA[$filename]]></code>
<code><![CDATA[$package]]></code>
<code><![CDATA[$target]]></code>
<code><![CDATA[$this->composerDefinition]]></code>
</MixedAssignment>
<MixedMethodCall>
<code><![CDATA[isDir]]></code>
</MixedMethodCall>
<MixedPropertyTypeCoercion>
<code><![CDATA[$this->composerDefinition]]></code>
<code><![CDATA[$this->composerDefinition]]></code>
<code><![CDATA[$this->composerDefinition]]></code>
</MixedPropertyTypeCoercion>
<NoValue>
<code><![CDATA[$this->installType]]></code>
</NoValue>
<PossiblyInvalidArgument>
<code><![CDATA[$resource]]></code>
</PossiblyInvalidArgument>
<PossiblyInvalidIterator>
<code><![CDATA[$question['options'][$answer][$this->installType]]]></code>
</PossiblyInvalidIterator>
<PossiblyNullArgument>
<code><![CDATA[$content]]></code>
</PossiblyNullArgument>
<PossiblyUnusedMethod>
<code><![CDATA[install]]></code>
</PossiblyUnusedMethod>
<PropertyTypeCoercion>
<code><![CDATA[require __DIR__ . '/config.php']]></code>
</PropertyTypeCoercion>
</file>
<file src="test/AppTest/Handler/PingHandlerTest.php">
<MixedArgument>
<code><![CDATA[$json]]></code>
</MixedArgument>
<MixedAssignment>
<code><![CDATA[$json]]></code>
</MixedAssignment>
<MixedPropertyFetch>
<code><![CDATA[$json->ack]]></code>
</MixedPropertyFetch>
</file>
<file src="test/MezzioInstallerTest/AddPackageTest.php">
<MixedArgument>
<code><![CDATA[$stabilityFlags]]></code>
</MixedArgument>
<MixedAssignment>
<code><![CDATA[$stabilityFlags]]></code>
</MixedAssignment>
</file>
<file src="test/MezzioInstallerTest/ContainersTest.php">
<MixedArgument>
<code><![CDATA[$config['questions']['container']]]></code>
<code><![CDATA[$config['questions']['router']]]></code>
</MixedArgument>
<MixedArrayAccess>
<code><![CDATA[$config['questions']['container']]]></code>
<code><![CDATA[$config['questions']['router']]]></code>
</MixedArrayAccess>
</file>
<file src="test/MezzioInstallerTest/ErrorHandlerTest.php">
<MixedArgument>
<code><![CDATA[$config['questions']['container']]]></code>
<code><![CDATA[$config['questions']['container']]]></code>
<code><![CDATA[$config['questions']['error-handler']]]></code>
</MixedArgument>
<MixedArrayAccess>
<code><![CDATA[$config['dependencies']]]></code>
<code><![CDATA[$config['dependencies']['factories']]]></code>
<code><![CDATA[$config['dependencies']['factories'][ErrorResponseGenerator::class]]]></code>
<code><![CDATA[$config['questions']['container']]]></code>
<code><![CDATA[$config['questions']['container']]]></code>
<code><![CDATA[$config['questions']['error-handler']]]></code>
</MixedArrayAccess>
<MixedAssignment>
<code><![CDATA[$config]]></code>
</MixedAssignment>
</file>
<file src="test/MezzioInstallerTest/HomePageResponseTest.php">
<MixedArgument>
<code><![CDATA[$config['questions']['container']]]></code>
<code><![CDATA[$config['questions']['container']]]></code>
<code><![CDATA[$config['questions']['router']]]></code>
<code><![CDATA[$config['questions']['router']]]></code>
<code><![CDATA[$config['questions']['template-engine']]]></code>
</MixedArgument>
<MixedArrayAccess>
<code><![CDATA[$config['questions']['container']]]></code>
<code><![CDATA[$config['questions']['container']]]></code>
<code><![CDATA[$config['questions']['router']]]></code>
<code><![CDATA[$config['questions']['router']]]></code>
<code><![CDATA[$config['questions']['template-engine']]]></code>
</MixedArrayAccess>
<MoreSpecificReturnType>
<code><![CDATA[Generator<string, array{
* 0: OptionalPackages::INSTALL_*,
* 1: int,
* 2: int,
* 3: class-string<TemplateRendererInterface>,
* 4: string,
* 5: string
* }>]]></code>
<code><![CDATA[Generator<string, array{
* 0: OptionalPackages::INSTALL_*,
* 1: int,
* 2: string,
* 3: string,
* 4: int,
* 5: class-string<RouterInterface>,
* 6: string,
* 7: string
* }>]]></code>
</MoreSpecificReturnType>
<PossiblyInvalidArrayOffset>
<code><![CDATA[self::$expectedContainerAttributes[$containerClass]]]></code>
<code><![CDATA[self::$expectedContainerAttributes[$containerClass]]]></code>
<code><![CDATA[self::$expectedRouterAttributes[$routerClass]]]></code>
<code><![CDATA[self::$rendererConfigProviders[$rendererClass]]]></code>
<code><![CDATA[self::$routerConfigProviders[$routerClass]]]></code>
</PossiblyInvalidArrayOffset>
</file>
<file src="test/MezzioInstallerTest/OptionalPackagesTestCase.php">
<MixedArgument>
<code><![CDATA[$properties['devDependencies']]]></code>
<code><![CDATA[$r->getValue($installer)]]></code>
<code><![CDATA[$r->getValue($installer)]]></code>
<code><![CDATA[$whitelist]]></code>
</MixedArgument>
<MixedArrayAccess>
<code><![CDATA[$composerJson['require']]]></code>
<code><![CDATA[$composerJson['require-dev']]]></code>
<code><![CDATA[$r->getValue($installer)['extra']]]></code>
</MixedArrayAccess>
<MixedAssignment>
<code><![CDATA[$composerJson]]></code>
<code><![CDATA[$whitelist]]></code>
</MixedAssignment>
<MixedInferredReturnType>
<code><![CDATA[array]]></code>
<code><![CDATA[array]]></code>
</MixedInferredReturnType>
<MixedReturnStatement>
<code><![CDATA[$this->getInstallerProperty($installer, 'composerDefinition')]]></code>
<code><![CDATA[$this->getInstallerProperty($installer, 'config')]]></code>
</MixedReturnStatement>
<PossiblyUnusedProperty>
<code><![CDATA[$composerData]]></code>
</PossiblyUnusedProperty>
</file>
<file src="test/MezzioInstallerTest/ProcessAnswersTest.php">
<MixedArgument>
<code><![CDATA[$question]]></code>
<code><![CDATA[$question]]></code>
<code><![CDATA[$question]]></code>
<code><![CDATA[$question]]></code>
<code><![CDATA[$question]]></code>
<code><![CDATA[$question]]></code>
</MixedArgument>
<MixedArrayAccess>
<code><![CDATA[$config['questions']['container']]]></code>
<code><![CDATA[$config['questions']['container']]]></code>
<code><![CDATA[$config['questions']['container']]]></code>
<code><![CDATA[$config['questions']['container']]]></code>
<code><![CDATA[$config['questions']['container']]]></code>
<code><![CDATA[$config['questions']['template-engine']]]></code>
</MixedArrayAccess>
<MixedAssignment>
<code><![CDATA[$question]]></code>
<code><![CDATA[$question]]></code>
<code><![CDATA[$question]]></code>
<code><![CDATA[$question]]></code>
<code><![CDATA[$question]]></code>
<code><![CDATA[$question]]></code>
</MixedAssignment>
</file>
<file src="test/MezzioInstallerTest/ProjectSandboxTrait.php">
<MixedArgumentTypeCoercion>
<code><![CDATA[$this->autoloader]]></code>
</MixedArgumentTypeCoercion>
<MixedAssignment>
<code><![CDATA[$this->container]]></code>
</MixedAssignment>
<MixedInferredReturnType>
<code><![CDATA[ContainerInterface]]></code>
</MixedInferredReturnType>
<UnresolvableInclude>
<code><![CDATA[require $path]]></code>
</UnresolvableInclude>
</file>
<file src="test/MezzioInstallerTest/RemoveDevDependenciesTest.php">
<MixedAssignment>
<code><![CDATA[$this->devDependencies]]></code>
</MixedAssignment>
</file>
<file src="test/MezzioInstallerTest/RoutersTest.php">
<MixedArgument>
<code><![CDATA[$config['questions']['container']]]></code>
<code><![CDATA[$config['questions']['router']]]></code>
</MixedArgument>
<MixedArrayAccess>
<code><![CDATA[$config['dependencies']]]></code>
<code><![CDATA[$config['dependencies'][$dependencyKey]]]></code>
<code><![CDATA[$config['dependencies'][$dependencyKey][RouterInterface::class]]]></code>
<code><![CDATA[$config['questions']['container']]]></code>
<code><![CDATA[$config['questions']['router']]]></code>
</MixedArrayAccess>
<MixedAssignment>
<code><![CDATA[$config]]></code>
</MixedAssignment>
</file>
<file src="test/MezzioInstallerTest/SetupDataAndCacheDirTest.php">
<UnusedProperty>
<code><![CDATA[$project]]></code>
</UnusedProperty>
</file>
<file src="test/MezzioInstallerTest/TemplateRenderersTest.php">
<MixedArgument>
<code><![CDATA[$config['questions']['container']]]></code>
<code><![CDATA[$config['questions']['router']]]></code>
<code><![CDATA[$config['questions']['template-engine']]]></code>
</MixedArgument>
<MixedArrayAccess>
<code><![CDATA[$config['dependencies']]]></code>
<code><![CDATA[$config['dependencies']['factories']]]></code>
<code><![CDATA[$config['dependencies']['factories'][ErrorHandler::class]]]></code>
<code><![CDATA[$config['questions']['container']]]></code>
<code><![CDATA[$config['questions']['router']]]></code>
<code><![CDATA[$config['questions']['template-engine']]]></code>
</MixedArrayAccess>
<MixedAssignment>
<code><![CDATA[$config]]></code>
</MixedAssignment>
</file>
<file src="test/MezzioInstallerTest/UpdateRootPackageTest.php">
<MixedArgumentTypeCoercion>
<code><![CDATA[$property]]></code>
</MixedArgumentTypeCoercion>
</file>
</files>