From f9f4e1d60bed8ce8bfaa1fcce2fa55dc7ad2b403 Mon Sep 17 00:00:00 2001 From: Dmitrii Derepko Date: Thu, 18 Jul 2024 11:59:49 +0300 Subject: [PATCH] Disable xdebug warning --- src/Exception/ErrorException.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Exception/ErrorException.php b/src/Exception/ErrorException.php index 2c27edf..5e5887d 100644 --- a/src/Exception/ErrorException.php +++ b/src/Exception/ErrorException.php @@ -149,6 +149,6 @@ private function isXdebugStackAvailable(): bool } // Xdebug 3 and later, proper mode is required - return str_contains(ini_get('xdebug.mode'), 'develop'); + return str_contains(ini_get('xdebug.mode'), 'debug'); } }