Skip to content

Commit

Permalink
fix: PHPUnit 10 config in Symfony bridge (#184)
Browse files Browse the repository at this point in the history
  • Loading branch information
dkarlovi authored Jan 29, 2024
1 parent 54d5260 commit 0e5ca8c
Showing 1 changed file with 11 additions and 17 deletions.
28 changes: 11 additions & 17 deletions src/Bridge/Symfony/phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -2,32 +2,29 @@
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
beStrictAboutChangesToGlobalState="true"
beStrictAboutCoversAnnotation="true"
beStrictAboutCoverageMetadata="true"
beStrictAboutOutputDuringTests="true"
beStrictAboutResourceUsageDuringSmallTests="true"
beStrictAboutTodoAnnotatedTests="true"
bootstrap="./vendor/autoload.php"
cacheResultFile="var/phpqa/phpunit.result.cache"
cacheDirectory="var/phpqa/phpunit"
colors="true"
convertDeprecationsToExceptions="true"
enforceTimeLimit="true"
executionOrder="random"
failOnEmptyTestSuite="true"
failOnRisky="true"
failOnWarning="true"
forceCoversAnnotation="true"
verbose="true">
<coverage processUncoveredFiles="true">
failOnWarning="true">
<coverage/>
<source>
<include>
<directory suffix=".php">./</directory>
<directory>./</directory>
</include>
<exclude>
<directory suffix=".php">./Exception</directory>
<directory suffix=".php">./Test</directory>
<directory suffix=".php">./var</directory>
<directory suffix=".php">./vendor</directory>
<directory>./Exception</directory>
<directory>./Test</directory>
<directory>./var</directory>
<directory>./vendor</directory>
</exclude>
</coverage>
</source>
<testsuites>
<testsuite name="Xezilaires">
<directory>./Test</directory>
Expand All @@ -36,7 +33,4 @@
<php>
<env name="SYMFONY_DEPRECATIONS_HELPER" value="max[self]=0&amp;max[direct]=10&amp;verbose=0"/>
</php>
<listeners>
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener"/>
</listeners>
</phpunit>

0 comments on commit 0e5ca8c

Please sign in to comment.