Repository navigation
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 |
|
Size Change: 0 B Total Size: 1.05 MB ℹ️ View Unchanged
|
c92e69e to
3ed9a64
Compare
|
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. |
wp/5.8 branch Actions: Pin Xdebug to a PHP-7.x-compatible releasewp/5.8 branch Actions: Install Xdebug 3.1.6 in wp-env on PHP 7
3ed9a64 to
b6b0580
Compare
b6b0580 to
fc83eed
Compare
fc83eed to
6d7a7b9
Compare
Part of #82935.
What?
Pins the version of Xdebug installed by
wp-env's Dockerfile template to3.1.6whenever the configured PHP major version is7, instead of lettingpecl install xdebugresolve to whatever the newest published release happens to be.Why?
The
PHP 7.4andPHP 7.4 multisitelegs ofunit-test.ymlfail at theInstall WordPressstep:Every Xdebug release from
3.2.0on declaresphp >= 8.0.0in its PECL metadata (https://pecl.php.net/rest/r/xdebug/deps.<version>.txt), and3.1.6is the newest release whose metadata supports PHP 7.2–7.4. This branch'swp-envinstalls Xdebug on PHP 7.2 and newer whether or not it is turned on, so this breaks CI here, not only local development.How?
Makes the same change as #50490, which made
wp-envinstallxdebug-3.1.6on PHP 7 (wp/6.3and newer have it), inside this branch's existing PHP version check indockerFileContents()(packages/env/lib/init-config.js). PHP 8.0+ environments still install the latest Xdebug release. Adds apackages/envchangelog entry.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.