Skip to content

Commit 6786d2e

Browse files
committed
Update phpunit config
1 parent def670f commit 6786d2e

File tree

1 file changed

+6
-16
lines changed

1 file changed

+6
-16
lines changed

phpunit.xml.dist

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,16 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.6/phpunit.xsd"
3+
xsi:noNamespaceSchemaLocation="./vendor/phpunit/phpunit/phpunit.xsd"
44
bootstrap="bootstrap.php"
55
cacheResultFile="tmp/tests/cache"
66
executionOrder="random"
7-
forceCoversAnnotation="true"
7+
requireCoverageMetadata="true"
88
defaultTestSuite="full"
9-
beStrictAboutCoversAnnotation="true"
9+
beStrictAboutCoverageMetadata="true"
1010
beStrictAboutOutputDuringTests="true"
11-
beStrictAboutTodoAnnotatedTests="true"
12-
convertDeprecationsToExceptions="true"
11+
failOnDeprecation="true"
1312
failOnRisky="true"
14-
failOnWarning="true"
15-
verbose="true">
13+
failOnWarning="true">
1614
<php>
1715
<const name="REQUEST_FACTORY" value="Nyholm\Psr7\Factory\Psr17Factory"/>
1816
<const name="RESPONSE_FACTORY" value="Nyholm\Psr7\Factory\Psr17Factory"/>
@@ -35,13 +33,5 @@
3533
</testsuite>
3634
</testsuites>
3735

38-
<coverage cacheDirectory="tmp/coverage/cache"
39-
processUncoveredFiles="true">
40-
<include>
41-
<directory suffix=".php">modules/*/src</directory>
42-
</include>
43-
<exclude>
44-
<file>**/*Exception.php</file>
45-
</exclude>
46-
</coverage>
36+
<coverage cacheDirectory="tmp/coverage/cache" />
4737
</phpunit>

0 commit comments

Comments
 (0)