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:
commit
b589525eb1
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user