From 5de08e55eae23457675e8bf95d10d47418d57847 Mon Sep 17 00:00:00 2001 From: Dennis Riehle Date: Thu, 28 Nov 2024 12:09:12 +0100 Subject: [PATCH] upgraded from PHPUnit 9 to 10 --- .gitignore | 1 + composer.json | 2 +- phpunit.xml.dist | 15 ++++++++------- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 6cc8134..9ba8876 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ /.phpcs.cache +/.phpunit.cache/ /.phpunit.result.cache /coverage.xml /composer.lock diff --git a/composer.json b/composer.json index c5abfaf..f8432b2 100644 --- a/composer.json +++ b/composer.json @@ -24,7 +24,7 @@ "require-dev": { "doctrine/coding-standard": "^12.0.0", "phpstan/phpstan": "^1.9.2", - "phpunit/phpunit": "^9.5.26", + "phpunit/phpunit": "^10.5", "vimeo/psalm": "^5.15.0" }, "autoload": { diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 3bd109b..b5fd31e 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,16 +1,17 @@ - - - ./src - - + colors="true" + cacheDirectory=".phpunit.cache"> ./tests + + + ./src + +