Skip to content

Commit

Permalink
Issue #86: Align phpunit.xml.dist files in packages.
Browse files Browse the repository at this point in the history
  • Loading branch information
donquixote committed Nov 2, 2024
1 parent 6beff49 commit e1ee5db
Showing 1 changed file with 24 additions and 33 deletions.
57 changes: 24 additions & 33 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,44 +1,35 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.5/phpunit.xsd"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd"
colors="true"
bootstrap="vendor/autoload.php"
cacheResultFile=".phpunit.cache/test-results"
executionOrder="depends,defects"
beStrictAboutOutputDuringTests="true"
beStrictAboutTodoAnnotatedTests="true"
convertDeprecationsToExceptions="true"
displayDetailsOnIncompleteTests="true"
displayDetailsOnSkippedTests="true"
displayDetailsOnPhpunitDeprecations="true"
displayDetailsOnTestsThatTriggerDeprecations="true"
displayDetailsOnTestsThatTriggerErrors="true"
displayDetailsOnTestsThatTriggerNotices="true"
displayDetailsOnTestsThatTriggerWarnings="true"
failOnEmptyTestSuite="true"
failOnIncomplete="true"
failOnNotice="true"
failOnSkipped="true"
failOnPhpunitDeprecation="true"
failOnDeprecation="true"
failOnRisky="true"
failOnWarning="true"
verbose="true">

<coverage cacheDirectory=".phpunit.cache/code-coverage"
processUncoveredFiles="true">
<include>
<directory suffix=".php">src</directory>
</include>
<report>
<clover outputFile="build/coverage/clover.xml"/>
<php outputFile="build/coverage/coverage.php"/>
</report>
</coverage>

>
<php>
<ini name="error_reporting" value="32767"/>
</php>
<testsuites>
<testsuite name="default">
<directory>./tests/src</directory>
</testsuite>
</testsuites>

<php>
<ini name="error_reporting" value="-1"/>
<ini name="memory_limit" value="-1"/>
</php>

<!-- <logging>
<coverage-clover target="build/logs/clover.xml"/>
<junit target="build/logs/junit.xml"/>
<coverage-php target="build/cov/coverage.cov"/>
</logging> -->
<logging>
<junit outputFile="build/logs/junit.xml"/>
</logging>
<source>
<include>
<directory>./src/</directory>
</include>
</source>
</phpunit>

0 comments on commit e1ee5db

Please sign in to comment.