Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

PHPUnit: convert deprecations to exceptions#176

Merged
swissspidy merged 1 commit into
masterwp-cli/php-cli-tools:masterfrom
update-phpunit-configwp-cli/php-cli-tools:update-phpunit-configCopy head branch name to clipboard
Oct 1, 2024
Merged

PHPUnit: convert deprecations to exceptions#176
swissspidy merged 1 commit into
masterwp-cli/php-cli-tools:masterfrom
update-phpunit-configwp-cli/php-cli-tools:update-phpunit-configCopy head branch name to clipboard

Conversation

@swissspidy

Copy link
Copy Markdown
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 0.12.1 milestone Oct 1, 2024
@swissspidy swissspidy requested a review from a team as a code owner October 1, 2024 10:35
@swissspidy swissspidy merged commit d1fe500 into master Oct 1, 2024
@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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.