mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 05:41:20 +01:00
Merge pull request #8658 from aboks/patch-1
Mark hash_update functions as impure
This commit is contained in:
commit
51838a5457
@ -524,6 +524,9 @@ class Functions
|
||||
|
||||
//gettext
|
||||
'bindtextdomain',
|
||||
|
||||
// hash
|
||||
'hash_update', 'hash_update_file', 'hash_update_stream',
|
||||
];
|
||||
|
||||
if (in_array(strtolower($function_id), $impure_functions, true)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user