Tag reference
@psalm-taint-specialize
The @psalm-taint-specialize tag tells Psalm to track tainted data
separately per call site, rather than merging taint information from
all callers together. It is part of Psalm’s taint-analysis
annotations.
Grammar
"@psalm-taint-specialize" [ <Description> ]Examples
/** * @psalm-taint-specialize */function identity(string $value): stringNames by platform
- psalm
@psalm-taint-specialize
Parsing a @psalm-taint-specialize tag produces a PsalmTaintSpecializeTag instance. Being a pure
marker, it adds nothing beyond the $name and optional $description
every Tag already carries.
final class PsalmTaintSpecializeTag extends FlagTag {}