-
-
Notifications
You must be signed in to change notification settings - Fork 62
/
psalm-baseline.xml
108 lines (108 loc) · 3.12 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
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="5.12.0@f90118cdeacd0088e7215e64c0c99ceca819e176">
<file src="src/Builder/NodeBuilder.php">
<MixedAssignment>
<code>$value</code>
</MixedAssignment>
</file>
<file src="src/Builder/NodeBuilderInterface.php">
<PossiblyUnusedReturnValue>
<code>static</code>
<code>static</code>
</PossiblyUnusedReturnValue>
</file>
<file src="src/Node/NodeInterface.php">
<PossiblyUnusedReturnValue>
<code>mixed</code>
<code>static</code>
<code>static</code>
<code>static</code>
</PossiblyUnusedReturnValue>
</file>
<file src="src/Node/NodeTrait.php">
<ArgumentTypeCoercion>
<code>$heights</code>
</ArgumentTypeCoercion>
<LessSpecificImplementedReturnType>
<code>array</code>
<code>array</code>
<code>array</code>
</LessSpecificImplementedReturnType>
<MixedArgument>
<code>$child</code>
</MixedArgument>
<MixedAssignment>
<code>$child</code>
<code>$child</code>
<code>$child</code>
<code>$child</code>
<code>$heights[]</code>
<code>$size</code>
</MixedAssignment>
<MixedInferredReturnType>
<code>int</code>
<code>int</code>
</MixedInferredReturnType>
<MixedMethodCall>
<code>getHeight</code>
<code>getSize</code>
<code>setParent</code>
</MixedMethodCall>
<MixedOperand>
<code><![CDATA[$child->getSize()]]></code>
<code>\max($heights)</code>
</MixedOperand>
<MoreSpecificReturnType>
<code>?static</code>
</MoreSpecificReturnType>
<PossiblyNullReference>
<code>getDepth</code>
</PossiblyNullReference>
</file>
<file src="src/Visitor/PostOrderVisitor.php">
<MixedArgument>
<code><![CDATA[$child->accept($this)]]></code>
</MixedArgument>
<MixedReturnTypeCoercion>
<code>$nodes</code>
<code><![CDATA[array<int, NodeInterface>]]></code>
</MixedReturnTypeCoercion>
</file>
<file src="src/Visitor/PreOrderVisitor.php">
<MixedArgument>
<code><![CDATA[$child->accept($this)]]></code>
</MixedArgument>
<MixedReturnTypeCoercion>
<code>$nodes</code>
<code><![CDATA[array<int, NodeInterface>]]></code>
</MixedReturnTypeCoercion>
</file>
<file src="src/Visitor/YieldVisitor.php">
<MixedArgument>
<code><![CDATA[$child->accept($this)]]></code>
</MixedArgument>
<MixedReturnTypeCoercion>
<code>$yield</code>
<code><![CDATA[array<int, NodeInterface>]]></code>
</MixedReturnTypeCoercion>
</file>
<file src="test/Unit/Builder/NodeBuilderTest.php">
<ArgumentTypeCoercion>
<code><![CDATA['Tree\Node\Node']]></code>
</ArgumentTypeCoercion>
<InvalidDocblock>
<code>array[Node]</code>
</InvalidDocblock>
<MissingClosureReturnType>
<code>static function (Node $node) {</code>
</MissingClosureReturnType>
<PossiblyNullReference>
<code>leaf</code>
</PossiblyNullReference>
</file>
<file src="test/Unit/Node/NodeTest.php">
<TypeDoesNotContainType>
<code>assertSame</code>
</TypeDoesNotContainType>
</file>
</files>