From 9372adb98015bd5744645a0a434b0266d8de9786 Mon Sep 17 00:00:00 2001 From: Bruce Weirdan Date: Sat, 27 Jan 2024 15:38:27 +0100 Subject: [PATCH] `readgzfile()` is impure Fixes vimeo/psalm#10528 --- dictionaries/ImpureFunctionsList.php | 1 + 1 file changed, 1 insertion(+) diff --git a/dictionaries/ImpureFunctionsList.php b/dictionaries/ImpureFunctionsList.php index d3a3f7ce0a3..25f94ef5298 100644 --- a/dictionaries/ImpureFunctionsList.php +++ b/dictionaries/ImpureFunctionsList.php @@ -85,6 +85,7 @@ 'ob_end_clean' => true, 'ob_get_clean' => true, 'readfile' => true, + 'readgzfile' => true, 'printf' => true, 'var_dump' => true, 'phpinfo' => true,