Skip to content

Run the unit tests on PHP 8.6 - #290

Merged
GaryJones merged 1 commit into
developfrom
GaryJones/php-8.6-unit
Nov 25, 2026
Merged

GaryJones merged 1 commit into
developfrom
GaryJones/php-8.6-unit

Conversation

@GaryJones

Copy link
Copy Markdown
Contributor

The integration tests started running WordPress trunk on PHP 8.6 in the previous change, but the unit tests run on the runner's PHP from setup-php, not in wp-env, so they still stopped at 8.5. Code the unit suite covers could use something PHP 8.6 deprecates without any job noticing, and the plugin status dashboard flags the gap.

This adds PHP 8.6 to the unit test matrix. setup-php installs the stable PHP 8.6.0 release.

The integration tests already run WordPress trunk on PHP 8.6, but the
unit tests run on the runner's PHP, so they still stopped at 8.5. Code
the unit suite covers could use something PHP 8.6 deprecates without
any job noticing.
@GaryJones
GaryJones requested a review from a team as a code owner November 25, 2026 00:34
@GaryJones GaryJones added this to the 3.0.0 milestone Nov 25, 2026
@GaryJones GaryJones added the type: maintenance Routine maintenance and code quality improvements label Nov 25, 2026
@GaryJones GaryJones self-assigned this Nov 25, 2026
@GaryJones
GaryJones merged commit 131e313 into develop Nov 25, 2026
6 checks passed
@GaryJones
GaryJones deleted the GaryJones/php-8.6-unit branch November 25, 2026 00:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: maintenance Routine maintenance and code quality improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant