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 |
|
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. |
407715f to
dfb1a17
Compare
dfb1a17 to
a5a314e
Compare
Part of #82936.
What?
Makes
wp-env's generated Dockerfile skip the Xdebug install block entirely when Xdebug is off (xdebugMode === 'off'), inpackages/env/lib/init-config.js. Adds apackages/envchangelog entry.Why?
dockerFileContents()ranpecl install xdebugunconditionally, whateverxdebugModethe caller passed. With no version pin,pecl install xdebugresolves to the newest Xdebug release, which requires PHP >= 8.0. Everywp-env startfor a PHP version below that (5.6,7.0and7.4in this branch's test matrix) failed the Docker build before the site could start:Xdebug is off for every CI job on this branch (no
--xdebugflag is passed towp-env start), so skipping the install when it's off removes the failure without tracking which Xdebug version supports which PHP version. Newer@wordpress/envreleases also only install Xdebug when it's requested.How?
wp/5.8fixes the same failure differently (#84446): it pinsxdebug-3.1.6on PHP 7, because itswp-envinstalls Xdebug on PHP 7.2 and newer regardless of the mode.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