From 9f24c1847d894be4858dde54081a5bb955c2415f Mon Sep 17 00:00:00 2001 From: Natan Felles Date: Mon, 20 Nov 2023 17:17:06 -0300 Subject: [PATCH] Use -1 on error_reporting --- boot/init.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boot/init.php b/boot/init.php index cce4d11..f67a8f8 100644 --- a/boot/init.php +++ b/boot/init.php @@ -6,7 +6,7 @@ * file that was distributed with this source code. */ if (isset($_SERVER['ENVIRONMENT']) && $_SERVER['ENVIRONMENT'] === 'development') { - error_reporting(\E_ALL); + error_reporting(-1); ini_set('display_errors', 'On'); } else { error_reporting(\E_ALL & ~\E_DEPRECATED & ~\E_NOTICE & ~\E_STRICT & ~\E_USER_DEPRECATED & ~\E_USER_NOTICE);