mirror of
https://github.com/danog/psalm.git
synced 2024-11-27 04:45:20 +01:00
Merge pull request #6847 from orklah/vprintf
add stub for taint detection on vprintf
This commit is contained in:
commit
a2d6861f12
@ -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…
Reference in New Issue
Block a user