Skip to content

Commit

Permalink
Migrate phpunit.xml to latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmedghanem00 committed May 18, 2024
1 parent a932628 commit 672d971
Showing 1 changed file with 21 additions and 16 deletions.
37 changes: 21 additions & 16 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,32 +1,37 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ This file is part of the TempNumberClient package.
~
~ (c) Ahmed Ghanem <[email protected]>
~
~ For the full copyright and license information, please view the LICENSE
~ file that was distributed with this source code.
-->

<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.6/phpunit.xsd"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/11.2/phpunit.xsd"
bootstrap="vendor/autoload.php"
cacheResultFile=".phpunit.cache/test-results"
cacheDirectory=".phpunit.cache"
executionOrder="depends,defects"
forceCoversAnnotation="true"
beStrictAboutCoversAnnotation="true"
requireCoverageMetadata="true"
beStrictAboutCoverageMetadata="true"
beStrictAboutOutputDuringTests="true"
beStrictAboutTodoAnnotatedTests="true"
convertDeprecationsToExceptions="true"
failOnRisky="true"
failOnWarning="true"
verbose="true">
failOnWarning="true">
<testsuites>
<testsuite name="unit">
<directory>tests/unit</directory>
<testsuite name="Unit">
<directory>tests/Unit</directory>
</testsuite>
</testsuites>

<php>
<env name="API_KEY" value="" force="true" />
<env name="BACKEND_SERVER" value="Mock" force="true" />
<env name="API_KEY" value="" force="true"/>
<env name="BACKEND_SERVER" value="Mock" force="true"/>
</php>

<coverage cacheDirectory=".phpunit.cache/code-coverage"
processUncoveredFiles="true">
<source ignoreIndirectDeprecations="true" restrictNotices="true" restrictWarnings="true">
<include>
<directory suffix=".php">src</directory>
<directory>src</directory>
</include>
</coverage>
</source>
</phpunit>

0 comments on commit 672d971

Please sign in to comment.