Skip to content

Commit

Permalink
Merge pull request #7746 from samsonasik/patch-1
Browse files Browse the repository at this point in the history
Register openssl_sign function to impure functions
  • Loading branch information
orklah committed Mar 2, 2022
2 parents fc2c6ab + 9666b90 commit e1997c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Psalm/Internal/Codebase/Functions.php
Expand Up @@ -454,7 +454,7 @@ public function isCallMapFunctionPure(

// well-known functions
'libxml_use_internal_errors', 'libxml_disable_entity_loader', 'curl_exec',
'mt_srand', 'openssl_pkcs7_sign',
'mt_srand', 'openssl_pkcs7_sign', 'openssl_sign',
'mt_rand', 'rand', 'random_int', 'random_bytes',
'wincache_ucache_delete', 'wincache_ucache_set', 'wincache_ucache_inc',
'class_alias',
Expand Down

0 comments on commit e1997c9

Please sign in to comment.