Skip to content

Commit 8483b0a

Browse files
committed
Fix phpunit config
1 parent 2d8a983 commit 8483b0a

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"require-dev": {
4848
"buggregator/trap": "^1.13",
4949
"jetbrains/phpstorm-attributes": "^1.0",
50-
"phpunit/phpunit": "^10.0",
50+
"phpunit/phpunit": "^10.5.45",
5151
"spiral/code-style": "^2.2",
5252
"vimeo/psalm": "^6.0"
5353
},

phpunit.xml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,19 @@
1515
<directory>tests/Unit</directory>
1616
</testsuite>
1717
</testsuites>
18+
<coverage>
19+
<report>
20+
<html outputDirectory="runtime/phpunit/coverage"/>
21+
<text outputFile="runtime/phpunit/coverage.txt"/>
22+
<clover outputFile="runtime/phpunit/logs/clover.xml"/>
23+
</report>
24+
</coverage>
25+
<logging>
26+
<junit outputFile="runtime/report.junit.xml"/>
27+
</logging>
28+
<source>
29+
<include>
30+
<directory>src</directory>
31+
</include>
32+
</source>
1833
</phpunit>

0 commit comments

Comments
 (0)