Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/php-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
31 changes: 17 additions & 14 deletions tests/phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,24 @@
<!-- SPDX-FileCopyrightText: Copyright 2022 Move Agency Group B.V., Zwolle, The Netherlands -->
<!-- SPDX-License-Identifier: CC0-1.0 -->
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd"
bootstrap="test.bootstrap.inc.php"
backupGlobals="false"
backupStaticAttributes="false"
cacheResult="false"
forceCoversAnnotation="true"
colors="true"
verbose="true">
<php>
<ini name="zend.enable_gc" value="1"/>
</php>
cacheDirectory="../build/.phpunit.cache"
backupStaticProperties="false"
requireCoverageMetadata="true"
displayDetailsOnTestsThatTriggerDeprecations="true"
displayDetailsOnTestsThatTriggerErrors="true"
displayDetailsOnTestsThatTriggerNotices="true"
displayDetailsOnTestsThatTriggerWarnings="true"
displayDetailsOnPhpunitDeprecations="true">
<testsuites>
<testsuite name="CliParser">
<directory>../src/Lunr/Shadow/Tests/</directory>
</testsuite>
</testsuites>
<coverage>
<include>
<directory>../src/Lunr/</directory>
</include>
<exclude>
<directory>../src/Lunr/Shadow/Tests/</directory>
</exclude>
<report>
<clover outputFile="../build/logs/clover.xml"/>
<html outputDirectory="../build/coverage" lowUpperBound="35" highLowerBound="70"/>
Expand All @@ -34,4 +29,12 @@
<logging>
<junit outputFile="../build/logs/junit.xml"/>
</logging>
<source>
<include>
<directory>../src/Lunr/</directory>
</include>
<exclude>
<directory>../src/Lunr/Shadow/Tests/</directory>
</exclude>
</source>
</phpunit>