Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
session_decode has side effects
  • Loading branch information
weirdan committed Jun 12, 2020
1 parent 211f014 commit d43052b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Psalm/Internal/Codebase/Functions.php
Expand Up @@ -364,8 +364,9 @@ public function isCallMapFunctionPure(
'openlog', 'syslog', 'error_log', 'define_syslog_variables',

// session
'session_id', 'session_name', 'session_set_cookie_params', 'session_set_save_handler',
'session_regenerate_id', 'mb_internal_encoding', 'session_start',
'session_id', 'session_decode', 'session_name', 'session_set_cookie_params',
'session_set_save_handler', 'session_regenerate_id', 'mb_internal_encoding',
'session_start',

// ldap
'ldap_set_option',
Expand Down

0 comments on commit d43052b

Please sign in to comment.