@@ -47,6 +47,7 @@ public function disconnect(): void;
4747 *
4848 * @return int
4949 *
50+ * @psalm-taint-sink sql $statement
5051 */
5152 public function fetchAffected (string $ statement , array $ values = []): int ;
5253
@@ -61,6 +62,7 @@ public function fetchAffected(string $statement, array $values = []): int;
6162 *
6263 * @return array
6364 *
65+ * @psalm-taint-sink sql $statement
6466 */
6567 public function fetchAll (string $ statement , array $ values = []): array ;
6668
@@ -79,6 +81,7 @@ public function fetchAll(string $statement, array $values = []): array;
7981 *
8082 * @return array
8183 *
84+ * @psalm-taint-sink sql $statement
8285 */
8386 public function fetchAssoc (string $ statement , array $ values = []): array ;
8487
@@ -92,6 +95,7 @@ public function fetchAssoc(string $statement, array $values = []): array;
9295 *
9396 * @return array
9497 *
98+ * @psalm-taint-sink sql $statement
9599 */
96100 public function fetchCol (string $ statement , array $ values = []): array ;
97101
@@ -109,6 +113,7 @@ public function fetchCol(string $statement, array $values = []): array;
109113 *
110114 * @return array
111115 *
116+ * @psalm-taint-sink sql $statement
112117 */
113118 public function fetchGroup (
114119 string $ statement ,
@@ -137,6 +142,7 @@ public function fetchGroup(
137142 *
138143 * @return object|false
139144 *
145+ * @psalm-taint-sink sql $statement
140146 */
141147 public function fetchObject (
142148 string $ statement ,
@@ -168,6 +174,7 @@ public function fetchObject(
168174 *
169175 * @return array
170176 *
177+ * @psalm-taint-sink sql $statement
171178 */
172179 public function fetchObjects (
173180 string $ statement ,
@@ -186,6 +193,7 @@ public function fetchObjects(
186193 *
187194 * @return array|false
188195 *
196+ * @psalm-taint-sink sql $statement
189197 */
190198 public function fetchOne (string $ statement , array $ values = []): array |false ;
191199
@@ -200,6 +208,7 @@ public function fetchOne(string $statement, array $values = []): array|false;
200208 *
201209 * @return array
202210 *
211+ * @psalm-taint-sink sql $statement
203212 */
204213 public function fetchPairs (string $ statement , array $ values = []): array ;
205214
@@ -213,6 +222,7 @@ public function fetchPairs(string $statement, array $values = []): array;
213222 *
214223 * @return mixed
215224 *
225+ * @psalm-taint-sink sql $statement
216226 */
217227 public function fetchValue (string $ statement , array $ values = []): mixed ;
218228
@@ -304,6 +314,7 @@ public function setProfiler(ProfilerInterface $profiler): void;
304314 *
305315 * @return \Generator
306316 *
317+ * @psalm-taint-sink sql $statement
307318 */
308319 public function yieldAll (string $ statement , array $ values = []): Generator ;
309320
@@ -317,6 +328,7 @@ public function yieldAll(string $statement, array $values = []): Generator;
317328 *
318329 * @return \Generator
319330 *
331+ * @psalm-taint-sink sql $statement
320332 */
321333 public function yieldAssoc (string $ statement , array $ values = []): Generator ;
322334
@@ -330,6 +342,7 @@ public function yieldAssoc(string $statement, array $values = []): Generator;
330342 *
331343 * @return \Generator
332344 *
345+ * @psalm-taint-sink sql $statement
333346 */
334347 public function yieldCol (string $ statement , array $ values = []): Generator ;
335348
@@ -354,6 +367,7 @@ public function yieldCol(string $statement, array $values = []): Generator;
354367 *
355368 * @return \Generator
356369 *
370+ * @psalm-taint-sink sql $statement
357371 */
358372 public function yieldObjects (
359373 string $ statement ,
@@ -373,6 +387,7 @@ public function yieldObjects(
373387 *
374388 * @return \Generator
375389 *
390+ * @psalm-taint-sink sql $statement
376391 */
377392 public function yieldPairs (string $ statement , array $ values = []): Generator ;
378393
@@ -387,6 +402,7 @@ public function yieldPairs(string $statement, array $values = []): Generator;
387402 *
388403 * @return \PDOStatement
389404 *
405+ * @psalm-taint-sink sql $statement
390406 */
391407 public function perform (string $ statement , array $ values = []): PDOStatement ;
392408
@@ -411,6 +427,7 @@ public function perform(string $statement, array $values = []): PDOStatement;
411427 *
412428 * @see http://php.net/manual/en/pdo.prepare.php
413429 *
430+ * @psalm-taint-sink sql $statement
414431 */
415432 public function prepareWithValues (string $ statement , array $ values = []): PDOStatement ;
416433}
0 commit comments