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:
parent
f327c986d0
commit
3ff3616ef4
@ -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
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user