1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-26 20:34:47 +01:00

Fix taint description

This commit is contained in:
Matthew Brown 2020-11-20 19:51:59 -05:00 committed by Daniil Gentili
parent 38d1dded4e
commit 7edb8ef3f8
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7

View File

@ -23,10 +23,10 @@ Example sinks:
Psalm recognises a number of taint types by default, defined in the [Psalm\Type\TaintKind](https://github.com/vimeo/psalm/blob/master/src/Psalm/Type/TaintKind.php) class:
- `text` - used for strings that could be user-controlled
- `sql` - used for strings that could contain SQL
- `html` - used for strings that could contain angle brackets or unquoted strings
- `shell` - used for strings that could contain shell commands
- `callable` - used for callable strings that could be user-controlled
- `user_secret` - used for strings that could contain user-supplied secrets
- `system_secret` - used for strings that could contain system secrets