Tag reference
@psalm-taint-escape
The @psalm-taint-escape tag marks a value as no longer tainted
after passing through the described element. It is part of Psalm’s
taint-analysis annotations.
Grammar
"@psalm-taint-escape" <Name> [ <Description> ]Examples
/** * @psalm-taint-escape html */function escape(string $value): stringNames by platform
- psalm
@psalm-taint-escape
Parsing a @psalm-taint-escape tag produces a PsalmTaintEscapeTag instance, carrying the
parsed $identifier alongside the $name and optional $description
every Tag already provides.
final class PsalmTaintEscapeTag extends IdentifierTag {}