-
Notifications
You must be signed in to change notification settings - Fork 0
/
psalm-baseline.xml
139 lines (139 loc) · 4.98 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
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="4.x-dev@">
<file src="src/CachingStream.php">
<UndefinedThisPropertyAssignment occurrences="1">
<code>$this->stream</code>
</UndefinedThisPropertyAssignment>
</file>
<file src="src/DroppingStream.php">
<UndefinedThisPropertyAssignment occurrences="1">
<code>$this->stream</code>
</UndefinedThisPropertyAssignment>
</file>
<file src="src/FnStream.php">
<InvalidFunctionCall occurrences="15">
<code>call_user_func($this->_fn___toString)</code>
<code>call_user_func($this->_fn_close)</code>
<code>call_user_func($this->_fn_detach)</code>
<code>call_user_func($this->_fn_eof)</code>
<code>call_user_func($this->_fn_getContents)</code>
<code>call_user_func($this->_fn_getMetadata, $key)</code>
<code>call_user_func($this->_fn_getSize)</code>
<code>call_user_func($this->_fn_isReadable)</code>
<code>call_user_func($this->_fn_isSeekable)</code>
<code>call_user_func($this->_fn_isWritable)</code>
<code>call_user_func($this->_fn_read, $length)</code>
<code>call_user_func($this->_fn_rewind)</code>
<code>call_user_func($this->_fn_seek, $offset, $whence)</code>
<code>call_user_func($this->_fn_tell)</code>
<code>call_user_func($this->_fn_write, $string)</code>
</InvalidFunctionCall>
</file>
<file src="src/HttpFactory.php">
<ParamNameMismatch occurrences="1">
<code>$file</code>
</ParamNameMismatch>
</file>
<file src="src/InflateStream.php">
<UndefinedThisPropertyAssignment occurrences="1">
<code>$this->stream</code>
</UndefinedThisPropertyAssignment>
</file>
<file src="src/LimitStream.php">
<UndefinedThisPropertyAssignment occurrences="1">
<code>$this->stream</code>
</UndefinedThisPropertyAssignment>
</file>
<file src="src/MessageTrait.php">
<LessSpecificImplementedReturnType occurrences="7">
<code>MessageInterface</code>
<code>MessageInterface</code>
<code>MessageInterface</code>
<code>MessageInterface</code>
<code>MessageInterface</code>
<code>array</code>
<code>array</code>
</LessSpecificImplementedReturnType>
<ParamNameMismatch occurrences="2">
<code>$header</code>
<code>$header</code>
</ParamNameMismatch>
</file>
<file src="src/MultipartStream.php">
<PossiblyInvalidArgument occurrences="2">
<code>$element['filename'] ?? null</code>
<code>$uri</code>
</PossiblyInvalidArgument>
<PossiblyNullArgument occurrences="2">
<code>$filename</code>
<code>$filename</code>
</PossiblyNullArgument>
<UndefinedThisPropertyAssignment occurrences="1">
<code>$this->stream</code>
</UndefinedThisPropertyAssignment>
</file>
<file src="src/Request.php">
<ParadoxicalCondition occurrences="1">
<code>isset($this->headerNames['host'])</code>
</ParadoxicalCondition>
<RedundantCondition occurrences="1">
<code>assertMethod</code>
</RedundantCondition>
</file>
<file src="src/ServerRequest.php">
<InvalidReturnStatement occurrences="1">
<code>$normalizedFiles</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>UploadedFileInterface[]</code>
</InvalidReturnType>
<ParamNameMismatch occurrences="2">
<code>$attribute</code>
<code>$attribute</code>
</ParamNameMismatch>
</file>
<file src="src/Stream.php">
<InvalidPropertyAssignmentValue occurrences="1">
<code>$this->stream</code>
</InvalidPropertyAssignmentValue>
<RedundantPropertyInitializationCheck occurrences="10">
<code>isset($this->stream)</code>
<code>isset($this->stream)</code>
<code>isset($this->stream)</code>
<code>isset($this->stream)</code>
<code>isset($this->stream)</code>
<code>isset($this->stream)</code>
<code>isset($this->stream)</code>
<code>isset($this->stream)</code>
<code>isset($this->stream)</code>
<code>isset($this->stream)</code>
</RedundantPropertyInitializationCheck>
</file>
<file src="src/StreamDecoratorTrait.php">
<UndefinedThisPropertyAssignment occurrences="2">
<code>$this->stream</code>
<code>$this->stream</code>
</UndefinedThisPropertyAssignment>
</file>
<file src="src/Uri.php">
<PossiblyInvalidArgument occurrences="1">
<code>$result</code>
</PossiblyInvalidArgument>
</file>
<file src="src/UriResolver.php">
<TypeDoesNotContainType occurrences="1">
<code>'' === $relativePath</code>
</TypeDoesNotContainType>
</file>
<file src="src/Utils.php">
<MissingDocblockType occurrences="1">
<code>throw $ex;</code>
</MissingDocblockType>
<PossiblyUndefinedVariable occurrences="1">
<code>$handle</code>
</PossiblyUndefinedVariable>
<RedundantCast occurrences="1">
<code>(bool) $rawOutput</code>
</RedundantCast>
</file>
</files>