Skip to content

Commit

Permalink
Mark set_include_path() as impure
Browse files Browse the repository at this point in the history
  • Loading branch information
weirdan committed Jun 22, 2021
1 parent 6d4d166 commit 260faee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Psalm/Internal/Codebase/Functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ public function isCallMapFunctionPure(
'set_error_handler', 'user_error', 'trigger_error', 'restore_error_handler',
'date_default_timezone_set', 'assert_options', 'setlocale',
'set_exception_handler', 'set_time_limit', 'putenv', 'spl_autoload_register',
'spl_autoload_unregister', 'microtime', 'array_rand',
'spl_autoload_unregister', 'microtime', 'array_rand', 'set_include_path',

// logging
'openlog', 'syslog', 'error_log', 'define_syslog_variables',
Expand Down

0 comments on commit 260faee

Please sign in to comment.