Repository navigation
Bump PHPUnit to ^8.5.52 (GHSA-vvj3-c3rp-c85p) - #46
Conversation
Composer blocks every PHPUnit 6 release under PKSA-z3gr-8qht-p93v, which has failed master CI since 2026-09-26. 8.5.52 is the first patched 8.5 release and stays inside aspect-mock 3.1's PHPUnit constraint. Co-authored-by: August Flanagan <aflanagan@users.noreply.github.com>
|
Opus 5.5 High — review of head Verdict: APPROVE. There are no blocking findings. (This is posted as a comment because this environment can't submit a formal approving review.) The change is one line, 1. Advisory cleared (non-blocking, verified)
2. aspect-mock 3.1.1 and goaop 2.x on PHPUnit 8.5 (non-blocking, verified)
3. SDK consumers (non-blocking, verified unaffected)
4. Other risks (all non-blocking; most predate this PR)
CI status of head
|
Composer 2 already ignores it and Composer 3 will reject it, which would fail the Test workflow install step. Co-authored-by: August Flanagan <aflanagan@users.noreply.github.com>
|
The other review notes are skipped as out of scope for this security bump:
The deprecated |
|
Opus 5.5 High re-review @ 90fd74d: Verdict: APPROVE. There are no blocking notes. Changes since 79529cc (1 commit, Full PR at the current head: two one-line changes against
CI on 90fd74d: My earlier non-blocking notes are unchanged: dev dependencies float with no lock file or |
Summary
Fixes Dependabot alert #1, GHSA-vvj3-c3rp-c85p (CVE-2026-24765, Packagist advisory
PKSA-z3gr-8qht-p93v): unsafe deserialization of PHPT code-coverage files in PHPUnit. The patched floor on the 8.5 line is 8.5.52.require-devnow requiresphpunit/phpunit: ^8.5.52instead of^6.0. The runtime constraint staysphp: >=5.6, and the public SDK API is unchanged.composer.lockremains untracked because.gitignoreexcludes it; CI continues to resolve dependencies fromcomposer.json.CI restoration
Master
Test(test.yml) has been red since 2026-09-26. Composer refuses to install every PHPUnit 6 release underPKSA-z3gr-8qht-p93v, andcodeception/aspect-mock3.1 also requiresphpunit/phpunit > 6.0.0, socomposer installfailed before the suite ran.^8.5.52is inside aspect-mock 3.1's PHPUnit constraint and outside that advisory range. The current resolution is PHPUnit 8.5.56. CI stays on PHP 7.2, which PHPUnit 8.5 supports (php: >=7.2). The install step no longer passes Composer's deprecated--no-suggestflag, which Composer 3 will reject.Tests
Locally, on PHP 7.2.34 (the CI version):
composer validate --strictpassedcomposer installinstalled PHPUnit 8.5.56,codeception/aspect-mock3.1.1, andgoaop/framework2.3.5, and Composer reported no security advisoriescomposer run-script test: OK (23 tests, 36 assertions)AspectMock 3.1.1 with Go! AOP 2.x ran under PHPUnit 8 without test-side edits. Existing
setUp(): void/tearDown(): voidsignatures and assertions already match PHPUnit 8.src/was not modified.