From b971abcb3d33c0d9b1e9bfe5f341d936adb49947 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kuba=20Wer=C5=82os?= Date: Tue, 7 Mar 2023 20:24:30 +0100 Subject: [PATCH] Add PHPUnit 10 support --- composer.json | 6 +----- phpunit.xml.dist | 25 ++++--------------------- 2 files changed, 5 insertions(+), 26 deletions(-) diff --git a/composer.json b/composer.json index bf6287f..48c6485 100644 --- a/composer.json +++ b/composer.json @@ -11,13 +11,9 @@ ], "require": { "php": "^5.5 || ^7.0 || ^8.0", - "phpunit/phpunit": "^5.7.27 || ^6.5.14 || ^7.5.20 || ^8.0 || ^9.0", + "phpunit/phpunit": "^5.7.27 || ^6.5.14 || ^7.5.20 || ^8.0 || ^9.0 || ^10.0", "phpunitgoodpractices/polyfill": "^1.4" }, - "require-dev": { - "johnkary/phpunit-speedtrap": "^1.1 || ^2.0 || ^3.0", - "symfony/phpunit-bridge": "^3.2.2 || ^4.0" - }, "autoload": { "psr-4": { "PhpCsFixer\\PhpunitConstraintIsIdenticalString\\": "src/" diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 7c06867..dfafa0c 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -4,7 +4,6 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd" backupGlobals="false" - backupStaticAttributes="false" beStrictAboutChangesToGlobalState="true" beStrictAboutOutputDuringTests="true" beStrictAboutTestsThatDoNotTestAnything="true" @@ -12,13 +11,9 @@ bootstrap="./vendor/autoload.php" colors="true" columns="max" - convertErrorsToExceptions="true" - convertNoticesToExceptions="true" - convertWarningsToExceptions="true" enforceTimeLimit="true" processIsolation="false" stopOnFailure="false" - verbose="true" > @@ -26,22 +21,10 @@ - - + + ./src - - + + - - - - - - 100 - - - - - -