Skip to content

Commit e557225

Browse files
author
Stephan Wentz
committed
test: Upgrade to phpunit 10.x
1 parent 5ee5584 commit e557225

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/.phpcs-cache
2-
/.phpunit.result.cache
2+
/.phpunit.cache
33
/build
44
/composer.lock
55
/vendor/

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"php-coveralls/php-coveralls": "^2.0",
2828
"phpstan/phpstan-php-parser": "^1.0",
2929
"phpstan/phpstan-phpunit": "^1.0",
30-
"phpunit/phpunit": "^8.5.2 || ^9.0.0"
30+
"phpunit/phpunit": "^10.5"
3131
},
3232
"scripts": {
3333
"check-all": [

phpunit.xml.dist

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<?xml version="1.0"?>
2-
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd" bootstrap="./vendor/autoload.php" colors="true" verbose="true">
3-
<coverage processUncoveredFiles="true">
4-
<include>
5-
<directory suffix=".php">src</directory>
6-
</include>
7-
</coverage>
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd" bootstrap="./vendor/autoload.php" colors="true" cacheDirectory=".phpunit.cache">
83
<testsuites>
94
<testsuite name="main">
105
<directory>tests</directory>
116
</testsuite>
127
</testsuites>
8+
<source>
9+
<include>
10+
<directory suffix=".php">src</directory>
11+
</include>
12+
</source>
1313
</phpunit>

0 commit comments

Comments
 (0)