diff --git a/.github/workflows/php-tests.yml b/.github/workflows/php-tests.yml index 1d70db5..6d0dfe2 100644 --- a/.github/workflows/php-tests.yml +++ b/.github/workflows/php-tests.yml @@ -17,3 +17,4 @@ jobs: php-extensions: uopz stable-php-versions: '["8.1"]' experimental-php-versions: '["8.2","8.3"]' + minimum-phpunit-version: '10.5.x' diff --git a/composer.json b/composer.json index b3076dd..420a94a 100644 --- a/composer.json +++ b/composer.json @@ -10,7 +10,7 @@ }, "require-dev": { "lunr/halo": "dev-master", - "phpunit/phpunit": ">=9.0 <9.6", + "phpunit/phpunit": ">=10.5 <11.0", "ext-xdebug": "~3.1" }, "config": { diff --git a/tests/phpunit.xml b/tests/phpunit.xml index fd631cf..e789a5f 100644 --- a/tests/phpunit.xml +++ b/tests/phpunit.xml @@ -3,29 +3,24 @@ - - - + cacheDirectory="../build/.phpunit.cache" + backupStaticProperties="false" + requireCoverageMetadata="true" + displayDetailsOnTestsThatTriggerDeprecations="true" + displayDetailsOnTestsThatTriggerErrors="true" + displayDetailsOnTestsThatTriggerNotices="true" + displayDetailsOnTestsThatTriggerWarnings="true" + displayDetailsOnPhpunitDeprecations="true"> ../src/Lunr/Shadow/Tests/ - - ../src/Lunr/ - - - ../src/Lunr/Shadow/Tests/ - @@ -34,4 +29,12 @@ + + + ../src/Lunr/ + + + ../src/Lunr/Shadow/Tests/ + +