1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-11 16:59:45 +01:00
psalm/docs/security_analysis/annotations.md
2023-11-06 21:41:56 +01:00

870 B

Security analysis annotations

@psalm-taint-source <taint-type>

See Custom taint sources.

@psalm-taint-sink <taint-type> <param-name>

See Custom taint sinks.

@psalm-taint-escape <taint-type #conditional>

See Escaping tainted output.

@psalm-taint-unescape <taint-type>

See Unescaping statements.

@psalm-taint-specialize

See Specializing taints in functions and Specializing taints in classes.

@psalm-flow [proxy <function-like>] ( <arg>, [ <arg>, ] ) [ -> return ]

See Taint Flow