Skip to content

Commit

Permalink
phpunit.xml: fail on deprecations/notices
Browse files Browse the repository at this point in the history
This functionality was lost in PHPUnit 10.0, but was re-added via these
configuration options in PHPUnit 10.1.

See sebastianbergmann/phpunit#5196.
  • Loading branch information
hemberger committed Apr 22, 2023
1 parent b85d773 commit 0da9b00
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
displayDetailsOnTestsThatTriggerNotices="true"
displayDetailsOnTestsThatTriggerWarnings="true"
executionOrder="depends,defects"
failOnDeprecation="true"
failOnNotice="true"
failOnRisky="true"
failOnWarning="true"
requireCoverageMetadata="true">
Expand Down

0 comments on commit 0da9b00

Please sign in to comment.