Skip to content

Commit

Permalink
chore: migrate phpunit config for 10.1 (#314)
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
  • Loading branch information
jkowalleck committed Jun 2, 2023
1 parent deb45af commit f6fd134
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions phpunit.dist.xml
Expand Up @@ -26,14 +26,16 @@
<directory>tests/Core</directory>
</testsuite>
</testsuites>
<coverage cacheDirectory=".phpunit.cache/code-coverage">
<source>
<include>
<directory suffix=".php">src</directory>
<directory>src</directory>
</include>
<exclude>
<!-- who cares for the helpers, they are just helpers. -->
<directory suffix=".php">src/Core/_helpers</directory>
<directory>src/Core/_helpers</directory>
</exclude>
</source>
<coverage cacheDirectory=".phpunit.cache/code-coverage">
<report>
<clover outputFile="reports/coverage.clover.xml"/>
<html outputDirectory="reports/coverage.html"/>
Expand All @@ -44,8 +46,8 @@
<testdoxText outputFile="reports/phpunits.txt"/>
</logging>
<php>
<ini name="xdebug.mode" value="coverage" />
<ini name="pcov.enabled" value="1" />
<ini name="pcov.directory" value="src" />
<ini name="xdebug.mode" value="coverage"/>
<ini name="pcov.enabled" value="1"/>
<ini name="pcov.directory" value="src"/>
</php>
</phpunit>

0 comments on commit f6fd134

Please sign in to comment.