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'); /**