Skip to content

Commit 672d971

Browse files
committed
Migrate phpunit.xml to latest version
1 parent a932628 commit 672d971

File tree

1 file changed

+21
-16
lines changed

1 file changed

+21
-16
lines changed

phpunit.xml.dist

Lines changed: 21 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,37 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
~ This file is part of the TempNumberClient package.
4+
~
5+
~ (c) Ahmed Ghanem <ahmedghanem7361@gmail.com>
6+
~
7+
~ For the full copyright and license information, please view the LICENSE
8+
~ file that was distributed with this source code.
9+
-->
10+
211
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.6/phpunit.xsd"
12+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/11.2/phpunit.xsd"
413
bootstrap="vendor/autoload.php"
5-
cacheResultFile=".phpunit.cache/test-results"
14+
cacheDirectory=".phpunit.cache"
615
executionOrder="depends,defects"
7-
forceCoversAnnotation="true"
8-
beStrictAboutCoversAnnotation="true"
16+
requireCoverageMetadata="true"
17+
beStrictAboutCoverageMetadata="true"
918
beStrictAboutOutputDuringTests="true"
10-
beStrictAboutTodoAnnotatedTests="true"
11-
convertDeprecationsToExceptions="true"
1219
failOnRisky="true"
13-
failOnWarning="true"
14-
verbose="true">
20+
failOnWarning="true">
1521
<testsuites>
16-
<testsuite name="unit">
17-
<directory>tests/unit</directory>
22+
<testsuite name="Unit">
23+
<directory>tests/Unit</directory>
1824
</testsuite>
1925
</testsuites>
2026

2127
<php>
22-
<env name="API_KEY" value="" force="true" />
23-
<env name="BACKEND_SERVER" value="Mock" force="true" />
28+
<env name="API_KEY" value="" force="true"/>
29+
<env name="BACKEND_SERVER" value="Mock" force="true"/>
2430
</php>
2531

26-
<coverage cacheDirectory=".phpunit.cache/code-coverage"
27-
processUncoveredFiles="true">
32+
<source ignoreIndirectDeprecations="true" restrictNotices="true" restrictWarnings="true">
2833
<include>
29-
<directory suffix=".php">src</directory>
34+
<directory>src</directory>
3035
</include>
31-
</coverage>
36+
</source>
3237
</phpunit>

0 commit comments

Comments
 (0)