Skip to content

Commit 521cc98

Browse files
authored
Merge pull request #8212 from ThomasMeschke/develop
replace -1 with E_ALL in error_reporting calls
2 parents 82d35c8 + 0d27766 commit 521cc98

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

app/Config/Boot/development.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
|
1111
| If you set 'display_errors' to '1', CI4's detailed error report will show.
1212
*/
13-
error_reporting(-1);
13+
error_reporting(E_ALL);
1414
ini_set('display_errors', '1');
1515

1616
/*

app/Config/Boot/testing.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
| make sure they don't make it to production. And save us hours of
1515
| painful debugging.
1616
*/
17-
error_reporting(-1);
17+
error_reporting(E_ALL);
1818
ini_set('display_errors', '1');
1919

2020
/*

spark

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ if (version_compare(PHP_VERSION, $minPhpVersion, '<')) {
3939
}
4040

4141
// We want errors to be shown when using it from the CLI.
42-
error_reporting(-1);
42+
error_reporting(E_ALL);
4343
ini_set('display_errors', '1');
4444

4545
/**

0 commit comments

Comments
 (0)