1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-30 04:39:00 +01:00

Anything calling rand/mt_rand can’t be pure

This commit is contained in:
Matthew Brown 2019-08-30 16:41:59 -04:00
parent 6d07663d70
commit e8500e5e51

View File

@ -311,6 +311,7 @@ class Functions
// well-known functions
'libxml_use_internal_errors', 'array_map', 'curl_exec',
'mt_srand', 'openssl_pkcs7_sign', 'mysqli_select_db', 'preg_replace_callback',
'mt_rand', 'rand',
// php environment
'ini_set', 'sleep', 'usleep', 'register_shutdown_function',