1
0
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:
orklah 2022-11-04 11:35:03 +01:00 committed by GitHub
commit 51838a5457
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)) {