Skip to content

Commit

Permalink
makesbindtextdomain impure
Browse files Browse the repository at this point in the history
  • Loading branch information
orklah committed Jul 18, 2021
1 parent 601c8ca commit f1269d2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Psalm/Internal/Codebase/Functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -493,6 +493,9 @@ public function isCallMapFunctionPure(
// opcache
'opcache_compile_file', 'opcache_get_configuration', 'opcache_get_status',
'opcache_invalidate', 'opcache_is_script_cached', 'opcache_reset',

//gettext
'bindtextdomain',
];

if (\in_array(strtolower($function_id), $impure_functions, true)) {
Expand Down

0 comments on commit f1269d2

Please sign in to comment.