Skip to content

Commit bed5e80

Browse files
committed
Configure phpunit to display deprecations/errors/notices/warnings
1 parent 51a7ee8 commit bed5e80

File tree

1 file changed

+23
-2
lines changed

1 file changed

+23
-2
lines changed

phpunit.xml.dist

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd" bootstrap="vendor/autoload.php" stopOnFailure="false" cacheResult="false" colors="true" cacheDirectory=".phpunit.cache">
2+
<phpunit
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
5+
bootstrap="vendor/autoload.php"
6+
stopOnFailure="false"
7+
cacheResult="false"
8+
colors="true"
9+
cacheDirectory=".phpunit.cache"
10+
displayDetailsOnPhpunitDeprecations="true"
11+
displayDetailsOnTestsThatTriggerDeprecations="true"
12+
displayDetailsOnTestsThatTriggerErrors="true"
13+
displayDetailsOnTestsThatTriggerNotices="true"
14+
displayDetailsOnTestsThatTriggerWarnings="true"
15+
>
316
<testsuites>
417
<testsuite name="Tests">
518
<directory suffix="Test.php">./tests</directory>
@@ -9,7 +22,15 @@
922
<env name="MEILISEARCH_URL" value="http://localhost:7700"/>
1023
<env name="MEILISEARCH_API_KEY" value="masterKey"/>
1124
</php>
12-
<source>
25+
<source
26+
ignoreSuppressionOfDeprecations="true"
27+
ignoreSuppressionOfPhpDeprecations="true"
28+
ignoreSuppressionOfErrors="true"
29+
ignoreSuppressionOfNotices="true"
30+
ignoreSuppressionOfPhpNotices="true"
31+
ignoreSuppressionOfWarnings="true"
32+
ignoreSuppressionOfPhpWarnings="true"
33+
>
1334
<include>
1435
<directory>src/</directory>
1536
</include>

0 commit comments

Comments
 (0)