Repository navigation
Conversation
desrosj
added this pull request to stack #621
October 7, 2026 01:28
🤖 PR meta 🤖🏷️ LabelsThis pull request needs exactly one label indicating its type, and has 0.
Read more about Type labels in Gutenberg. If you cannot add labels yourself, a reviewer can do it for you. |
desrosj
removed this pull request from stack #621
October 7, 2026 18:02
desrosj
changed the base branch from
fix-actions-6.1/disable-apparmor-for-performance-tests
to
wp/6.1
October 7, 2026 18:03
desrosj
force-pushed
the
fix-actions-6.1/fix-xdebug-pecl-php7
branch
from
October 7, 2026 18:04
2ca5ccf to
e5b3b0c
Compare
desrosj
changed the base branch from
wp/6.1
to
fix-actions-6.1/replace-db-check-with-healthcheck
October 7, 2026 18:05
desrosj
added this pull request to stack #667
October 7, 2026 18:05
desrosj
marked this pull request as ready for review
October 8, 2026 03:29
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
Owner
Author
|
Moved to WordPress#84261. |
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.
What?
When Xdebug is turned on and the environment's PHP version is
7.x,wp-envnow installsxdebug-3.1.6instead of the latest Xdebug release (packages/env/lib/init-config.js). Other PHP versions, and an unset PHP version, still install the latest release.Why?
pecl install xdebugwith no version resolves to the newest Xdebug release, and every release from3.2.0onward declaresphp >= 8.0.0in its PECL metadata, so on a PHP 7 image the install fails:3.1.6is the newest release whose PECL metadata supports PHP 7.2–7.4. This branch only installs Xdebug when it is turned on (wp-env start --xdebug, or anxdebugconfig), which no CI job does, so this fixes local development on PHP 7 and does not change CI.How?
Ports the Xdebug part of #50490, which made
wp-envinstallxdebug-3.1.6on PHP 7 (wp/6.3and newer have it). The rest of WordPress#50490 (Dockerfile restructuring, PHPUnit defaults, docs) isn't needed. TheRUNline matches WordPress#50490's, andinstallXdebug()now takes the config so it can read the development PHP version, the same onecheckXdebugPhpCompatibility()already validates. Adds apackages/envchangelog entry.wp/5.8fixes the same failure in #345 (row AT), where a Docker build againstwordpress:php7.4confirmed thatpecl install xdebugfails andpecl install xdebug-3.1.6installs cleanly.node --checkpasses on the edited file.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.
🤖 Generated with Claude Code