From 4b080ed37d5cee113caed2780dcd5b599d10dc34 Mon Sep 17 00:00:00 2001 From: Jan Noehles Date: Mon, 16 Sep 2024 12:21:32 +0200 Subject: [PATCH] Add attributes in phpunit.xml to let tests fail on warnings, notices and deprecations (#8) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jan Nöhles --- phpunit.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/phpunit.xml b/phpunit.xml index 7d0904f..8b5319c 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -3,6 +3,9 @@ xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.3/phpunit.xsd" bootstrap="vendor/autoload.php" colors="true" + failOnWarning="true" + failOnDeprecation="true" + failOnNotice="true" >