Skip to content

Commit

Permalink
Show deprecations while running tests
Browse files Browse the repository at this point in the history
  • Loading branch information
wouterj committed Nov 30, 2024
1 parent 2a586a5 commit ca2098e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@
beStrictAboutChangesToGlobalState="true"
failOnNotice="true"
failOnWarning="true"
failOnDeprecation="true"
displayDetailsOnTestsThatTriggerNotices="true"
displayDetailsOnTestsThatTriggerWarnings="true"
displayDetailsOnTestsThatTriggerErrors="true"
displayDetailsOnTestsThatTriggerDeprecations="true"
cacheDirectory=".cache/.phpunit.cache"
requireCoverageMetadata="false"
>
Expand All @@ -28,9 +30,12 @@
</testsuite>
</testsuites>
<coverage/>
<source>
<source ignoreSuppressionOfDeprecations="true">
<include>
<directory suffix=".php">packages/**/src</directory>
</include>
</source>
<php>
<server name="DOCTRINE_DEPRECATIONS" value="trigger"/>
</php>
</phpunit>

0 comments on commit ca2098e

Please sign in to comment.