forked from qossmic/deptrac
-
Notifications
You must be signed in to change notification settings - Fork 0
/
baseline.xml
161 lines (161 loc) · 5.26 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
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="4.x-dev@">
<file src="src/AstRunner/AstParser/NikicPhpParser/FileReferenceVisitor.php">
<RedundantConditionGivenDocblockType occurrences="2">
<code>isset($node->namespacedName)</code>
<code>isset($node->namespacedName)</code>
</RedundantConditionGivenDocblockType>
</file>
<file src="src/AstRunner/AstParser/NikicPhpParser/NikicPhpParser.php">
<RedundantConditionGivenDocblockType occurrences="1">
<code>isset($classLikeNode->namespacedName)</code>
</RedundantConditionGivenDocblockType>
</file>
<file src="src/Collector/SuperglobalCollector.php">
<RedundantCastGivenDocblockType occurrences="1">
<code>(string) $name</code>
</RedundantCastGivenDocblockType>
</file>
<file src="src/Configuration/Configuration.php">
<MixedPropertyTypeCoercion occurrences="2">
<code>(array) $options['exclude_files']</code>
<code>(array) $options['formatters']</code>
</MixedPropertyTypeCoercion>
<RedundantCastGivenDocblockType occurrences="2">
<code>(array) $rules</code>
<code>(bool) $options['ignore_uncovered_internal_classes']</code>
</RedundantCastGivenDocblockType>
</file>
<file src="src/Configuration/Definition.php">
<MixedMethodCall occurrences="78">
<code>append</code>
<code>append</code>
<code>append</code>
<code>append</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>booleanNode</code>
<code>cannotBeEmpty</code>
<code>children</code>
<code>defaultFalse</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>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>requiresAtLeastOneElement</code>
<code>requiresAtLeastOneElement</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>scalarPrototype</code>
<code>scalarPrototype</code>
<code>useAttributeAsKey</code>
<code>useAttributeAsKey</code>
<code>useAttributeAsKey</code>
</MixedMethodCall>
<PossiblyNullReference occurrences="6">
<code>arrayNode</code>
<code>arrayNode</code>
<code>arrayNode</code>
<code>booleanNode</code>
<code>end</code>
<code>end</code>
</PossiblyNullReference>
<PossiblyUndefinedMethod occurrences="6">
<code>arrayNode</code>
<code>arrayNode</code>
<code>arrayNode</code>
<code>booleanNode</code>
<code>end</code>
<code>end</code>
</PossiblyUndefinedMethod>
<UnusedMethodCall occurrences="1">
<code>end</code>
</UnusedMethodCall>
<UnusedVariable occurrences="1">
<code>$remove</code>
</UnusedVariable>
</file>
<file src="src/Configuration/Loader.php">
<LessSpecificReturnStatement occurrences="1">
<code>array_filter(array_merge($config, $normalized), static fn ($value) => null !== $value)</code>
</LessSpecificReturnStatement>
<MixedArgument occurrences="1">
<code>$mergedConfig['paths']</code>
</MixedArgument>
<MixedArrayAssignment occurrences="2">
<code>$mergedConfig['parameters']['currentWorkingDirectory']</code>
<code>$mergedConfig['parameters']['depfileDirectory']</code>
</MixedArrayAssignment>
<MoreSpecificReturnType occurrences="1"/>
<RedundantCastGivenDocblockType occurrences="2">
<code>(array) $mainConfig['imports']</code>
<code>(string) $mainConfig['baseline']</code>
</RedundantCastGivenDocblockType>
</file>
<file src="src/Configuration/ParameterResolver.php">
<InvalidReturnStatement occurrences="1">
<code>$this->replace($values, $keys, $parameters)</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>T</code>
</InvalidReturnType>
<MixedArgumentTypeCoercion occurrences="1">
<code>$values</code>
</MixedArgumentTypeCoercion>
</file>
</files>