-
-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy path.phpstan-dba-mysqli.cache
316 lines (309 loc) · 10.2 KB
/
.phpstan-dba-mysqli.cache
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
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
<?php return array (
'schemaVersion' => 'v12-new-cache5',
'schemaHash' => 'f94fe2b38e193ad685009d3f4942f476',
'records' =>
array (
'SELECT
coalesce(COLUMN_NAME, \'\') as COLUMN_NAME,
coalesce(EXTRA, \'\') as EXTRA,
COLUMN_TYPE
FROM information_schema.columns
WHERE table_name = \'1970-01-01\' AND table_schema = DATABASE()' =>
array (
'result' =>
array (
5 =>
array (
'type-description' => 'array{COLUMN_NAME: string, 0: string, EXTRA: string, 1: string, COLUMN_TYPE: string, 2: string}',
),
),
),
'SELECT
MD5(
GROUP_CONCAT(
InnerSelect.columns
)
) AS dbsignature,
1 AS grouper
FROM (
SELECT
CONCAT(
COALESCE(COLUMN_NAME, \'\'),
COALESCE(EXTRA, \'\'),
COLUMN_TYPE,
IS_NULLABLE
) as columns
FROM
information_schema.columns
WHERE
table_schema = DATABASE()
ORDER BY table_name, column_name
) as InnerSelect
GROUP BY
grouper' =>
array (
'result' =>
array (
5 =>
array (
'type-description' => 'array{dbsignature: string|null, 0: string|null, grouper: int, 1: int}',
),
3 =>
array (
'type-description' => 'array{dbsignature: string|null, grouper: int}',
),
),
),
'SELECT * FROM ada' =>
array (
'result' =>
array (
3 =>
array (
'type-description' => 'array{adaid: int<-32768, 32767>, gesperrt: int<-128, 127>, email: string, freigabe1u1: int<-32768, 32767>}',
),
),
),
'SELECT * FROM ak' =>
array (
'result' =>
array (
3 =>
array (
'type-description' => 'array{akid: int<-2147483648, 2147483647>, eladaid: int<-2147483648, 2147483647>|null, eadavk: numeric-string}',
),
),
),
'SELECT adaid FROM ada WHERE adaid IN (\'1\')' =>
array (
'result' =>
array (
5 =>
array (
'type-description' => 'array{adaid: int<-32768, 32767>, 0: int<-32768, 32767>}',
),
),
),
'SELECT adaid FROM ada WHERE adaid IN (\'1\') AND email LIKE \'1970-01-01\'' =>
array (
'result' =>
array (
5 =>
array (
'type-description' => 'array{adaid: int<-32768, 32767>, 0: int<-32768, 32767>}',
),
),
),
'SELECT adaid FROM ada WHERE email LIKE \'%questions ?%\'' =>
array (
'result' =>
array (
5 =>
array (
'type-description' => 'array{adaid: int<-32768, 32767>, 0: int<-32768, 32767>}',
),
),
),
'SELECT adaid FROM ada WHERE email LIKE \'hello?%\'' =>
array (
'result' =>
array (
5 =>
array (
'type-description' => 'array{adaid: int<-32768, 32767>, 0: int<-32768, 32767>}',
),
),
),
'SELECT akid FROM ak WHERE akid IN (\'1\')' =>
array (
'result' =>
array (
5 =>
array (
'type-description' => 'array{akid: int<-2147483648, 2147483647>, 0: int<-2147483648, 2147483647>}',
),
),
),
'SELECT akid FROM ak WHERE id IN (\'1\')' =>
array (
'error' =>
\staabm\PHPStanDba\Error::__set_state(array(
'message' => 'Unknown column \'id\' in \'where clause\'',
'code' => 1054,
)),
),
'SELECT akid FROM table WHERE id IN (\'1\')' =>
array (
'error' =>
\staabm\PHPStanDba\Error::__set_state(array(
'message' => 'You have an error in your SQL syntax; check the manual that corresponds to your MySQL/MariaDB server version for the right syntax to use near \'table WHERE id IN (\'1\') LIMIT 0\' at line 1
Simulated query: SELECT akid FROM table WHERE id IN (\'1\') LIMIT 0',
'code' => 1064,
)),
),
'SELECT column_name, column_default, is_nullable
FROM information_schema.columns
WHERE table_name = \'1970-01-01\'' =>
array (
'result' =>
array (
5 =>
array (
'type-description' => 'array{COLUMN_NAME: string, 0: string, COLUMN_DEFAULT: string|null, 1: string|null, IS_NULLABLE: string, 2: string}',
),
),
),
'SELECT email adaid
WHERE gesperrt = \'1\' AND email LIKE \'%@example.com\'
FROM ada
LIMIT 1' =>
array (
'error' =>
\staabm\PHPStanDba\Error::__set_state(array(
'message' => 'You have an error in your SQL syntax; check the manual that corresponds to your MySQL/MariaDB server version for the right syntax to use near \'FROM ada LIMIT 0\' at line 3
Simulated query: SELECT email adaid
WHERE gesperrt = \'1\' AND email LIKE \'%@example.com\'
FROM ada LIMIT 0',
'code' => 1064,
)),
),
'SELECT email adaid WHERE gesperrt freigabe1u1 FROM ada' =>
array (
'error' =>
\staabm\PHPStanDba\Error::__set_state(array(
'message' => 'You have an error in your SQL syntax; check the manual that corresponds to your MySQL/MariaDB server version for the right syntax to use near \'freigabe1u1 FROM ada LIMIT 0\' at line 1
Simulated query: SELECT email adaid WHERE gesperrt freigabe1u1 FROM ada LIMIT 0',
'code' => 1064,
)),
),
'SELECT email adaid gesperrt freigabe1u1 FROM ada' =>
array (
'error' =>
\staabm\PHPStanDba\Error::__set_state(array(
'message' => 'You have an error in your SQL syntax; check the manual that corresponds to your MySQL/MariaDB server version for the right syntax to use near \'gesperrt freigabe1u1 FROM ada LIMIT 0\' at line 1
Simulated query: SELECT email adaid gesperrt freigabe1u1 FROM ada LIMIT 0',
'code' => 1064,
)),
),
'SELECT email, adaid FROM ada WHERE email = \'a\'' =>
array (
'result' =>
array (
5 =>
array (
'type-description' => 'array{email: string, 0: string, adaid: int<-32768, 32767>, 1: int<-32768, 32767>}',
),
),
),
'SELECT email, adaid FROM ada' =>
array (
'result' =>
array (
5 =>
array (
'type-description' => 'array{email: string, 0: string, adaid: int<-32768, 32767>, 1: int<-32768, 32767>}',
),
),
),
'SELECT email, adaid FROM ada WHERE adaid = \'1\'' =>
array (
'result' =>
array (
5 =>
array (
'type-description' => 'array{email: string, 0: string, adaid: int<-32768, 32767>, 1: int<-32768, 32767>}',
),
),
),
'SELECT email, adaid FROM ada WHERE adaid=1' =>
array (
'result' =>
array (
5 =>
array (
'type-description' => 'array{email: string, 0: string, adaid: int<-32768, 32767>, 1: int<-32768, 32767>}',
),
),
),
'SELECT email, adaid FROM ada WHERE email = \'[email protected]\'' =>
array (
'result' =>
array (
5 =>
array (
'type-description' => 'array{email: string, 0: string, adaid: int<-32768, 32767>, 1: int<-32768, 32767>}',
),
),
),
'SELECT email, adaid FROM ada WHERE email=\'[email protected]\'' =>
array (
'result' =>
array (
5 =>
array (
'type-description' => 'array{email: string, 0: string, adaid: int<-32768, 32767>, 1: int<-32768, 32767>}',
),
),
),
'SELECT email, adaid, gesperrt, freigabe1u1 FROM ada WHERE adaid = \'1\'' =>
array (
'result' =>
array (
5 =>
array (
'type-description' => 'array{email: string, 0: string, adaid: int<-32768, 32767>, 1: int<-32768, 32767>, gesperrt: int<-128, 127>, 2: int<-128, 127>, freigabe1u1: int<-32768, 32767>, 3: int<-32768, 32767>}',
),
),
),
'SELECT email, adaid, gesperrt, freigabe1u1 FROM ada WHERE asdsa=\'1\'' =>
array (
'error' =>
\staabm\PHPStanDba\Error::__set_state(array(
'message' => 'Unknown column \'asdsa\' in \'where clause\'',
'code' => 1054,
)),
),
'SELECT id FROM table WHERE a=\'1970-01-01\' AND err-or id IN (\'1\')' =>
array (
'error' =>
\staabm\PHPStanDba\Error::__set_state(array(
'message' => 'You have an error in your SQL syntax; check the manual that corresponds to your MySQL/MariaDB server version for the right syntax to use near \'table WHERE a=\'1970-01-01\' AND err-or id IN (\'1\') LIMIT 0\' at line 1
Simulated query: SELECT id FROM table WHERE a=\'1970-01-01\' AND err-or id IN (\'1\') LIMIT 0',
'code' => 1064,
)),
),
'SELECT id FROM table WHERE err-or id IN (\'1\')' =>
array (
'error' =>
\staabm\PHPStanDba\Error::__set_state(array(
'message' => 'You have an error in your SQL syntax; check the manual that corresponds to your MySQL/MariaDB server version for the right syntax to use near \'table WHERE err-or id IN (\'1\') LIMIT 0\' at line 1
Simulated query: SELECT id FROM table WHERE err-or id IN (\'1\') LIMIT 0',
'code' => 1064,
)),
),
'SELECT id FROM table WHERE id IN (\'1\')' =>
array (
'error' =>
\staabm\PHPStanDba\Error::__set_state(array(
'message' => 'You have an error in your SQL syntax; check the manual that corresponds to your MySQL/MariaDB server version for the right syntax to use near \'table WHERE id IN (\'1\') LIMIT 0\' at line 1
Simulated query: SELECT id FROM table WHERE id IN (\'1\') LIMIT 0',
'code' => 1064,
)),
),
'Select * from ada
where adakzid = 15' =>
array (
'error' =>
\staabm\PHPStanDba\Error::__set_state(array(
'message' => 'Unknown column \'adakzid\' in \'where clause\'',
'code' => 1054,
)),
),
),
'runtimeConfig' =>
array (
'errorMode' => 'exception',
'debugMode' => true,
'stringifyTypes' => false,
),
);