You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
message:'#^Method PhpDb\\Adapter\\Profiler\\ProfilerInterface\:\:profilerFinish\(\) invoked with 1 parameter, 0 required\.$#'
5
5
identifier:arguments.count
6
6
count:1
7
-
path:src/Driver/Mysqli/Connection.php
7
+
path:src/Connection.php
8
8
9
9
-
10
-
message:'#^Property PhpDb\\Adapter\\Mysql\\Driver\\Mysqli\\Connection\:\:\$driver \(PhpDb\\Adapter\\Mysql\\Driver\\Mysqli\\Mysqli\) does not accept PhpDb\\Adapter\\Driver\\DriverInterface\.$#'
10
+
message:'#^Property PhpDb\\Mysql\\Connection\:\:\$driver \(PhpDb\\Mysql\\Driver\) does not accept PhpDb\\Adapter\\Driver\\DriverInterface\.$#'
11
11
identifier:assign.propertyType
12
12
count:1
13
-
path:src/Driver/Mysqli/Connection.php
13
+
path:src/Connection.php
14
14
15
15
-
16
-
message:'#^Property PhpDb\\Adapter\\Mysql\\Driver\\Mysqli\\Connection\:\:\$resource \(mysqli\) does not accept null\.$#'
16
+
message:'#^Property PhpDb\\Mysql\\Connection\:\:\$resource \(mysqli\) does not accept null\.$#'
17
17
identifier:assign.propertyType
18
18
count:1
19
-
path:src/Driver/Mysqli/Connection.php
19
+
path:src/Connection.php
20
20
21
21
-
22
22
message:'#^Strict comparison using \!\=\= between null and null will always evaluate to false\.$#'
23
23
identifier:notIdentical.alwaysFalse
24
24
count:1
25
-
path:src/Driver/Mysqli/Connection.php
25
+
path:src/Connection.php
26
26
27
27
-
28
28
message:'#^Variable \$names in PHPDoc tag @var does not match assigned variable \$findParameterValue\.$#'
29
29
identifier:varTag.differentVariable
30
30
count:1
31
-
path:src/Driver/Mysqli/Connection.php
31
+
path:src/Connection.php
32
32
33
33
-
34
-
message:'#^Instanceof between PhpDb\\Adapter\\Mysql\\Driver\\Mysqli\\Connection and PhpDb\\Adapter\\Driver\\DriverAwareInterface will always evaluate to true\.$#'
34
+
message:'#^PHPDoc tag @var for variable \$connectionInstance contains unknown class PhpDb\\Mysql\\Driver\\ConnectionInterface\.$#'
35
+
identifier:class.notFound
36
+
count:1
37
+
path:src/Container/DriverInterfaceFactory.php
38
+
39
+
-
40
+
message:'#^PHPDoc tag @var for variable \$resultInstance contains unknown class PhpDb\\Mysql\\Driver\\ResultInterface\.$#'
41
+
identifier:class.notFound
42
+
count:1
43
+
path:src/Container/DriverInterfaceFactory.php
44
+
45
+
-
46
+
message:'#^PHPDoc tag @var for variable \$statementInstance contains unknown class PhpDb\\Mysql\\Driver\\StatementInterface\.$#'
47
+
identifier:class.notFound
48
+
count:1
49
+
path:src/Container/DriverInterfaceFactory.php
50
+
51
+
-
52
+
message:'#^Instanceof between PhpDb\\Mysql\\Connection and PhpDb\\Adapter\\Driver\\DriverAwareInterface will always evaluate to true\.$#'
35
53
identifier:instanceof.alwaysTrue
36
54
count:1
37
-
path:src/Driver/Mysqli/Mysqli.php
55
+
path:src/Driver.php
38
56
39
57
-
40
-
message:'#^Instanceof between PhpDb\\Adapter\\Mysql\\Driver\\Mysqli\\Connection and PhpDb\\Adapter\\Profiler\\ProfilerAwareInterface will always evaluate to true\.$#'
58
+
message:'#^Instanceof between PhpDb\\Mysql\\Connection and PhpDb\\Adapter\\Profiler\\ProfilerAwareInterface will always evaluate to true\.$#'
41
59
identifier:instanceof.alwaysTrue
42
60
count:1
43
-
path:src/Driver/Mysqli/Mysqli.php
61
+
path:src/Driver.php
44
62
45
63
-
46
-
message:'#^Instanceof between PhpDb\\Adapter\\Mysql\\Driver\\Mysqli\\Statement and PhpDb\\Adapter\\Driver\\DriverAwareInterface will always evaluate to true\.$#'
64
+
message:'#^Instanceof between PhpDb\\Mysql\\Statement and PhpDb\\Adapter\\Driver\\DriverAwareInterface will always evaluate to true\.$#'
47
65
identifier:instanceof.alwaysTrue
48
66
count:1
49
-
path:src/Driver/Mysqli/Mysqli.php
67
+
path:src/Driver.php
50
68
51
69
-
52
-
message:'#^Instanceof between PhpDb\\Adapter\\Mysql\\Driver\\Mysqli\\Statement and PhpDb\\Adapter\\Profiler\\ProfilerAwareInterface will always evaluate to true\.$#'
70
+
message:'#^Instanceof between PhpDb\\Mysql\\Statement and PhpDb\\Adapter\\Profiler\\ProfilerAwareInterface will always evaluate to true\.$#'
53
71
identifier:instanceof.alwaysTrue
54
72
count:1
55
-
path:src/Driver/Mysqli/Mysqli.php
73
+
path:src/Driver.php
56
74
57
75
-
58
-
message:'#^Method PhpDb\\Adapter\\Mysql\\Driver\\Mysqli\\Mysqli\:\:getResultPrototype\(\) should return PhpDb\\Adapter\\Mysql\\Driver\\Mysqli\\Result but returns PhpDb\\Adapter\\Driver\\ResultInterface\.$#'
76
+
message:'#^Method PhpDb\\Mysql\\Driver\:\:getResultPrototype\(\) should return PhpDb\\Mysql\\Result but returns PhpDb\\Adapter\\Driver\\ResultInterface\.$#'
59
77
identifier:return.type
60
78
count:1
61
-
path:src/Driver/Mysqli/Mysqli.php
79
+
path:src/Driver.php
62
80
63
81
-
64
-
message:'#^Parameter \#1 \$resource \(mysqli\|mysqli_stmt\|PhpDb\\Adapter\\Mysql\\Driver\\Mysqli\\mysqli_result\) of method PhpDb\\Adapter\\Mysql\\Driver\\Mysqli\\Mysqli\:\:createResult\(\) should be compatible with parameter \$resource \(resource\) of method PhpDb\\Adapter\\Driver\\DriverInterface\:\:createResult\(\)$#'
82
+
message:'#^Parameter \#1 \$resource \(mysqli\|mysqli_stmt\|PhpDb\\Mysql\\mysqli_result\) of method PhpDb\\Mysql\\Driver\:\:createResult\(\) should be compatible with parameter \$resource \(resource\) of method PhpDb\\Adapter\\Driver\\DriverInterface\:\:createResult\(\)$#'
65
83
identifier:method.childParameterType
66
84
count:1
67
-
path:src/Driver/Mysqli/Mysqli.php
85
+
path:src/Driver.php
68
86
69
87
-
70
-
message:'#^Parameter \$resource of method PhpDb\\Adapter\\Mysql\\Driver\\Mysqli\\Mysqli\:\:createResult\(\) has invalid type PhpDb\\Adapter\\Mysql\\Driver\\Mysqli\\mysqli_result\.$#'
88
+
message:'#^Parameter \$resource of method PhpDb\\Mysql\\Driver\:\:createResult\(\) has invalid type PhpDb\\Mysql\\mysqli_result\.$#'
71
89
identifier:class.notFound
72
90
count:1
73
-
path:src/Driver/Mysqli/Mysqli.php
91
+
path:src/Driver.php
92
+
93
+
-
94
+
message:'#^Parameter \#2 \$array of function implode expects array\<string\>, array\<int, array\<int, string\>\> given\.$#'
95
+
identifier:argument.type
96
+
count:2
97
+
path:src/Metadata/Source.php
98
+
99
+
-
100
+
message:'#^Parameter \#2 \$array of function implode expects array\<string\>, array\<int, list\<string\>\> given\.$#'
101
+
identifier:argument.type
102
+
count:4
103
+
path:src/Metadata/Source.php
104
+
105
+
-
106
+
message:'#^Variable \$isFK might not be defined\.$#'
107
+
identifier:variable.undefined
108
+
count:1
109
+
path:src/Metadata/Source.php
110
+
111
+
-
112
+
message:'#^Variable \$name might not be defined\.$#'
113
+
identifier:variable.undefined
114
+
count:2
115
+
path:src/Metadata/Source.php
116
+
117
+
-
118
+
message:'#^Call to function is_string\(\) with string will always evaluate to true\.$#'
119
+
identifier:function.alreadyNarrowedType
120
+
count:1
121
+
path:src/Pdo/Connection.php
122
+
123
+
-
124
+
message:'#^Parameter \#1 \$resource \(PDOStatement\) of method PhpDb\\Mysql\\Pdo\\Driver\:\:createResult\(\) should be compatible with parameter \$resource \(resource\) of method PhpDb\\Adapter\\Driver\\DriverInterface\:\:createResult\(\)$#'
125
+
identifier:method.childParameterType
126
+
count:3
127
+
path:src/Pdo/Driver.php
74
128
75
129
-
76
130
message:'#^Instanceof between mysqli_stmt and mysqli_stmt will always evaluate to true\.$#'
77
131
identifier:instanceof.alwaysTrue
78
132
count:2
79
-
path:src/Driver/Mysqli/Result.php
133
+
path:src/Result.php
80
134
81
135
-
82
-
message:'#^Method PhpDb\\Adapter\\Mysql\\Driver\\Mysqli\\Result\:\:initialize\(\) has PhpDb\\Adapter\\Exception\\InvalidArgumentException in PHPDoc @throws tag but it''s not thrown\.$#'
136
+
message:'#^Method PhpDb\\Mysql\\Result\:\:initialize\(\) has PhpDb\\Adapter\\Exception\\InvalidArgumentException in PHPDoc @throws tag but it''s not thrown\.$#'
83
137
identifier:throws.unusedType
84
138
count:1
85
-
path:src/Driver/Mysqli/Result.php
139
+
path:src/Result.php
86
140
87
141
-
88
-
message:'#^Method PhpDb\\Adapter\\Mysql\\Driver\\Mysqli\\Result\:\:isBuffered\(\) never returns null so it can be removed from the return type\.$#'
142
+
message:'#^Method PhpDb\\Mysql\\Result\:\:isBuffered\(\) never returns null so it can be removed from the return type\.$#'
89
143
identifier:return.unusedType
90
144
count:1
91
-
path:src/Driver/Mysqli/Result.php
145
+
path:src/Result.php
92
146
93
147
-
94
148
message:'#^Result of && is always false\.$#'
95
149
identifier:booleanAnd.alwaysFalse
96
150
count:1
97
-
path:src/Driver/Mysqli/Result.php
151
+
path:src/Result.php
98
152
99
153
-
100
154
message:'#^Instanceof between PhpDb\\Adapter\\ParameterContainer and PhpDb\\Adapter\\ParameterContainer will always evaluate to true\.$#'
101
155
identifier:instanceof.alwaysTrue
102
156
count:1
103
-
path:src/Driver/Mysqli/Statement.php
157
+
path:src/Statement.php
104
158
105
159
-
106
160
message:'#^Instanceof between mysqli_stmt and mysqli_stmt will always evaluate to true\.$#'
107
161
identifier:instanceof.alwaysTrue
108
162
count:1
109
-
path:src/Driver/Mysqli/Statement.php
163
+
path:src/Statement.php
110
164
111
165
-
112
-
message:'#^Method PhpDb\\Adapter\\Mysql\\Driver\\Mysqli\\Statement\:\:execute\(\) never returns null so it can be removed from the return type\.$#'
166
+
message:'#^Method PhpDb\\Mysql\\Statement\:\:execute\(\) never returns null so it can be removed from the return type\.$#'
113
167
identifier:return.unusedType
114
168
count:1
115
-
path:src/Driver/Mysqli/Statement.php
169
+
path:src/Statement.php
116
170
117
171
-
118
-
message:'#^Method PhpDb\\Adapter\\Mysql\\Driver\\Mysqli\\Statement\:\:getParameterContainer\(\) never returns null so it can be removed from the return type\.$#'
172
+
message:'#^Method PhpDb\\Mysql\\Statement\:\:getParameterContainer\(\) never returns null so it can be removed from the return type\.$#'
119
173
identifier:return.unusedType
120
174
count:1
121
-
path:src/Driver/Mysqli/Statement.php
175
+
path:src/Statement.php
122
176
123
177
-
124
-
message:'#^Method PhpDb\\Adapter\\Mysql\\Driver\\Mysqli\\Statement\:\:getSql\(\) never returns null so it can be removed from the return type\.$#'
178
+
message:'#^Method PhpDb\\Mysql\\Statement\:\:getSql\(\) never returns null so it can be removed from the return type\.$#'
125
179
identifier:return.unusedType
126
180
count:1
127
-
path:src/Driver/Mysqli/Statement.php
181
+
path:src/Statement.php
128
182
129
183
-
130
-
message:'#^Property PhpDb\\Adapter\\Mysql\\Driver\\Mysqli\\Statement\:\:\$driver \(PhpDb\\Adapter\\Mysql\\Driver\\Mysqli\\Mysqli\) does not accept PhpDb\\Adapter\\Driver\\DriverInterface\.$#'
184
+
message:'#^Property PhpDb\\Mysql\\Statement\:\:\$driver \(PhpDb\\Mysql\\Driver\) does not accept PhpDb\\Adapter\\Driver\\DriverInterface\.$#'
131
185
identifier:assign.propertyType
132
186
count:1
133
-
path:src/Driver/Mysqli/Statement.php
187
+
path:src/Statement.php
134
188
135
189
-
136
-
message:'#^Call to function is_string\(\) with string will always evaluate to true\.$#'
137
-
identifier:function.alreadyNarrowedType
190
+
message:'#^Call to an undefined method PhpDb\\Mysql\\Driver\:\:quoteValue\(\)\.$#'
191
+
identifier:method.notFound
192
+
count:2
193
+
path:test/integration/AdapterPlatformTest.php
194
+
195
+
-
196
+
message:'#^Parameter \#1 \$connection of class PhpDb\\Mysql\\Driver constructor expects PhpDb\\Mysql\\Connection, PDO given\.$#'
197
+
identifier:argument.type
138
198
count:1
139
-
path:src/Driver/Pdo/Connection.php
199
+
path:test/integration/AdapterPlatformTest.php
140
200
141
201
-
142
-
message:'#^Parameter \#1 \$resource \(PDOStatement\) of method PhpDb\\Adapter\\Mysql\\Driver\\Pdo\\Pdo\:\:createResult\(\) should be compatible with parameter \$resource \(resource\) of method PhpDb\\Adapter\\Driver\\DriverInterface\:\:createResult\(\)$#'
143
-
identifier:method.childParameterType
144
-
count:3
145
-
path:src/Driver/Pdo/Pdo.php
202
+
message:'#^Parameter \#1 \$connection of class PhpDb\\Mysql\\Driver constructor expects PhpDb\\Mysql\\Connection, mysqli given\.$#'
203
+
identifier:argument.type
204
+
count:1
205
+
path:test/integration/AdapterPlatformTest.php
146
206
147
207
-
148
-
message:'#^Parameter \#2 \$array of function implode expects array\<string\>, array\<int, array\<int, string\>\> given\.$#'
208
+
message:'#^Parameter \#2 \$statementPrototype of class PhpDb\\Mysql\\Driver constructor expects PhpDb\\Mysql\\Statement, PhpDb\\Adapter\\Driver\\Pdo\\Statement given\.$#'
149
209
identifier:argument.type
150
-
count:2
151
-
path:src/Metadata/Source/MysqlMetadata.php
210
+
count:1
211
+
path:test/integration/AdapterPlatformTest.php
152
212
153
213
-
154
-
message:'#^Parameter \#2 \$array of function implode expects array\<string\>, array\<int, list\<string\>\> given\.$#'
214
+
message:'#^Property PhpDbIntegrationTest\\Mysql\\Platform\\AdapterPlatformTest\:\:\$adapters \(array\<string, mysqli\|PDO\>\) does not accept array\<string, mysqli\|PDO\|PhpDb\\Mysql\\Connection\>\.$#'
215
+
identifier:assign.propertyType
216
+
count:1
217
+
path:test/integration/AdapterPlatformTest.php
218
+
219
+
-
220
+
message:'#^Property PhpDbIntegrationTest\\Mysql\\Platform\\AdapterPlatformTest\:\:\$adapters \(array\<string, mysqli\|PDO\>\) does not accept array\<string, mysqli\|PDO\|PhpDb\\Mysql\\Pdo\\Connection\>\.$#'
221
+
identifier:assign.propertyType
222
+
count:1
223
+
path:test/integration/AdapterPlatformTest.php
224
+
225
+
-
226
+
message:'#^Callable PhpDb\\Mysql\\Container\\DriverInterfaceFactory invoked with 1 parameter, 2\-3 required\.$#'
0 commit comments