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:
parent
6d07663d70
commit
e8500e5e51
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user