From 662ce8d80b34bd0de3b239dabeade7a5d278609f Mon Sep 17 00:00:00 2001 From: Colin O'Dell Date: Mon, 20 May 2024 09:29:56 -0400 Subject: [PATCH] Workaround phpstan considering print_r to be impure --- src/Exception/InvalidConfigurationException.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Exception/InvalidConfigurationException.php b/src/Exception/InvalidConfigurationException.php index f2a6b69..7c327a8 100644 --- a/src/Exception/InvalidConfigurationException.php +++ b/src/Exception/InvalidConfigurationException.php @@ -41,6 +41,7 @@ private static function getDebugValue($value): string return \get_class($value); } + // @phpstan-ignore possiblyImpure.functionCall return \print_r($value, true); } }