forked from qossmic/deptrac
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbaseline.xml
243 lines (243 loc) · 7.69 KB
/
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
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="4.x-dev@">
<file src="src/AstRunner/AstParser/AstFileReferenceFileCache.php">
<UnnecessaryVarAnnotation occurrences="1">
<code>array<string, array{hash: string, reference: AstFileReference}></code>
</UnnecessaryVarAnnotation>
</file>
<file src="src/AstRunner/AstParser/NikicPhpParser/ClassReferenceVisitor.php">
<MixedArgument occurrences="1">
<code>$className</code>
</MixedArgument>
<MixedAssignment occurrences="1">
<code>$className</code>
</MixedAssignment>
<MixedMethodCall occurrences="1">
<code>toCodeString</code>
</MixedMethodCall>
</file>
<file src="src/AstRunner/AstParser/NikicPhpParser/NikicPhpParser.php">
<MixedArrayOffset occurrences="1">
<code>self::$classAstMap[$className]</code>
</MixedArrayOffset>
<MixedAssignment occurrences="1">
<code>$className</code>
</MixedAssignment>
<MixedInferredReturnType occurrences="1">
<code>?Node\Stmt\ClassLike</code>
</MixedInferredReturnType>
<MixedMethodCall occurrences="1">
<code>toCodeString</code>
</MixedMethodCall>
<MixedPropertyTypeCoercion occurrences="1">
<code>self::$classAstMap</code>
</MixedPropertyTypeCoercion>
<MixedReturnStatement occurrences="1">
<code>self::$classAstMap[$classLikeName] ?? null</code>
</MixedReturnStatement>
</file>
<file src="src/Collector/BoolCollector.php">
<MixedArgument occurrences="2">
<code>$v</code>
<code>$v</code>
</MixedArgument>
<MixedAssignment occurrences="2">
<code>$v</code>
<code>$v</code>
</MixedAssignment>
</file>
<file src="src/Configuration/Configuration.php">
<MixedArgument occurrences="6">
<code>$options['layers']</code>
<code>$options['ruleset']</code>
<code>$options['ruleset']</code>
<code>$options['ruleset']</code>
<code>$options['skip_violations']</code>
<code>$unknownLayerNames</code>
</MixedArgument>
<MixedArgumentTypeCoercion occurrences="1">
<code>$v</code>
</MixedArgumentTypeCoercion>
<MixedAssignment occurrences="2">
<code>$this->parameters</code>
<code>$this->paths</code>
</MixedAssignment>
<MixedPropertyTypeCoercion occurrences="1">
<code>(array) $options['exclude_files']</code>
</MixedPropertyTypeCoercion>
</file>
<file src="src/Configuration/ConfigurationLayer.php">
<MixedArgument occurrences="2">
<code>$options['collectors']</code>
<code>$options['name']</code>
</MixedArgument>
<MixedArgumentTypeCoercion occurrences="1">
<code>$v</code>
</MixedArgumentTypeCoercion>
</file>
<file src="src/Configuration/Definition.php">
<MixedMethodCall occurrences="66">
<code>arrayNode</code>
<code>arrayNode</code>
<code>arrayNode</code>
<code>arrayNode</code>
<code>arrayNode</code>
<code>arrayNode</code>
<code>arrayNode</code>
<code>arrayNode</code>
<code>arrayPrototype</code>
<code>arrayPrototype</code>
<code>arrayPrototype</code>
<code>arrayPrototype</code>
<code>booleanNode</code>
<code>booleanNode</code>
<code>cannotBeEmpty</code>
<code>cannotBeEmpty</code>
<code>children</code>
<code>children</code>
<code>defaultTrue</code>
<code>defaultTrue</code>
<code>end</code>
<code>end</code>
<code>end</code>
<code>end</code>
<code>end</code>
<code>end</code>
<code>end</code>
<code>end</code>
<code>end</code>
<code>end</code>
<code>end</code>
<code>end</code>
<code>end</code>
<code>end</code>
<code>end</code>
<code>end</code>
<code>end</code>
<code>end</code>
<code>end</code>
<code>end</code>
<code>end</code>
<code>end</code>
<code>end</code>
<code>end</code>
<code>end</code>
<code>end</code>
<code>ignoreExtraKeys</code>
<code>isRequired</code>
<code>isRequired</code>
<code>isRequired</code>
<code>requiresAtLeastOneElement</code>
<code>requiresAtLeastOneElement</code>
<code>requiresAtLeastOneElement</code>
<code>scalarNode</code>
<code>scalarNode</code>
<code>scalarNode</code>
<code>scalarPrototype</code>
<code>scalarPrototype</code>
<code>scalarPrototype</code>
<code>scalarPrototype</code>
<code>scalarPrototype</code>
<code>scalarPrototype</code>
<code>useAttributeAsKey</code>
<code>useAttributeAsKey</code>
<code>useAttributeAsKey</code>
<code>useAttributeAsKey</code>
</MixedMethodCall>
<PossiblyUndefinedMethod occurrences="1">
<code>children</code>
</PossiblyUndefinedMethod>
<UnusedVariable occurrences="2">
<code>$remove</code>
<code>$removeKeyItem</code>
</UnusedVariable>
</file>
<file src="src/Configuration/Loader.php">
<MixedArgument occurrences="3">
<code>$importFile</code>
<code>$mainConfig['baseline']</code>
<code>$mergedConfig['paths']</code>
</MixedArgument>
<MixedArrayAccess occurrences="1">
<code>$mergedConfig['paths']</code>
</MixedArrayAccess>
<MixedArrayAssignment occurrences="2">
<code>$mergedConfig['parameters']['currentWorkingDirectory']</code>
<code>$mergedConfig['parameters']['depfileDirectory']</code>
</MixedArrayAssignment>
<MixedAssignment occurrences="1">
<code>$importFile</code>
</MixedAssignment>
</file>
<file src="src/Configuration/ParameterResolver.php">
<MixedArgumentTypeCoercion occurrences="1">
<code>$value</code>
</MixedArgumentTypeCoercion>
</file>
<file src="src/OutputFormatter/BaselineOutputFormatter.php">
<MixedArgument occurrences="2">
<code>$baselineFile</code>
<code>$baselineFile</code>
</MixedArgument>
<MixedAssignment occurrences="1">
<code>$baselineFile</code>
</MixedAssignment>
</file>
<file src="src/OutputFormatter/GraphVizOutputFormatter.php">
<InvalidScalarArgument occurrences="2">
<code>$layer</code>
<code>$layerDependOn</code>
</InvalidScalarArgument>
<MixedArgument occurrences="6">
<code>$dumpDotPath</code>
<code>$dumpDotPath</code>
<code>$dumpHtmlPath</code>
<code>$dumpHtmlPath</code>
<code>$dumpImagePath</code>
<code>$dumpImagePath</code>
</MixedArgument>
<MixedAssignment occurrences="3">
<code>$dumpDotPath</code>
<code>$dumpHtmlPath</code>
<code>$dumpImagePath</code>
</MixedAssignment>
<UnusedVariable occurrences="1">
<code>$layerDependOnCount</code>
</UnusedVariable>
</file>
<file src="src/OutputFormatter/JUnitOutputFormatter.php">
<MixedArgument occurrences="2">
<code>$dumpXmlPath</code>
<code>$dumpXmlPath</code>
</MixedArgument>
<MixedAssignment occurrences="1">
<code>$dumpXmlPath</code>
</MixedAssignment>
</file>
<file src="src/OutputFormatter/XMLOutputFormatter.php">
<MixedArgument occurrences="2">
<code>$dumpXmlPath</code>
<code>$dumpXmlPath</code>
</MixedArgument>
<MixedAssignment occurrences="1">
<code>$dumpXmlPath</code>
</MixedAssignment>
</file>
<file src="src/OutputFormatterFactory.php">
<UnusedParam occurrences="1">
<code>$formatter</code>
</UnusedParam>
</file>
<file src="src/PathNameFilterIterator.php">
<MixedArgument occurrences="2">
<code>$filename</code>
<code>$filename</code>
</MixedArgument>
<MixedAssignment occurrences="1">
<code>$filename</code>
</MixedAssignment>
<MixedMethodCall occurrences="1">
<code>getPathname</code>
</MixedMethodCall>
</file>
</files>