-
-
Notifications
You must be signed in to change notification settings - Fork 31
/
psalm-baseline.xml
136 lines (136 loc) · 4.5 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
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="5.20.0@3f284e96c9d9be6fe6b15c79416e1d1903dcfef4">
<file src="src/CircularString.php">
<InvalidReturnStatement>
<code><![CDATA[new ArrayIterator($this->points)]]></code>
</InvalidReturnStatement>
<InvalidReturnType>
<code><![CDATA[ArrayIterator<int, Point>]]></code>
</InvalidReturnType>
</file>
<file src="src/CompoundCurve.php">
<InvalidArrayOffset>
<code><![CDATA[$this->curves[$count - 1]]]></code>
</InvalidArrayOffset>
<InvalidReturnStatement>
<code><![CDATA[new ArrayIterator($this->curves)]]></code>
</InvalidReturnStatement>
<InvalidReturnType>
<code><![CDATA[ArrayIterator<int, Curve>]]></code>
</InvalidReturnType>
<MixedInferredReturnType>
<code>Point</code>
</MixedInferredReturnType>
<MixedMethodCall>
<code>endPoint</code>
</MixedMethodCall>
<MixedReturnStatement>
<code><![CDATA[$this->curves[$count - 1]->endPoint()]]></code>
</MixedReturnStatement>
</file>
<file src="src/CurvePolygon.php">
<InvalidReturnStatement>
<code><![CDATA[new ArrayIterator($this->rings)]]></code>
</InvalidReturnStatement>
<InvalidReturnType>
<code><![CDATA[ArrayIterator<int, Curve>]]></code>
</InvalidReturnType>
</file>
<file src="src/Engine/DatabaseEngine.php">
<MixedAssignment>
<code>$result</code>
<code>$result</code>
</MixedAssignment>
<PossiblyUndefinedArrayOffset>
<code>$result</code>
<code>$result</code>
</PossiblyUndefinedArrayOffset>
</file>
<file src="src/Engine/PDOEngine.php">
<MixedAssignment>
<code>$result</code>
</MixedAssignment>
<MixedInferredReturnType>
<code>array</code>
</MixedInferredReturnType>
<MixedReturnStatement>
<code>$result</code>
</MixedReturnStatement>
</file>
<file src="src/Geometry.php">
<LessSpecificReturnStatement>
<code><![CDATA[$this->project(new RemoveZMProjector(removeM: true))]]></code>
<code><![CDATA[$this->project(new RemoveZMProjector(removeZ: true))]]></code>
<code><![CDATA[$this->project(new RemoveZMProjector(removeZ: true, removeM: true))]]></code>
<code><![CDATA[$this->project(new SRIDProjector($srid))]]></code>
<code><![CDATA[$this->project(new SwapXYProjector())]]></code>
</LessSpecificReturnStatement>
<MissingTemplateParam>
<code>\IteratorAggregate</code>
</MissingTemplateParam>
<MoreSpecificReturnType>
<code>static</code>
<code>static</code>
<code>static</code>
<code>static</code>
<code>static</code>
</MoreSpecificReturnType>
</file>
<file src="src/GeometryCollection.php">
<DocblockTypeContradiction>
<code>$geometry instanceof $containedGeometryType</code>
</DocblockTypeContradiction>
<InvalidReturnStatement>
<code><![CDATA[new ArrayIterator($this->geometries)]]></code>
</InvalidReturnStatement>
<InvalidReturnType>
<code><![CDATA[ArrayIterator<int, T>]]></code>
</InvalidReturnType>
<MixedArgument>
<code>$geometry::class</code>
</MixedArgument>
</file>
<file src="src/IO/EWKTParser.php">
<InvalidClassConstantType>
<code>T_NUMBER</code>
<code>T_WORD</code>
</InvalidClassConstantType>
</file>
<file src="src/LineString.php">
<InvalidReturnStatement>
<code><![CDATA[new ArrayIterator($this->points)]]></code>
</InvalidReturnStatement>
<InvalidReturnType>
<code><![CDATA[ArrayIterator<int, Point>]]></code>
</InvalidReturnType>
</file>
<file src="src/Point.php">
<InvalidReturnStatement>
<code><![CDATA[new ArrayIterator($this->toArray())]]></code>
</InvalidReturnStatement>
<InvalidReturnType>
<code><![CDATA[ArrayIterator<int, float>]]></code>
</InvalidReturnType>
</file>
<file src="src/Polygon.php">
<InvalidReturnStatement>
<code><![CDATA[new ArrayIterator($this->rings)]]></code>
</InvalidReturnStatement>
<InvalidReturnType>
<code><![CDATA[ArrayIterator<int, LineString>]]></code>
</InvalidReturnType>
</file>
<file src="src/PolyhedralSurface.php">
<InvalidReturnStatement>
<code><![CDATA[new ArrayIterator($this->patches)]]></code>
</InvalidReturnStatement>
<InvalidReturnType>
<code><![CDATA[ArrayIterator<int, Polygon>]]></code>
</InvalidReturnType>
</file>
<file src="src/Projector/SwapXYProjector.php">
<PossiblyUndefinedArrayOffset>
<code>$x</code>
</PossiblyUndefinedArrayOffset>
</file>
</files>