Skip to content

Commit

Permalink
chore: migrate the phpunit config
Browse files Browse the repository at this point in the history
  • Loading branch information
williamdes committed Jul 24, 2024
1 parent 7c27ed5 commit c6f161b
Showing 1 changed file with 25 additions and 28 deletions.
53 changes: 25 additions & 28 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,30 +1,27 @@
<?xml version="1.0"?>
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/7.0/phpunit.xsd"
colors="true"
backupGlobals="false"
beStrictAboutOutputDuringTests="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
bootstrap="vendor/autoload.php"
>

<filter>
<whitelist>
<directory>src</directory>
</whitelist>
</filter>

<logging>
<log type="coverage-html" target="build/coverage/html/"/>
<log type="coverage-clover" target="build/logs/clover.xml"/>
</logging>

<testsuites>
<testsuite name="Unit tests">
<directory suffix=".php">test/</directory>
</testsuite>
</testsuites>

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
colors="true"
backupGlobals="false"
beStrictAboutOutputDuringTests="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
bootstrap="vendor/autoload.php">
<coverage>
<include>
<directory>src</directory>
</include>
<report>
<clover outputFile="build/logs/clover.xml"/>
<html outputDirectory="build/coverage/html/"/>
</report>
</coverage>
<logging/>
<testsuites>
<testsuite name="Unit tests">
<directory suffix=".php">test/</directory>
</testsuite>
</testsuites>
</phpunit>

0 comments on commit c6f161b

Please sign in to comment.