Skip to content

Commit

Permalink
Merge pull request #5981 from weirdan/set_include_path-is-impure
Browse files Browse the repository at this point in the history
Mark `set_include_path()` as impure
  • Loading branch information
weirdan authored Jun 22, 2021
2 parents 134eda6 + 260faee commit 686ae59
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 686ae59

Please sign in to comment.