From f1269d2425d1c67118317bfa436767ec066b2021 Mon Sep 17 00:00:00 2001 From: orklah Date: Sun, 18 Jul 2021 14:24:43 +0200 Subject: [PATCH] makesbindtextdomain impure --- src/Psalm/Internal/Codebase/Functions.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Psalm/Internal/Codebase/Functions.php b/src/Psalm/Internal/Codebase/Functions.php index 8b9ad1f9081..68a45e441c0 100644 --- a/src/Psalm/Internal/Codebase/Functions.php +++ b/src/Psalm/Internal/Codebase/Functions.php @@ -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)) {