@psalm-taint-sink
The @psalm-taint-sink tag marks an argument as a taint sink for the given taint type. It is part of Psalm's taint-analysis annotations.
"@psalm-taint-sink" <Name> <Variable>
Parsing a @psalm-taint-sink tag produces a PsalmTaintSinkTag instance, carrying the parsed $taint type and $variable alongside the $name every Tag already provides.
final class PsalmTaintSinkTag extends Tag {}
See Psalm's security analysis annotations.
08 July 2026