mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +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…
Reference in New Issue
Block a user