1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-30 04:39:00 +01:00

Merge pull request #6131 from orklah/bindtextdomain

makes bindtextdomain impure
This commit is contained in:
Bruce Weirdan 2021-07-18 16:53:59 +03:00 committed by GitHub
commit b589525eb1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -493,6 +493,9 @@ class Functions
// 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)) {