Skip to content

Commit 3042d32

Browse files
committed
Explicitly require phpunit ^10.5 + fix phpunit.xml config
1 parent b6e1b56 commit 3042d32

2 files changed

Lines changed: 12 additions & 12 deletions

File tree

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"guzzlehttp/guzzle": "^7.2",
4343
"monolog/monolog": "^3.0",
4444
"php-http/mock-client": "^1.3",
45-
"phpunit/phpunit": "^10.0",
45+
"phpunit/phpunit": "^10.5",
4646
"symfony/clock": "^6.0",
4747
"symfony/dotenv": "^6.0"
4848
},

phpunit.xml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
-->
2626
<phpunit
2727
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
28-
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.0/phpunit.xsd"
28+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd"
2929
colors="true"
3030
testdox="true"
3131
bootstrap="tests/bootstrap.php"
@@ -36,14 +36,14 @@
3636
displayDetailsOnTestsThatTriggerWarnings="true"
3737
displayDetailsOnTestsThatTriggerErrors="true"
3838
>
39-
<testsuites>
40-
<testsuite name="default">
41-
<directory>./tests</directory>
42-
</testsuite>
43-
</testsuites>
44-
<coverage>
45-
<include>
46-
<directory suffix=".php">src</directory>
47-
</include>
48-
</coverage>
39+
<source>
40+
<include>
41+
<directory>./src</directory>
42+
</include>
43+
</source>
44+
<testsuites>
45+
<testsuite name="default">
46+
<directory>./tests</directory>
47+
</testsuite>
48+
</testsuites>
4949
</phpunit>

0 commit comments

Comments
 (0)