-
Notifications
You must be signed in to change notification settings - Fork 8
/
psalm-baseline.xml
151 lines (151 loc) · 6.89 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
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="5.25.0@01a8eb06b9e9cc6cfb6a320bf9fb14331919d505">
<file src="src/ShapeFile.php">
<InvalidPropertyAssignmentValue>
<code><![CDATA[$this->shpFile]]></code>
<code><![CDATA[$this->shxFile]]></code>
</InvalidPropertyAssignmentValue>
<MixedArgument>
<code><![CDATA[$record->dbfData[$field]]]></code>
<code><![CDATA[$this->boundingBox[$type] ?? 0]]></code>
</MixedArgument>
<MixedAssignment>
<code><![CDATA[$shapeType]]></code>
</MixedAssignment>
<PossiblyFalseArgument>
<code><![CDATA[$this->shpFile]]></code>
</PossiblyFalseArgument>
<PossiblyNullOperand>
<code><![CDATA[$record->getContentLength()]]></code>
<code><![CDATA[$record->getContentLength()]]></code>
<code><![CDATA[$this->records[$index]->getContentLength()]]></code>
</PossiblyNullOperand>
<PossiblyUnusedReturnValue>
<code><![CDATA[bool]]></code>
<code><![CDATA[bool]]></code>
<code><![CDATA[int]]></code>
</PossiblyUnusedReturnValue>
<UnusedFunctionCall>
<code><![CDATA[dbase_close]]></code>
<code><![CDATA[dbase_pack]]></code>
</UnusedFunctionCall>
</file>
<file src="src/ShapeRecord.php">
<MixedArgument>
<code><![CDATA[$data['m']]]></code>
<code><![CDATA[$data['m']]]></code>
<code><![CDATA[$data['x']]]></code>
<code><![CDATA[$data['x']]]></code>
<code><![CDATA[$data['x']]]></code>
<code><![CDATA[$data['y']]]></code>
<code><![CDATA[$data['y']]]></code>
<code><![CDATA[$data['y']]]></code>
<code><![CDATA[$data['z']]]></code>
<code><![CDATA[$pointData]]></code>
<code><![CDATA[$pointData[$type]]]></code>
<code><![CDATA[$this->shpData['parts']]]></code>
<code><![CDATA[$this->shpData['parts']]]></code>
<code><![CDATA[$this->shpData['parts']]]></code>
<code><![CDATA[$this->shpData['parts']]]></code>
<code><![CDATA[$this->shpData['parts']]]></code>
<code><![CDATA[$this->shpData['parts'][$i]['points']]]></code>
<code><![CDATA[$this->shpData['parts'][$i]['points']]]></code>
<code><![CDATA[$this->shpData['parts'][$i]['points']]]></code>
<code><![CDATA[$this->shpData['parts'][$i]['points']]]></code>
<code><![CDATA[$this->shpData['parts'][$partIndex]['points']]]></code>
<code><![CDATA[$this->shpData['parts'][$partIndex]['points']]]></code>
<code><![CDATA[$this->shpData['points']]]></code>
<code><![CDATA[$this->shpData['points']]]></code>
<code><![CDATA[$this->shpData['points']]]></code>
<code><![CDATA[$this->shpData['points']]]></code>
<code><![CDATA[$this->shpData['points']]]></code>
<code><![CDATA[$this->shpData['points'][$i]]]></code>
<code><![CDATA[$this->shpData['points'][$i][$type]]]></code>
</MixedArgument>
<MixedArrayAccess>
<code><![CDATA[$partData['points']]]></code>
<code><![CDATA[$partData['points']]]></code>
<code><![CDATA[$pointData[$type]]]></code>
<code><![CDATA[$this->shpData['parts'][$i]]]></code>
<code><![CDATA[$this->shpData['parts'][$i]]]></code>
<code><![CDATA[$this->shpData['parts'][$i]]]></code>
<code><![CDATA[$this->shpData['parts'][$i]]]></code>
<code><![CDATA[$this->shpData['parts'][$i]['points']]]></code>
<code><![CDATA[$this->shpData['parts'][$i]['points']]]></code>
<code><![CDATA[$this->shpData['parts'][$i]['points']]]></code>
<code><![CDATA[$this->shpData['parts'][$i]['points']]]></code>
<code><![CDATA[$this->shpData['parts'][$part + 1]]]></code>
<code><![CDATA[$this->shpData['parts'][$partIndex]['points'][$count]]]></code>
<code><![CDATA[$this->shpData['parts'][$partIndex]['points'][$i + 1]]]></code>
<code><![CDATA[$this->shpData['points'][$i + 1]]]></code>
<code><![CDATA[$this->shpData['points'][$i]]]></code>
<code><![CDATA[$this->shpData['points'][$i]]]></code>
<code><![CDATA[$this->shpData['points'][$i][$type]]]></code>
<code><![CDATA[$this->shpData['points'][count($this->shpData['points']) - 1]]]></code>
<code><![CDATA[$value]]></code>
</MixedArrayAccess>
<MixedArrayAssignment>
<code><![CDATA[$this->shpData['parts'][$partIndex]]]></code>
<code><![CDATA[$this->shpData['parts'][$partIndex]]]></code>
<code><![CDATA[$this->shpData['parts'][$partIndex]['points']]]></code>
<code><![CDATA[$this->shpData['parts'][$partIndex]['points'][$i]]]></code>
<code><![CDATA[$this->shpData['parts'][$part]]]></code>
<code><![CDATA[$this->shpData['parts'][$part]['points']]]></code>
<code><![CDATA[$this->shpData['parts'][$part]['points'][$i]]]></code>
<code><![CDATA[$this->shpData['parts'][$part]['points'][$i][$type]]]></code>
<code><![CDATA[$this->shpData['parts'][$part]['points'][]]]></code>
<code><![CDATA[$this->shpData['points'][$i]]]></code>
<code><![CDATA[$this->shpData['points'][$i]]]></code>
<code><![CDATA[$this->shpData['points'][$i][$type]]]></code>
<code><![CDATA[$this->shpData['points'][]]]></code>
</MixedArrayAssignment>
<MixedArrayOffset>
<code><![CDATA[$this->dbfData[$value]]]></code>
<code><![CDATA[$tmp[$value]]]></code>
</MixedArrayOffset>
<MixedAssignment>
<code><![CDATA[$data['m']]]></code>
<code><![CDATA[$data['m']]]></code>
<code><![CDATA[$data['z']]]></code>
<code><![CDATA[$numparts]]></code>
<code><![CDATA[$numparts]]></code>
<code><![CDATA[$numpoints]]></code>
<code><![CDATA[$numpoints]]></code>
<code><![CDATA[$partData]]></code>
<code><![CDATA[$partData]]></code>
<code><![CDATA[$point]]></code>
<code><![CDATA[$pointData]]></code>
<code><![CDATA[$pointData]]></code>
<code><![CDATA[$point['m']]]></code>
<code><![CDATA[$point['z']]]></code>
<code><![CDATA[$recordNumber]]></code>
<code><![CDATA[$shapeType]]></code>
<code><![CDATA[$size]]></code>
<code><![CDATA[$this->size]]></code>
<code><![CDATA[[$value]]]></code>
</MixedAssignment>
<MixedOperand>
<code><![CDATA[$size]]></code>
<code><![CDATA[$this->shpData['numpoints']]]></code>
<code><![CDATA[$this->shpData['numpoints']]]></code>
<code><![CDATA[$this->shpData['numpoints'] ?? 0]]></code>
<code><![CDATA[$this->shpData['numpoints'] ?? 0]]></code>
</MixedOperand>
<PossiblyNullReference>
<code><![CDATA[hasMeasure]]></code>
<code><![CDATA[hasMeasure]]></code>
<code><![CDATA[readSHP]]></code>
</PossiblyNullReference>
<PossiblyUndefinedArrayOffset>
<code><![CDATA[$this->shpData['parts']]]></code>
</PossiblyUndefinedArrayOffset>
<PropertyNotSetInConstructor>
<code><![CDATA[$shpFile]]></code>
</PropertyNotSetInConstructor>
</file>
<file src="tests/ShapeFileTest.php">
<MixedArgument>
<code><![CDATA[$shp->records[0]->shpData['parts']]]></code>
</MixedArgument>
</file>
</files>