Skip to content

Commit

Permalink
Merge pull request #5992 from samsonasik/patch-1
Browse files Browse the repository at this point in the history
Add ob_get_clean to impure function
  • Loading branch information
weirdan authored Jun 24, 2021
2 parents 38d3b15 + 3376f3c commit 7dc26b9
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 @@ -411,7 +411,7 @@ public function isCallMapFunctionPure(
'header', 'header_remove', 'http_response_code', 'setcookie',

// output buffer
'ob_start', 'ob_end_clean', 'readfile', 'printf', 'var_dump', 'phpinfo',
'ob_start', 'ob_end_clean', 'ob_get_clean', 'readfile', 'printf', 'var_dump', 'phpinfo',
'ob_implicit_flush', 'vprintf',

// mcrypt
Expand Down

0 comments on commit 7dc26b9

Please sign in to comment.