Skip to content

Commit f6fd134

Browse files
authored
chore: migrate phpunit config for 10.1 (#314)
Signed-off-by: Jan Kowalleck <[email protected]>
1 parent deb45af commit f6fd134

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

phpunit.dist.xml

+8-6
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,16 @@
2626
<directory>tests/Core</directory>
2727
</testsuite>
2828
</testsuites>
29-
<coverage cacheDirectory=".phpunit.cache/code-coverage">
29+
<source>
3030
<include>
31-
<directory suffix=".php">src</directory>
31+
<directory>src</directory>
3232
</include>
3333
<exclude>
3434
<!-- who cares for the helpers, they are just helpers. -->
35-
<directory suffix=".php">src/Core/_helpers</directory>
35+
<directory>src/Core/_helpers</directory>
3636
</exclude>
37+
</source>
38+
<coverage cacheDirectory=".phpunit.cache/code-coverage">
3739
<report>
3840
<clover outputFile="reports/coverage.clover.xml"/>
3941
<html outputDirectory="reports/coverage.html"/>
@@ -44,8 +46,8 @@
4446
<testdoxText outputFile="reports/phpunits.txt"/>
4547
</logging>
4648
<php>
47-
<ini name="xdebug.mode" value="coverage" />
48-
<ini name="pcov.enabled" value="1" />
49-
<ini name="pcov.directory" value="src" />
49+
<ini name="xdebug.mode" value="coverage"/>
50+
<ini name="pcov.enabled" value="1"/>
51+
<ini name="pcov.directory" value="src"/>
5052
</php>
5153
</phpunit>

0 commit comments

Comments
 (0)