1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-21 21:31:13 +01:00

add stub for taint detection on vprintf

This commit is contained in:
orklah 2021-11-07 09:25:27 +01:00
parent f327c986d0
commit 3ff3616ef4

View File

@ -1018,6 +1018,13 @@ function wordwrap(string $string, int $width = 75, string $break = "\n", bool $c
*/
function printf(string $format, ...$values) : string {}
/**
* @psalm-taint-specialize
* @psalm-taint-sink html $format
* @psalm-taint-sink html $values
*/
function vprintf(string $format, array $values) : int {}
/**
* @psalm-pure
*