forked from smi2/phpClickHouse
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan-baseline.neon
More file actions
175 lines (147 loc) · 5.66 KB
/
phpstan-baseline.neon
File metadata and controls
175 lines (147 loc) · 5.66 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: '#^Call to function is_callable\(\) with callable\(\)\: mixed will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: src/Client.php
-
message: '#^Negated boolean expression is always false\.$#'
identifier: booleanNot.alwaysFalse
count: 1
path: src/Client.php
-
message: '#^Negated boolean expression is always false\.$#'
identifier: booleanNot.alwaysFalse
count: 1
path: src/Cluster.php
-
message: '#^Property ClickHouseDB\\Cluster\:\:\$hostsnames is never read, only written\.$#'
identifier: property.onlyWritten
count: 1
path: src/Cluster.php
-
message: '#^Property ClickHouseDB\\Statement\:\:\$_http_code is never read, only written\.$#'
identifier: property.onlyWritten
count: 1
path: src/Statement.php
-
message: '#^Property ClickHouseDB\\Statement\:\:\$query is never read, only written\.$#'
identifier: property.onlyWritten
count: 1
path: src/Statement.php
-
message: '#^Call to function is_callable\(\) with callable\(\)\: mixed will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: src/Transport/CurlerRequest.php
-
message: '#^Parameter \#2 \$value of method ClickHouseDB\\Transport\\CurlerRequest\:\:header\(\) expects string, int\<1, max\> given\.$#'
identifier: argument.type
count: 1
path: src/Transport/CurlerRequest.php
-
message: '#^Property ClickHouseDB\\Transport\\CurlerRequest\:\:\$sslCa \(string\|null\) is never assigned string so it can be removed from the property type\.$#'
identifier: property.unusedType
count: 1
path: src/Transport/CurlerRequest.php
-
message: '#^Property ClickHouseDB\\Transport\\CurlerRequest\:\:\$sslCa is never read, only written\.$#'
identifier: property.onlyWritten
count: 1
path: src/Transport/CurlerRequest.php
-
message: '#^Right side of && is always true\.$#'
identifier: booleanAnd.rightAlwaysTrue
count: 1
path: src/Transport/CurlerRequest.php
-
message: '#^Call to function is_int\(\) with int will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: src/Transport/CurlerRolling.php
-
message: '#^Parameter \#1 \$id of method ClickHouseDB\\Transport\\CurlerRequest\:\:getUniqHash\(\) expects string, int given\.$#'
identifier: argument.type
count: 1
path: src/Transport/CurlerRolling.php
-
message: '#^Call to function is_array\(\) with array will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: src/Transport/Http.php
-
message: '#^Instanceof between ClickHouseDB\\Transport\\CurlerRolling and ClickHouseDB\\Transport\\CurlerRolling will always evaluate to true\.$#'
identifier: instanceof.alwaysTrue
count: 1
path: src/Transport/Http.php
-
message: '#^Property ClickHouseDB\\Transport\\Http\:\:\$handle is never read, only written\.$#'
identifier: property.onlyWritten
count: 1
path: src/Transport/Http.php
-
message: '#^Call to function is_callable\(\) with callable\(\)\: mixed will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: src/Transport/StreamInsert.php
-
message: '#^Comparison operation "\<" between 10 and 4 is always false\.$#'
identifier: smaller.alwaysFalse
count: 1
path: tests/BindingsPostTest.php
-
message: '#^Call to method PHPUnit\\Framework\\Assert\:\:assertTrue\(\) with true will always evaluate to true\.$#'
identifier: method.alreadyNarrowedType
count: 1
path: tests/ClickHouse26/SessionsTest.php
-
message: '#^Parameter \#2 \$string of method PHPUnit\\Framework\\Assert\:\:assertStringMatchesFormat\(\) expects string, false given\.$#'
identifier: argument.type
count: 1
path: tests/ClickHouse26/SessionsTest.php
-
message: '#^Call to method PHPUnit\\Framework\\Assert\:\:assertIsString\(\) with string will always evaluate to true\.$#'
identifier: method.alreadyNarrowedType
count: 3
path: tests/ClientAuthTest.php
-
message: '#^Call to method PHPUnit\\Framework\\Assert\:\:assertIsArray\(\) with array will always evaluate to true\.$#'
identifier: method.alreadyNarrowedType
count: 1
path: tests/ClientTest.php
-
message: '#^Parameter \#1 \$callback of method ClickHouseDB\\Transport\\StreamInsert\:\:insert\(\) expects callable\(\)\: mixed, array\{\} given\.$#'
identifier: argument.type
count: 2
path: tests/ClientTest.php
-
message: '#^PHPDoc tag @throws with type ClickHouseDB\\Tests\\Exception is not subtype of Throwable$#'
identifier: throws.notThrowable
count: 1
path: tests/FormatQueryTest.php
-
message: '#^PHPDoc tag @throws with type ClickHouseDB\\Tests\\Exception is not subtype of Throwable$#'
identifier: throws.notThrowable
count: 1
path: tests/ProgressAndEscapeTest.php
-
message: '#^PHPDoc tag @throws with type ClickHouseDB\\Tests\\Exception is not subtype of Throwable$#'
identifier: throws.notThrowable
count: 1
path: tests/SessionsTest.php
-
message: '#^Parameter \#2 \$string of method PHPUnit\\Framework\\Assert\:\:assertStringMatchesFormat\(\) expects string, false given\.$#'
identifier: argument.type
count: 1
path: tests/SessionsTest.php
-
message: '#^Dead catch \- ClickHouseDB\\Exception\\DatabaseException is never thrown in the try block\.$#'
identifier: catch.neverThrown
count: 2
path: tests/StructuredExceptionTest.php
-
message: '#^Call to method PHPUnit\\Framework\\Assert\:\:assertNotNull\(\) with mixed will always evaluate to true\.$#'
identifier: method.alreadyNarrowedType
count: 1
path: tests/SummaryTest.php