From 0d277665e6dca03a818d3fc6eed31a91a055cda8 Mon Sep 17 00:00:00 2001 From: Thomas Meschke Date: Tue, 14 Nov 2023 11:24:56 +0100 Subject: [PATCH] replace -1 with E_ALL in error_reporting calls --- app/Config/Boot/development.php | 2 +- app/Config/Boot/testing.php | 2 +- spark | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Config/Boot/development.php b/app/Config/Boot/development.php index aa8099a46501..a868447a8e37 100644 --- a/app/Config/Boot/development.php +++ b/app/Config/Boot/development.php @@ -10,7 +10,7 @@ | | If you set 'display_errors' to '1', CI4's detailed error report will show. */ -error_reporting(-1); +error_reporting(E_ALL); ini_set('display_errors', '1'); /* diff --git a/app/Config/Boot/testing.php b/app/Config/Boot/testing.php index e84670e972f6..40b6ca83cf3f 100644 --- a/app/Config/Boot/testing.php +++ b/app/Config/Boot/testing.php @@ -14,7 +14,7 @@ | make sure they don't make it to production. And save us hours of | painful debugging. */ -error_reporting(-1); +error_reporting(E_ALL); ini_set('display_errors', '1'); /* diff --git a/spark b/spark index 2ea79d5ccdaf..9daa44034473 100755 --- a/spark +++ b/spark @@ -39,7 +39,7 @@ if (version_compare(PHP_VERSION, $minPhpVersion, '<')) { } // We want errors to be shown when using it from the CLI. -error_reporting(-1); +error_reporting(E_ALL); ini_set('display_errors', '1'); /**