From 259453b1ebc99014a73279d4dea3eb723b7e2870 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maur=C3=ADcio=20Meneghini=20Fauth?= Date: Thu, 12 Sep 2024 15:08:22 -0300 Subject: [PATCH] Remove PHPUnit 7 from composer.json MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit As PHP >= 7.2 is required, PHPUnit 7 is never installed. Signed-off-by: MaurĂ­cio Meneghini Fauth --- .gitignore | 1 - composer.json | 2 +- phpunit.xml.dist | 26 ++++++++++++-------------- 3 files changed, 13 insertions(+), 16 deletions(-) diff --git a/.gitignore b/.gitignore index 6b80c2d..3b94c48 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,5 @@ phpunit.xml vendor/ build/ composer.lock -.phpunit.result.cache phpcs.xml .phpcs-cache diff --git a/composer.json b/composer.json index 031276d..9b2a3e8 100644 --- a/composer.json +++ b/composer.json @@ -27,7 +27,7 @@ "phpmyadmin/coding-standard": "^3.0.0", "phpmyadmin/motranslator": "^5.2", "phpstan/phpstan": "^1.9.4", - "phpunit/phpunit": "^7 || ^8 || ^9" + "phpunit/phpunit": "^8.5 || ^9.6" }, "scripts": { "phpstan": "./vendor/bin/phpstan analyse", diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 614234b..1f54f8d 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,18 +1,16 @@ - - + cacheResultFile="build/.phpunit.cache/test-results" + beStrictAboutOutputDuringTests="true" + beStrictAboutTodoAnnotatedTests="true" + convertDeprecationsToExceptions="true" + colors="true" + verbose="true"> - - ./test/ + + test @@ -21,8 +19,8 @@ - - ./src/ + + src