Skip to content

Enable deprecation warnings in phpunit configuration - #40

Open
donatj wants to merge 1 commit into
masterfrom
phpunit-deprecations
Open

Enable deprecation warnings in phpunit configuration#40
donatj wants to merge 1 commit into
masterfrom
phpunit-deprecations

Conversation

@donatj

@donatj donatj commented Aug 10, 2026

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI lite review requested due to automatic review settings August 10, 2026 19:18

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the PHPUnit configuration to make deprecations cause test failures, aiming to surface deprecated usage early during CI/test runs.

Changes:

  • Adds deprecation-related failure/display flags to the root <phpunit> configuration element.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread phpunit.xml.dist
Comment on lines +2 to +3
<phpunit backupGlobals="false"
failOnPhpunitDeprecation="true" failOnDeprecation="true" displayDetailsOnTestsThatTriggerDeprecations="true">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants