forked from ringcentral/psr7
-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathphpstan-baseline.neon
More file actions
175 lines (147 loc) · 4.84 KB
/
Copy pathphpstan-baseline.neon
File metadata and controls
175 lines (147 loc) · 4.84 KB
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
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
parameters:
ignoreErrors:
-
message: '#^Method GuzzleHttp\\Psr7\\BufferStream\:\:getSize\(\) never returns null so it can be removed from the return type\.$#'
identifier: return.unusedType
count: 1
path: src/BufferStream.php
-
message: '#^Access to an undefined property GuzzleHttp\\Psr7\\FnStream\:\:\$_fn___toString\.$#'
identifier: property.notFound
count: 1
path: src/FnStream.php
-
message: '#^Access to an undefined property GuzzleHttp\\Psr7\\FnStream\:\:\$_fn_close\.$#'
identifier: property.notFound
count: 1
path: src/FnStream.php
-
message: '#^Access to an undefined property GuzzleHttp\\Psr7\\FnStream\:\:\$_fn_detach\.$#'
identifier: property.notFound
count: 1
path: src/FnStream.php
-
message: '#^Access to an undefined property GuzzleHttp\\Psr7\\FnStream\:\:\$_fn_eof\.$#'
identifier: property.notFound
count: 1
path: src/FnStream.php
-
message: '#^Access to an undefined property GuzzleHttp\\Psr7\\FnStream\:\:\$_fn_getContents\.$#'
identifier: property.notFound
count: 1
path: src/FnStream.php
-
message: '#^Access to an undefined property GuzzleHttp\\Psr7\\FnStream\:\:\$_fn_getMetadata\.$#'
identifier: property.notFound
count: 1
path: src/FnStream.php
-
message: '#^Access to an undefined property GuzzleHttp\\Psr7\\FnStream\:\:\$_fn_getSize\.$#'
identifier: property.notFound
count: 1
path: src/FnStream.php
-
message: '#^Access to an undefined property GuzzleHttp\\Psr7\\FnStream\:\:\$_fn_isReadable\.$#'
identifier: property.notFound
count: 1
path: src/FnStream.php
-
message: '#^Access to an undefined property GuzzleHttp\\Psr7\\FnStream\:\:\$_fn_isSeekable\.$#'
identifier: property.notFound
count: 1
path: src/FnStream.php
-
message: '#^Access to an undefined property GuzzleHttp\\Psr7\\FnStream\:\:\$_fn_isWritable\.$#'
identifier: property.notFound
count: 1
path: src/FnStream.php
-
message: '#^Access to an undefined property GuzzleHttp\\Psr7\\FnStream\:\:\$_fn_read\.$#'
identifier: property.notFound
count: 1
path: src/FnStream.php
-
message: '#^Access to an undefined property GuzzleHttp\\Psr7\\FnStream\:\:\$_fn_rewind\.$#'
identifier: property.notFound
count: 1
path: src/FnStream.php
-
message: '#^Access to an undefined property GuzzleHttp\\Psr7\\FnStream\:\:\$_fn_seek\.$#'
identifier: property.notFound
count: 1
path: src/FnStream.php
-
message: '#^Access to an undefined property GuzzleHttp\\Psr7\\FnStream\:\:\$_fn_tell\.$#'
identifier: property.notFound
count: 1
path: src/FnStream.php
-
message: '#^Access to an undefined property GuzzleHttp\\Psr7\\FnStream\:\:\$_fn_write\.$#'
identifier: property.notFound
count: 1
path: src/FnStream.php
-
message: '#^Call to function is_string\(\) with string will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: src/Header.php
-
message: '#^If condition is always false\.$#'
identifier: if.alwaysFalse
count: 1
path: src/LimitStream.php
-
message: '#^Call to function is_object\(\) with object will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: src/ServerRequest.php
-
message: '#^Result of && is always false\.$#'
identifier: booleanAnd.alwaysFalse
count: 1
path: src/ServerRequest.php
-
message: '#^Property GuzzleHttp\\Psr7\\Stream\:\:\$stream \(resource\) in isset\(\) is not nullable\.$#'
identifier: isset.property
count: 10
path: src/Stream.php
-
message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(int\<0, 65535\>\|string\)\: mixed\)\|null, ''urldecode'' given\.$#'
identifier: argument.type
count: 1
path: src/UriParser.php
-
message: '#^Strict comparison using \=\=\= between non\-falsy\-string and '''' will always evaluate to false\.$#'
identifier: identical.alwaysFalse
count: 1
path: src/UriResolver.php
-
message: '#^Call to function is_string\(\) with string will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: src/Utils.php
-
message: '#^Method GuzzleHttp\\Psr7\\Utils\:\:tryGetContents\(\) should return string but returns string\|false\.$#'
identifier: return.type
count: 1
path: src/Utils.php
-
message: '#^Right side of && is always true\.$#'
identifier: booleanAnd.rightAlwaysTrue
count: 1
path: src/Utils.php
-
message: '#^Unreachable statement \- code above always terminates\.$#'
identifier: deadCode.unreachable
count: 1
path: src/Utils.php
-
message: '#^Variable \$contents might not be defined\.$#'
identifier: variable.undefined
count: 1
path: src/Utils.php
-
message: '#^Variable \$handle might not be defined\.$#'
identifier: variable.undefined
count: 1
path: src/Utils.php