From ce4f5073670b04a346fb980f82885d7ba0e7a79b Mon Sep 17 00:00:00 2001 From: Filippo Tessarotto Date: Mon, 27 Jan 2025 16:22:14 +0100 Subject: [PATCH] Constant `E_STRICT` is deprecated --- lib/ErrorHandler.php | 1 - phpunit.xml | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/ErrorHandler.php b/lib/ErrorHandler.php index 11d40bd..28e384f 100644 --- a/lib/ErrorHandler.php +++ b/lib/ErrorHandler.php @@ -26,7 +26,6 @@ final class ErrorHandler \E_NOTICE => 'E_NOTICE', \E_PARSE => 'E_PARSE', \E_RECOVERABLE_ERROR => 'E_RECOVERABLE_ERROR', - \E_STRICT => 'E_STRICT', \E_USER_DEPRECATED => 'E_USER_DEPRECATED', \E_USER_ERROR => 'E_USER_ERROR', \E_USER_NOTICE => 'E_USER_NOTICE', diff --git a/phpunit.xml b/phpunit.xml index 9e48ff8..c4e48f9 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -4,6 +4,8 @@ xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd" colors="true" cacheDirectory=".phpunit.cache" + displayDetailsOnPhpunitDeprecations="true" + displayDetailsOnTestsThatTriggerDeprecations="true" >