diff --git a/src/Framework/Environment.php b/src/Framework/Environment.php index a75499e7..c84bfcfa 100644 --- a/src/Framework/Environment.php +++ b/src/Framework/Environment.php @@ -110,7 +110,7 @@ public static function setupErrors(): void ini_set('log_errors', '0'); set_exception_handler([self::class, 'handleException']); - +/* set_error_handler(static function (int $severity, string $message, string $file, int $line): ?bool { if ( in_array($severity, [E_RECOVERABLE_ERROR, E_USER_ERROR], true) @@ -121,6 +121,7 @@ public static function setupErrors(): void return false; }); + */ /* register_shutdown_function(static function (): void { Assert::$onFailure = [self::class, 'handleException'];