From e6b7179c2c8bb2eb5f389fdcaa8b1bef76c9984c Mon Sep 17 00:00:00 2001 From: Oliver Klee Date: Tue, 27 Aug 2024 14:48:06 +0200 Subject: [PATCH] [TASK] Be less strict about the `@covers` annotation We still want to require the `@covers` annotation to be used for testcase (`forceCoversAnnotation="true"`), but we also want to be able to indirectly execute code that is not referenced via an `@covers` annotation. --- phpunit.xml | 1 - 1 file changed, 1 deletion(-) diff --git a/phpunit.xml b/phpunit.xml index 1060f329..96c9fdfa 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -2,7 +2,6 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/8.5/phpunit.xsd" beStrictAboutChangesToGlobalState="true" - beStrictAboutCoversAnnotation="true" cacheResult="false" colors="true" forceCoversAnnotation="true"