From 6356b7eb9837aa0ff3a6dbaf3d6bf28921ccd91f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Tue, 27 Feb 2024 17:40:35 +0100 Subject: [PATCH] Enhancement: Increase strictness when running tests with phpunit/phpunit --- tests/phpunit.xml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/phpunit.xml b/tests/phpunit.xml index 27ab004..4420998 100755 --- a/tests/phpunit.xml +++ b/tests/phpunit.xml @@ -4,6 +4,12 @@ xsi:noNamespaceSchemaLocation="../vendor/phpunit/phpunit/phpunit.xsd" backupGlobals="false" backupStaticAttributes="false" + beStrictAboutChangesToGlobalState="true" + beStrictAboutCoversAnnotation="true" + beStrictAboutOutputDuringTests="true" + beStrictAboutResourceUsageDuringSmallTests="true" + beStrictAboutTestsThatDoNotTestAnything="true" + beStrictAboutTodoAnnotatedTests="true" bootstrap="../vendor/autoload.php" cacheResult="false" colors="true"