Skip to content

Commit

Permalink
Merge pull request #70 from gsteel/improve-phpunit-config
Browse files Browse the repository at this point in the history
Ensure tests fail on warning, notice, deprecation etc
  • Loading branch information
gsteel authored Oct 15, 2024
2 parents b18f4ed + 35ad680 commit 1322e7b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
bootstrap="vendor/autoload.php"
displayDetailsOnPhpunitDeprecations="true"
displayDetailsOnTestsThatTriggerWarnings="true"
displayDetailsOnTestsThatTriggerNotices="true"
displayDetailsOnTestsThatTriggerErrors="true"
displayDetailsOnTestsThatTriggerDeprecations="true"
displayDetailsOnSkippedTests="true"
displayDetailsOnIncompleteTests="true"
failOnPhpunitDeprecation="true"
failOnDeprecation="true"
failOnNotice="true"
failOnWarning="true"
colors="true">
<testsuites>
<testsuite name="laminas-serializer Test Suite">
Expand Down

0 comments on commit 1322e7b

Please sign in to comment.