Repository navigation
Repair wp/6.5 branch Actions: Fix the Composer PHP platform override breaking unit tests on older PHP - #82994
Merged
desrosj merged 1 commit intoOct 27, 2026
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
desrosj
changed the base branch from
fix-actions-6.5/ignore-browserslist-old-data
to
wp/6.5
September 21, 2026 18:45
desrosj
force-pushed
the
fix-actions-6.5/fix-composer-platform-override
branch
from
September 21, 2026 18:52
a7e70f8 to
20ea465
Compare
desrosj
changed the base branch from
wp/6.5
to
fix-actions-6.5/ignore-browserslist-old-data
September 21, 2026 18:53
|
Size Change: 0 B Total Size: 1.72 MB ℹ️ View Unchanged
|
desrosj
commented
Sep 21, 2026
desrosj
changed the base branch from
fix-actions-6.5/ignore-browserslist-old-data
to
wp/6.5
September 21, 2026 23:45
desrosj
force-pushed
the
fix-actions-6.5/fix-composer-platform-override
branch
from
September 21, 2026 23:48
420f25b to
1c291f7
Compare
desrosj
changed the base branch from
wp/6.5
to
fix-actions-6.5/ignore-browserslist-old-data
September 21, 2026 23:51
desrosj
changed the base branch from
fix-actions-6.5/ignore-browserslist-old-data
to
wp/6.5
September 22, 2026 17:11
desrosj
force-pushed
the
fix-actions-6.5/fix-composer-platform-override
branch
from
September 22, 2026 17:14
1c291f7 to
972cde9
Compare
desrosj
changed the base branch from
wp/6.5
to
fix-actions-6.5/pin-wp-env-core-version
September 22, 2026 17:16
desrosj
changed the base branch from
fix-actions-6.5/pin-wp-env-core-version
to
wp/6.5
September 22, 2026 23:11
desrosj
force-pushed
the
fix-actions-6.5/fix-composer-platform-override
branch
from
September 22, 2026 23:37
972cde9 to
e2fcdb6
Compare
desrosj
changed the base branch from
wp/6.5
to
fix-actions-6.5/pin-wp-env-core-version
September 22, 2026 23:38
desrosj
changed the base branch from
fix-actions-6.5/pin-wp-env-core-version
to
wp/6.5
October 7, 2026 18:13
desrosj
force-pushed
the
fix-actions-6.5/fix-composer-platform-override
branch
from
October 7, 2026 18:15
812e76f to
1e8588b
Compare
desrosj
changed the base branch from
wp/6.5
to
fix-actions-6.5/pin-wp-env-core-version
October 7, 2026 18:17
desrosj
changed the base branch from
fix-actions-6.5/pin-wp-env-core-version
to
wp/6.5
October 8, 2026 18:31
desrosj
changed the base branch from
wp/6.5
to
fix-actions-6.5/pin-wp-env-core-version
October 8, 2026 18:40
desrosj
changed the base branch from
fix-actions-6.5/pin-wp-env-core-version
to
wp/6.5
October 8, 2026 21:33
desrosj
force-pushed
the
fix-actions-6.5/fix-composer-platform-override
branch
from
October 8, 2026 21:35
1e8588b to
663431f
Compare
desrosj
changed the base branch from
wp/6.5
to
fix-actions-6.5/pin-wp-env-core-version
October 8, 2026 21:36
desrosj
changed the base branch from
fix-actions-6.5/pin-wp-env-core-version
to
wp/6.5
October 9, 2026 23:50
desrosj
force-pushed
the
fix-actions-6.5/fix-composer-platform-override
branch
from
October 9, 2026 23:51
663431f to
d340c96
Compare
desrosj
changed the base branch from
wp/6.5
to
fix-actions-6.5/pin-wp-env-core-version
October 9, 2026 23:53
wp/6.5 branch Actions: Fix Composer PHP platform value override breaking unit tests in older PHP versionswp/6.5 branch Actions: Fix the Composer PHP platform override breaking unit tests on older PHP
desrosj
force-pushed
the
fix-actions-6.5/fix-composer-platform-override
branch
from
October 19, 2026 17:06
d340c96 to
df0dca7
Compare
desrosj
force-pushed
the
fix-actions-6.5/fix-composer-platform-override
branch
from
October 23, 2026 17:51
df0dca7 to
96c906b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #82928.
What?
Removes
unit-test.yml's "Override PHP version in composer.json" step andcomposer.json'sconfig.platform.phpvalue, replacing them with an explicitrequire.php: ">=7.0.0"constraint.Why?
The override step ran
composer config platform.php ${{ matrix.php }}, settingplatform.phpto the bare version string for each matrix leg (e.g.7.2). Composer normalizes a bare major.minor value tomajor.minor.0.0for dependency resolution — below the patch-level floors some dependencies declare (for example,symfony/processrequires>=7.2.5) — even though the actual PHP interpreter installed for that job (viashivammathur/setup-php) is a legitimate, current patch release. This made severaltest-phpmatrix legs fail outright with "Your requirements could not be resolved to an installable set of packages."require.phpis now>=7.0.0, WordPress 6.5's minimum PHP version. With the override step removed, Composer resolves each job against the PHP version it is really running.How?
This PR still ports the shape of upstream trunk's fix (d2eb077, WordPress/gutenberg#73358) — dropping the dynamic per-job platform override in favor of Composer auto-detecting the real interpreter — but corrects the
require.phpfloor for a branch that still supports PHP 7.0 (trunk had already dropped PHP 7.0/7.1 support entirely).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.