From 3a95a1c9cb45c284663bcdb597dc1465c6282af4 Mon Sep 17 00:00:00 2001 From: Oliver Klee Date: Fri, 25 Oct 2024 20:15:05 +0200 Subject: [PATCH 1/4] [TASK] Configure PHPUnit to be more strict --- phpunit.xml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/phpunit.xml b/phpunit.xml index 96c9fdfa..e700244a 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,11 +1,13 @@ - + tests From cde636be2582300d06f8e1a178866f0eb0ab4c7f Mon Sep 17 00:00:00 2001 From: Oliver Klee Date: Fri, 25 Oct 2024 23:57:21 +0200 Subject: [PATCH 2/4] Drop the bootstrap configuration --- phpunit.xml | 1 - 1 file changed, 1 deletion(-) diff --git a/phpunit.xml b/phpunit.xml index e700244a..9e7f4c8b 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -3,7 +3,6 @@ beStrictAboutChangesToGlobalState="true" beStrictAboutOutputDuringTests="true" beStrictAboutTodoAnnotatedTests="true" - bootstrap="vendor/autoload.php" colors="true" convertDeprecationsToExceptions="true" forceCoversAnnotation="true" From b2d0e6e19d0dd2eb734c664d25ee5b3d1dc287a9 Mon Sep 17 00:00:00 2001 From: Oliver Klee Date: Fri, 25 Oct 2024 23:57:49 +0200 Subject: [PATCH 3/4] Reformat --- phpunit.xml | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/phpunit.xml b/phpunit.xml index 9e7f4c8b..70467f4e 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,12 +1,14 @@ - + tests From 97898664283c0a4be96985f8ede1cb3e7ae2822c Mon Sep 17 00:00:00 2001 From: Oliver Klee Date: Fri, 25 Oct 2024 23:58:24 +0200 Subject: [PATCH 4/4] Don't cache results --- phpunit.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/phpunit.xml b/phpunit.xml index 70467f4e..aab1f10c 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -4,6 +4,7 @@ beStrictAboutChangesToGlobalState="true" beStrictAboutOutputDuringTests="true" beStrictAboutTodoAnnotatedTests="true" + cacheResult="false" colors="true" convertDeprecationsToExceptions="true" forceCoversAnnotation="true"