Skip to content

Commit 45383f1

Browse files
committed
Use PHPUnit 9.3
1 parent 853fe4d commit 45383f1

File tree

2 files changed

+17
-16
lines changed

2 files changed

+17
-16
lines changed

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"phpstan/extension-installer": "^1.0",
2525
"phpstan/phpstan": "^0.12.25",
2626
"phpstan/phpstan-phpunit": "^0.12.8",
27-
"phpunit/phpunit": "^9.1",
27+
"phpunit/phpunit": "^9.3",
2828
"spatie/phpunit-snapshot-assertions": "^4.2",
2929
"symfony/var-dumper": "^5.1",
3030
"thecodingmachine/phpstan-safe-rule": "^1.0"

phpunit.xml

+16-15
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1+
<?xml version="1.0"?>
12
<phpunit
23
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
4+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
45
beStrictAboutChangesToGlobalState="true"
56
beStrictAboutCoversAnnotation="true"
67
beStrictAboutOutputDuringTests="true"
@@ -13,17 +14,17 @@
1314
executionOrder="random"
1415
verbose="true"
1516
>
16-
<testsuites>
17-
<testsuite name="Unit tests">
18-
<directory>./tests/Unit</directory>
19-
</testsuite>
20-
<testsuite name="Integration tests">
21-
<directory>./tests/Integration</directory>
22-
</testsuite>
23-
</testsuites>
24-
<filter>
25-
<whitelist processUncoveredFilesFromWhitelist="true">
26-
<directory suffix=".php">./src</directory>
27-
</whitelist>
28-
</filter>
29-
</phpunit>
17+
<coverage processUncoveredFiles="true">
18+
<include>
19+
<directory suffix=".php">./src</directory>
20+
</include>
21+
</coverage>
22+
<testsuites>
23+
<testsuite name="Unit tests">
24+
<directory>./tests/Unit</directory>
25+
</testsuite>
26+
<testsuite name="Integration tests">
27+
<directory>./tests/Integration</directory>
28+
</testsuite>
29+
</testsuites>
30+
</phpunit>

0 commit comments

Comments
 (0)