Skip to content

Commit

Permalink
updte file
Browse files Browse the repository at this point in the history
  • Loading branch information
juancristobalgd1 committed Mar 1, 2024
1 parent c787d30 commit 2845de0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/HandlerErrors.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@

function handlerErrors($errno, $errstr, $errfile, $errline)
{
if (error_reporting() === 0)
return false;

if (php_sapi_name() === 'cli') {
handleCliError($errno, $errstr, $errfile, $errline);
}
Expand Down

0 comments on commit 2845de0

Please sign in to comment.