Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHPUnit template: convert deprecations to exceptions #348

Merged
merged 1 commit into from
Oct 1, 2024

Conversation

swissspidy
Copy link
Member

Since PHPUnit 9.5.10 and 8.5.21, PHP deprecations are no longer converted to exceptions by default (convertDeprecationsToExceptions="true" can be configured to enable this).

This commit reverts PHPUnit to the previous behaviour by adding convertDeprecationsToExceptions="true" to the PHPUnit configuration. It also adds the other related directives for consistency.

See similar change in core: WordPress/wordpress-develop@7c2b54e

@swissspidy swissspidy merged commit d67d834 into main Oct 1, 2024
34 checks passed
@swissspidy swissspidy deleted the update-phpunit-config branch October 1, 2024 11:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants