Skip to content

Commit

Permalink
Use -1 on error_reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
natanfelles committed Nov 20, 2023
1 parent 85749c0 commit 9f24c18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boot/init.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 9f24c18

Please sign in to comment.