Skip to content

Repair wp/6.3 branch Actions: update test-php job's PHP version matrix - #268

Closed
desrosj wants to merge 1 commit into
fix-actions-6.3/pin-wp-env-core-versionfrom
fix-actions-6.3/update-php-test-matrix
Closed

desrosj wants to merge 1 commit into
fix-actions-6.3/pin-wp-env-core-versionfrom
fix-actions-6.3/update-php-test-matrix

Conversation

@desrosj

@desrosj desrosj commented Sep 11, 2026

Copy link
Copy Markdown
Owner

What?

Trims unit-test.yml's test-php job's php: version matrix down to only the lowest and highest supported minor version per major PHP version.

Why?

Per WordPress core's PHP compatibility policy, wp/6.3 supports PHP 7.0–7.4 and 8.0–8.2 (PHP 5.6 was dropped at this exact release). This branch-repair project's testing convention is to exercise only the lowest and highest supported minor per major PHP version, not every minor in between, since the intermediate minors within a major rarely surface materially different behavior and only add CI time.

The matrix previously tested every 7.x minor individually (7.0, 7.1, 7.2, 7.3, 7.4) plus 8.0, 8.1, 8.2 — 8 entries. It's now:

Before After
7.0, 7.1, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2 7.0, 7.4, 8.0, 8.2

Nothing else in the test-php job (multisite:, the matrix.php < '7.2' Composer-package-removal condition, runs-on, etc.) was touched.

Use of AI Tools

This PR was created by Claude Code under my supervision. All code should be treated as AI-produced and not yet reviewed by a human until this PR is marked Ready for Review.

@desrosj
desrosj added this pull request to stack #97 September 11, 2026 15:31
@desrosj
desrosj removed this pull request from stack #97 September 13, 2026 00:48
@desrosj
desrosj added this pull request to stack #317 September 13, 2026 00:49
@desrosj
desrosj removed this pull request from stack #317 September 13, 2026 01:26
@desrosj
desrosj added this pull request to stack #320 September 13, 2026 01:27
@desrosj
desrosj force-pushed the fix-actions-6.3/update-php-test-matrix branch from e83cf46 to 32d8146 Compare September 13, 2026 03:05
@desrosj
desrosj force-pushed the fix-actions-6.3/update-php-test-matrix branch from 32d8146 to 16641cf Compare September 14, 2026 01:38
@desrosj
desrosj force-pushed the fix-actions-6.3/update-php-test-matrix branch from 16641cf to 570a82d Compare September 14, 2026 02:40
@desrosj
desrosj removed this pull request from stack #320 September 14, 2026 03:09
@desrosj
desrosj added this pull request to stack #351 September 14, 2026 03:11
@desrosj
desrosj force-pushed the fix-actions-6.3/update-php-test-matrix branch from 570a82d to 33010f9 Compare September 14, 2026 17:43
@desrosj
desrosj force-pushed the fix-actions-6.3/update-php-test-matrix branch from 33010f9 to 2f9a38c Compare September 15, 2026 19:14
@desrosj
desrosj removed this pull request from stack #351 September 21, 2026 18:35
@desrosj
desrosj changed the base branch from fix-actions-6.3/fix-wp-env-debian-bullseye to wp/6.3 September 21, 2026 18:36
@desrosj
desrosj force-pushed the fix-actions-6.3/update-php-test-matrix branch from 2f9a38c to a6c0ad0 Compare September 21, 2026 18:46
@desrosj
desrosj changed the base branch from wp/6.3 to fix-actions-6.3/fix-wp-env-debian-bullseye September 21, 2026 18:48
@desrosj
desrosj added this pull request to stack #403 September 21, 2026 18:48
@desrosj
desrosj removed this pull request from stack #403 September 21, 2026 19:36
@desrosj
desrosj changed the base branch from fix-actions-6.3/fix-wp-env-debian-bullseye to wp/6.3 September 21, 2026 19:37
@desrosj
desrosj force-pushed the fix-actions-6.3/update-php-test-matrix branch from a6c0ad0 to 882d9fe Compare September 21, 2026 19:48
@desrosj
desrosj changed the base branch from wp/6.3 to fix-actions-6.3/fix-wp-env-debian-bullseye September 21, 2026 19:52
@desrosj
desrosj added this pull request to stack #420 September 21, 2026 19:52
@desrosj
desrosj removed this pull request from stack #420 September 21, 2026 21:06
@desrosj
desrosj changed the base branch from fix-actions-6.3/fix-wp-env-debian-bullseye to wp/6.3 September 21, 2026 21:06
@desrosj
desrosj force-pushed the fix-actions-6.3/update-php-test-matrix branch from 882d9fe to 020d440 Compare September 21, 2026 21:17
@desrosj
desrosj changed the base branch from wp/6.3 to fix-actions-6.3/fix-wp-env-debian-bullseye September 21, 2026 21:32
@desrosj
desrosj added this pull request to stack #424 September 21, 2026 21:33
@desrosj
desrosj added this pull request to stack #477 September 22, 2026 20:20
@desrosj
desrosj removed this pull request from stack #477 September 23, 2026 01:30
@desrosj
desrosj changed the base branch from fix-actions-6.3/configure-composer-advisory-policy to wp/6.3 September 23, 2026 01:31
@desrosj
desrosj force-pushed the fix-actions-6.3/update-php-test-matrix branch from 8a46639 to 28c2604 Compare September 23, 2026 01:40
@desrosj
desrosj changed the base branch from wp/6.3 to fix-actions-6.3/configure-composer-advisory-policy September 23, 2026 01:41
@desrosj
desrosj added this pull request to stack #486 September 23, 2026 01:41
@desrosj
desrosj removed this pull request from stack #486 September 24, 2026 17:11
@desrosj
desrosj changed the base branch from fix-actions-6.3/configure-composer-advisory-policy to wp/6.3 September 24, 2026 17:11
@desrosj
desrosj force-pushed the fix-actions-6.3/update-php-test-matrix branch from 28c2604 to 7daa23e Compare September 24, 2026 17:12
@desrosj
desrosj changed the base branch from wp/6.3 to fix-actions-6.3/configure-composer-advisory-policy September 24, 2026 17:13
@desrosj
desrosj added this pull request to stack #511 September 24, 2026 17:15
@desrosj
desrosj removed this pull request from stack #511 September 24, 2026 17:44
@desrosj
desrosj changed the base branch from fix-actions-6.3/configure-composer-advisory-policy to wp/6.3 September 24, 2026 17:44
@desrosj
desrosj force-pushed the fix-actions-6.3/update-php-test-matrix branch from 7daa23e to 834b360 Compare September 24, 2026 17:45
@desrosj
desrosj changed the base branch from wp/6.3 to fix-actions-6.3/pin-wp-env-core-version September 24, 2026 17:45
@desrosj
desrosj added this pull request to stack #515 September 24, 2026 17:45
@desrosj
desrosj removed this pull request from stack #515 September 28, 2026 14:31
@desrosj
desrosj added this pull request to stack #537 September 28, 2026 14:32
@desrosj
desrosj removed this pull request from stack #537 September 28, 2026 15:24
@desrosj
desrosj added this pull request to stack #552 September 28, 2026 15:25
@desrosj
desrosj removed this pull request from stack #552 September 28, 2026 18:41
@desrosj
desrosj changed the base branch from fix-actions-6.3/pin-wp-env-core-version to wp/6.3 September 28, 2026 18:43
@desrosj
desrosj changed the base branch from wp/6.3 to fix-actions-6.3/pin-wp-env-core-version September 28, 2026 18:46
@desrosj
desrosj added this pull request to stack #563 September 28, 2026 18:46
…jor.

unit-test.yml's test-php job tested every PHP 7.x minor individually
(7.0, 7.1, 7.2, 7.3, 7.4) plus both PHP 8.x minors it declared (8.0, 8.1,
8.2), for 8 entries total. Per WordPress core's PHP compatibility policy,
wp/6.3 supports PHP 7.0-7.4 and 8.0-8.2 (5.6 was dropped at this exact
release). This project's convention is to test only the lowest and highest
supported minor version per major PHP version, not every minor in between,
since intermediate minors add CI time without adding meaningfully different
coverage.

Changed the php: matrix from:
    7.0, 7.1, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2
to:
    7.0, 7.4, 8.0, 8.2

No other part of the job (multisite:, the PHP < 7.2 Composer-package
removal condition, runs-on, etc.) was touched.
@desrosj
desrosj removed this pull request from stack #563 September 28, 2026 19:03
@desrosj

desrosj commented Sep 28, 2026

Copy link
Copy Markdown
Owner Author

Moved to WordPress#83708. The branch is left in place.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant