chore(deps): exclude vulnerable PHPUnit versions - #243
Merged
Merged
Conversation
Exclude PHPUnit versions covered by GHSA-vvj3-c3rp-c85p within the already-supported 10 and 11 majors.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #243 +/- ##
=========================================
Coverage 71.72% 71.72%
Complexity 999 999
=========================================
Files 49 49
Lines 3158 3158
=========================================
Hits 2265 2265
Misses 893 893 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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.
Summary
require-devcurrently allows PHPUnit versions covered by GHSA-vvj3-c3rp-c85p / CVE-2026-24765:Those ranges include PHPUnit 10
< 10.5.62and PHPUnit 11< 11.5.50.This change only raises the minima inside the already-supported majors:
No runtime / production dependencies change. There is no lockfile in this repository, and this PR does not add one.
Scope of the vulnerability
The advisory is in PHPUnit's PHPT code-coverage handling (
cleanupForCoverage()deserializes a pre-existing.coveragefile). It is not a vulnerability in BaconQrCode QR generation, and this change does not claim that BaconQrCode (or any storefront that uses it) is exploitable through QR output.Validation
composer validate --strict—./composer.json is validd169414e262c65b909f4430f634cb8834b7d28cd):This environment only has PHP 8.5.4, so those PHP 8.1 / 8.3 suites were not re-run here. Upstream CI on this PR covers PHP 8.1–8.5.