From 4659b552bc9f2380986e3f4b7e2bd4e512470e0d Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Sun, 16 Jul 2023 17:37:21 +0200 Subject: [PATCH] [Runtime][ErrorHandler] Don't mess with ini_set('assert.warning') --- Internal/BasicErrorHandler.php | 1 - 1 file changed, 1 deletion(-) diff --git a/Internal/BasicErrorHandler.php b/Internal/BasicErrorHandler.php index 3c97cba..6f41af5 100644 --- a/Internal/BasicErrorHandler.php +++ b/Internal/BasicErrorHandler.php @@ -32,7 +32,6 @@ public static function register(bool $debug): void if (0 <= \ini_get('zend.assertions')) { ini_set('zend.assertions', 1); ini_set('assert.active', $debug); - ini_set('assert.warning', 0); ini_set('assert.exception', 1); }