-
-
Notifications
You must be signed in to change notification settings - Fork 51
/
psalm-baseline.xml
163 lines (163 loc) · 6.06 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
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="4.26.0@6998fabb2bf528b65777bf9941920888d23c03ac">
<file src="src/phpDocumentor/Reflection/Middleware/ChainFactory.php">
<DocblockTypeContradiction occurrences="1">
<code>gettype($middleware)</code>
</DocblockTypeContradiction>
<MissingClosureParamType occurrences="1">
<code>$command</code>
</MissingClosureParamType>
<MixedArgument occurrences="1">
<code>$command</code>
</MixedArgument>
<MixedArgumentTypeCoercion occurrences="1">
<code>$lastCallable</code>
</MixedArgumentTypeCoercion>
<RedundantConditionGivenDocblockType occurrences="1">
<code>is_object($middleware)</code>
</RedundantConditionGivenDocblockType>
</file>
<file src="src/phpDocumentor/Reflection/NodeVisitor/ElementNameResolver.php">
<NoInterfaceProperties occurrences="1">
<code>$node->fqsen</code>
</NoInterfaceProperties>
<MixedAssignment occurrences="1">
<code>$part</code>
</MixedAssignment>
<MixedOperand occurrences="1">
<code>$part</code>
</MixedOperand>
</file>
<file src="src/phpDocumentor/Reflection/Php/Factory/AbstractFactory.php">
<RedundantCondition occurrences="1">
<code>is_object($object)</code>
</RedundantCondition>
<TypeDoesNotContainType occurrences="1">
<code>gettype($object)</code>
</TypeDoesNotContainType>
</file>
<file src="src/phpDocumentor/Reflection/Php/Factory/Argument.php">
<PossiblyInvalidCast occurrences="1">
<code>$object->var->name</code>
</PossiblyInvalidCast>
<RedundantConditionGivenDocblockType occurrences="1">
<code>isInstanceOf</code>
</RedundantConditionGivenDocblockType>
<UndefinedMethod occurrences="1">
<code>addArgument</code>
</UndefinedMethod>
</file>
<file src="src/phpDocumentor/Reflection/Php/Factory/ClassConstant.php">
<PossiblyUndefinedMethod occurrences="1">
<code>addConstant</code>
</PossiblyUndefinedMethod>
<RedundantCondition occurrences="1">
<code>$const->getValue() !== null</code>
</RedundantCondition>
</file>
<file src="src/phpDocumentor/Reflection/Php/Factory/ClassConstantIterator.php">
<MixedInferredReturnType occurrences="1">
<code>Fqsen</code>
</MixedInferredReturnType>
<MixedReturnStatement occurrences="1"/>
</file>
<file src="src/phpDocumentor/Reflection/Php/Factory/Class_.php">
<MixedArgument occurrences="1"/>
</file>
<file src="src/phpDocumentor/Reflection/Php/Factory/ConstructorPromotion.php">
<PossiblyInvalidCast occurrences="1">
<code>$param->var->name</code>
</PossiblyInvalidCast>
</file>
<file src="src/phpDocumentor/Reflection/Php/Factory/EnumCase.php">
<MixedArgument occurrences="1"/>
</file>
<file src="src/phpDocumentor/Reflection/Php/Factory/Enum_.php">
<MixedArgument occurrences="1"/>
</file>
<file src="src/phpDocumentor/Reflection/Php/Factory/File.php">
<MissingClosureParamType occurrences="1">
<code>$command</code>
</MissingClosureParamType>
<MixedArgument occurrences="2">
<code>$command</code>
<code>$file</code>
</MixedArgument>
<MixedAssignment occurrences="1">
<code>$file</code>
</MixedAssignment>
</file>
<file src="src/phpDocumentor/Reflection/Php/Factory/Function_.php">
<DocblockTypeContradiction occurrences="1">
<code>is_array($object->stmts)</code>
</DocblockTypeContradiction>
<MixedArgument occurrences="1"/>
</file>
<file src="src/phpDocumentor/Reflection/Php/Factory/GlobalConstant.php">
<RedundantCondition occurrences="1">
<code>$const->getValue() !== null</code>
</RedundantCondition>
</file>
<file src="src/phpDocumentor/Reflection/Php/Factory/GlobalConstantIterator.php">
<MixedInferredReturnType occurrences="1">
<code>Fqsen</code>
</MixedInferredReturnType>
<MixedReturnStatement occurrences="1"/>
</file>
<file src="src/phpDocumentor/Reflection/Php/Factory/Interface_.php">
<MixedArgument occurrences="1"/>
</file>
<file src="src/phpDocumentor/Reflection/Php/Factory/Method.php">
<MixedArgument occurrences="1"/>
<UndefinedMethod occurrences="1">
<code>addMethod</code>
</UndefinedMethod>
</file>
<file src="src/phpDocumentor/Reflection/Php/Factory/Namespace_.php">
<DocblockTypeContradiction occurrences="1">
<code>gettype($object)</code>
</DocblockTypeContradiction>
<MixedArgument occurrences="1"/>
<RedundantConditionGivenDocblockType occurrences="1">
<code>is_object($object)</code>
</RedundantConditionGivenDocblockType>
</file>
<file src="src/phpDocumentor/Reflection/Php/Factory/Property.php">
<PossiblyInvalidArgument occurrences="1">
<code>$iterator->getDefault()</code>
</PossiblyInvalidArgument>
<UndefinedMethod occurrences="1">
<code>addProperty</code>
</UndefinedMethod>
</file>
<file src="src/phpDocumentor/Reflection/Php/Factory/PropertyIterator.php">
<MixedInferredReturnType occurrences="1">
<code>Fqsen</code>
</MixedInferredReturnType>
<MixedReturnStatement occurrences="1"/>
</file>
<file src="src/phpDocumentor/Reflection/Php/Factory/Trait_.php">
<MixedArgument occurrences="1"/>
</file>
<file src="src/phpDocumentor/Reflection/Php/ProjectFactoryStrategies.php">
<MixedArgument occurrences="1">
<code>$object</code>
</MixedArgument>
<MixedPropertyTypeCoercion occurrences="1">
<code>new SplPriorityQueue()</code>
</MixedPropertyTypeCoercion>
</file>
<file src="src/phpDocumentor/Reflection/Php/ValueEvaluator/ConstantEvaluator.php">
<MixedInferredReturnType occurrences="1">
<code>string</code>
</MixedInferredReturnType>
<MixedReturnStatement occurrences="1">
<code>$evaluator->evaluateSilently($expr)</code>
</MixedReturnStatement>
</file>
<file src="src/phpDocumentor/Reflection/Types/NamespaceNodeToContext.php">
<MixedArgumentTypeCoercion occurrences="1">
<code>$this->aliasesToFullyQualifiedNames($namespace)</code>
</MixedArgumentTypeCoercion>
</file>
</files>