From d31751de8af06d0adaac05da0e92cc92714f59b0 Mon Sep 17 00:00:00 2001 From: David Date: Tue, 5 Dec 2023 17:17:50 +0100 Subject: [PATCH] x --- src/Framework/Environment.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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'];