Skip to content

[Trial] wp/6.0: Use PHPUnit 9 for PHP 7.3 through 8.2 - #836

Closed
desrosj wants to merge 50 commits into
wp/6.0from
trial-6.0/phpunit-9-for-php-7-3-plus
Closed

desrosj wants to merge 50 commits into
wp/6.0from
trial-6.0/phpunit-9-for-php-7-3-plus

Conversation

@desrosj

@desrosj desrosj commented Oct 21, 2026 •

Copy link
Copy Markdown
Owner

Trial PR, do not merge. This exists only to run CI on a proposed fix before it is added to the wp/6.0 stack upstream.

What?

Backports the wp-env PHPUnit image map change from WordPress#46510 (9ee17a7) on top of the current top of the upstream wp/6.0 stack (WordPress#85149).

Why?

The PHP test matrix added in WordPress#84271 includes PHP 8.1, but wp-env on this branch has no PHPUnit image mapped for 8.1. The 8.1 jobs therefore fall back to wordpressdevelop/phpunit:latest, which runs PHP 8.2.26. The backport also moves PHP 7.3 and 7.4 to PHPUnit 9, which matches the Core handbook for WordPress 6.0.

Testing Instructions

In the PHP job logs, check that each leg reports the expected versions:

Leg Expected PHPUnit Expected PHP
5.6 5.7.x 5.6
7.0 6.5.x 7.0
7.4 9.6.x 7.4
8.0 9.6.x 8.0
8.1 9.6.x 8.1

Use of AI Tools

This PR was prepared with Claude Code (Opus 5.5).

🤖 Generated with Claude Code

desrosj added 30 commits October 8, 2026 00:28
…ys use the workflow file from trunk, so this branch's copy never runs.
@github-actions

Copy link
Copy Markdown

🤖 PR meta 🤖

🏷️ Labels

This pull request needs exactly one label indicating its type, and has 0.

  • Required: any label starting with [Type].
  • Found: none.

Read more about Type labels in Gutenberg. If you cannot add labels yourself, a reviewer can do it for you.

@desrosj

desrosj commented Oct 21, 2026

Copy link
Copy Markdown
Owner Author

Trial passed; the change is now WordPress#85298 in the upstream stack.

@desrosj desrosj closed this Oct 21, 2026
@desrosj
desrosj deleted the trial-6.0/phpunit-9-for-php-7-3-plus branch October 21, 2026 16:01
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.

1 participant