Skip to content

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 added this to the 2.12.0 milestone Oct 1, 2024
@swissspidy swissspidy requested a review from a team as a code owner October 1, 2024 10:38
@swissspidy swissspidy merged commit ce3ac48 into main Oct 1, 2024
39 of 42 checks passed
@swissspidy swissspidy deleted the update-phpunit-config branch October 1, 2024 16:56
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.

3 participants