Skip to content

Commit

Permalink
Remove deprecated constant E_STRICT
Browse files Browse the repository at this point in the history
Error reporting constant E_STRICT is deprecated since PHP 8.4

See https://php.watch/versions/8.4/E_STRICT-deprecated
  • Loading branch information
getdatakick committed Dec 5, 2024
1 parent bebcfe0 commit 369c938
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/ErrorHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public function __construct(Logger $logger)

// initialize error reporting
@ini_set('display_errors', 'off');
@error_reporting(E_ALL | E_STRICT);
@error_reporting(E_ALL);
}

/**
Expand Down

0 comments on commit 369c938

Please sign in to comment.