Skip to content

Commit

Permalink
Adapt phpunit config to current version
Browse files Browse the repository at this point in the history
  • Loading branch information
SenseException committed Sep 27, 2023
1 parent a3d39d9 commit d2e9124
Showing 1 changed file with 17 additions and 22 deletions.
39 changes: 17 additions & 22 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,25 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/schema/10.0.xsd"
bootstrap="./vendor/autoload.php"
backupGlobals="false"
stopOnFailure="false"
processIsolation="false"
beStrictAboutTestsThatDoNotTestAnything="true"
beStrictAboutOutputDuringTests="true"
beStrictAboutChangesToGlobalState="true">

<testsuite name="classes">
<directory suffix="Test.php">tests</directory>
</testsuite>

<coverage>
<include>
<directory suffix=".php">src</directory>
</include>
<exclude>
<directory>src/Resources</directory>
</exclude>
</coverage>
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
bootstrap="./vendor/autoload.php"
backupGlobals="false" verbose="true"
beStrictAboutOutputDuringTests="true"
beStrictAboutChangesToGlobalState="true">
<coverage>
<include>
<directory suffix=".php">src</directory>
</include>
<exclude>
<directory>src/Resources</directory>
</exclude>
</coverage>
<testsuite name="classes">
<directory suffix="Test.php">tests</directory>
</testsuite>
</phpunit>

0 comments on commit d2e9124

Please sign in to comment.