forked from ringcentral/psr7
-
Notifications
You must be signed in to change notification settings - Fork 3
/
psalm-baseline.xml
137 lines (137 loc) · 4.97 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
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="5.25.0@01a8eb06b9e9cc6cfb6a320bf9fb14331919d505">
<file src="src/FnStream.php">
<InvalidFunctionCall>
<code><![CDATA[($this->_fn___toString)()]]></code>
<code><![CDATA[($this->_fn_close)()]]></code>
<code><![CDATA[($this->_fn_detach)()]]></code>
<code><![CDATA[($this->_fn_eof)()]]></code>
<code><![CDATA[($this->_fn_getContents)()]]></code>
<code><![CDATA[($this->_fn_getMetadata)($key)]]></code>
<code><![CDATA[($this->_fn_getSize)()]]></code>
<code><![CDATA[($this->_fn_isReadable)()]]></code>
<code><![CDATA[($this->_fn_isSeekable)()]]></code>
<code><![CDATA[($this->_fn_isWritable)()]]></code>
<code><![CDATA[($this->_fn_read)($length)]]></code>
<code><![CDATA[($this->_fn_rewind)()]]></code>
<code><![CDATA[($this->_fn_seek)($offset, $whence)]]></code>
<code><![CDATA[($this->_fn_tell)()]]></code>
<code><![CDATA[($this->_fn_write)($string)]]></code>
</InvalidFunctionCall>
</file>
<file src="src/Header.php">
<PossiblyUndefinedArrayOffset>
<code><![CDATA[$m[0]]]></code>
</PossiblyUndefinedArrayOffset>
</file>
<file src="src/HttpFactory.php">
<ParamNameMismatch>
<code><![CDATA[$file]]></code>
</ParamNameMismatch>
</file>
<file src="src/Message.php">
<PossiblyNullArgument>
<code><![CDATA[$matches[1] === '/' ? self::parseRequestUri($parts[1], $data['headers']) : $parts[1]]]></code>
<code><![CDATA[$parts[1]]]></code>
<code><![CDATA[$parts[1]]]></code>
</PossiblyNullArgument>
<PossiblyUndefinedArrayOffset>
<code><![CDATA[$parts[1]]]></code>
<code><![CDATA[$parts[1]]]></code>
<code><![CDATA[$parts[1]]]></code>
<code><![CDATA[$parts[1]]]></code>
</PossiblyUndefinedArrayOffset>
</file>
<file src="src/MessageTrait.php">
<LessSpecificImplementedReturnType>
<code><![CDATA[MessageInterface]]></code>
<code><![CDATA[MessageInterface]]></code>
<code><![CDATA[MessageInterface]]></code>
<code><![CDATA[MessageInterface]]></code>
<code><![CDATA[MessageInterface]]></code>
<code><![CDATA[array]]></code>
<code><![CDATA[array]]></code>
</LessSpecificImplementedReturnType>
<ParamNameMismatch>
<code><![CDATA[$header]]></code>
<code><![CDATA[$header]]></code>
<code><![CDATA[$header]]></code>
<code><![CDATA[$header]]></code>
<code><![CDATA[$header]]></code>
<code><![CDATA[$header]]></code>
</ParamNameMismatch>
</file>
<file src="src/Request.php">
<NoValue>
<code><![CDATA[$header]]></code>
</NoValue>
</file>
<file src="src/Response.php">
<RedundantCast>
<code><![CDATA[(int) $code]]></code>
<code><![CDATA[(string) $reasonPhrase]]></code>
</RedundantCast>
</file>
<file src="src/ServerRequest.php">
<InvalidArgument>
<code><![CDATA[$_SERVER['SERVER_PORT']]]></code>
</InvalidArgument>
<InvalidArrayOffset>
<code><![CDATA[$normalizedFiles[$key]]]></code>
</InvalidArrayOffset>
<InvalidReturnStatement>
<code><![CDATA[$normalizedFiles]]></code>
</InvalidReturnStatement>
<InvalidReturnType>
<code><![CDATA[UploadedFileInterface[]]]></code>
</InvalidReturnType>
<ParamNameMismatch>
<code><![CDATA[$attribute]]></code>
<code><![CDATA[$attribute]]></code>
<code><![CDATA[$attribute]]></code>
</ParamNameMismatch>
</file>
<file src="src/Stream.php">
<InvalidPropertyAssignmentValue>
<code><![CDATA[$this->stream]]></code>
</InvalidPropertyAssignmentValue>
<RedundantCast>
<code><![CDATA[(int) $whence]]></code>
</RedundantCast>
<RedundantPropertyInitializationCheck>
<code><![CDATA[isset($this->stream)]]></code>
<code><![CDATA[isset($this->stream)]]></code>
<code><![CDATA[isset($this->stream)]]></code>
<code><![CDATA[isset($this->stream)]]></code>
<code><![CDATA[isset($this->stream)]]></code>
<code><![CDATA[isset($this->stream)]]></code>
<code><![CDATA[isset($this->stream)]]></code>
<code><![CDATA[isset($this->stream)]]></code>
<code><![CDATA[isset($this->stream)]]></code>
<code><![CDATA[isset($this->stream)]]></code>
</RedundantPropertyInitializationCheck>
</file>
<file src="src/Uri.php">
<PossiblyInvalidArgument>
<code><![CDATA[$result]]></code>
</PossiblyInvalidArgument>
</file>
<file src="src/UriResolver.php">
<TypeDoesNotContainType>
<code><![CDATA['' === $relativePath]]></code>
</TypeDoesNotContainType>
</file>
<file src="src/Utils.php">
<FalsableReturnStatement>
<code><![CDATA[$contents]]></code>
</FalsableReturnStatement>
<MissingDocblockType>
<code><![CDATA[throw $ex;]]></code>
<code><![CDATA[throw $ex;]]></code>
</MissingDocblockType>
<PossiblyUndefinedVariable>
<code><![CDATA[$contents]]></code>
<code><![CDATA[$handle]]></code>
</PossiblyUndefinedVariable>
</file>
</files>