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. |
6696c60 to
87fe370
Compare
wp/5.7 branch Actions: Configure Composer policy to ignore an irrelevant advisorywp/5.7 branch Actions: Configure the Composer advisory policy
87fe370 to
7264486
Compare
7264486 to
d812faa
Compare
Part of #82936.
What?
Adds a
config.policy.advisories.ignore-identry tocomposer.jsonforPKSA-mh9b-91zm-m1gy. The entry's description explains why the advisory doesn't apply here.Why?
Composer 2.10 won't load a package version that has a security advisory against it. Every
wp-coding-standards/wpcsrelease matching this branch's^2.2constraint is covered byPKSA-mh9b-91zm-m1gy, so any command that resolves dependencies fails:That includes the
composer requirerun by #84774'sInstall a PHPUnit release this PHP version can loadstep, and a localcomposer update.The advisory (CVE-2026-45293) is in the
WordPress.WP.EnqueuedResourceParameterssniff, which only ships in theWordPressandWordPress-Extrarulesets. This branch'sphpcs.xml.distusesWordPress-CoreandWordPress-Docs, so the vulnerable sniff never loads.Testing Instructions
With Composer 2.10.3,
composer updateexits2on this advisory without this change, and0with it. No other advisory blocks resolution.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