chore: resolve open dependabot security alerts#139
Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates Composer dependencies in the PHP Server SDK and example apps to address open Dependabot security alerts by bumping vulnerable packages (notably guzzlehttp/guzzle, guzzlehttp/psr7, and phpunit/phpunit) and regenerating lockfiles.
Changes:
- Bumped
guzzlehttp/guzzleto 7.13.1 andguzzlehttp/psr7to 2.12.3 in lockfiles. - Bumped
phpunit/phpunit(and related dev dependencies) in the root lockfile. - Updated example app lockfiles to align with the patched dependency set.
Reviewed changes
Copilot reviewed 2 out of 6 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| composer.json | Updates dependency constraints for Guzzle/Psr7 and PHPUnit. |
| composer.lock | Pins updated dependency graph (including Guzzle/Psr7 and PHPUnit transitive updates). |
| examples/hello-world/composer.lock | Updates example lockfile dependency graph to patched versions. |
| examples/hello-world-http-proxy/composer.lock | Updates example lockfile dependency graph to patched versions. |
| examples/hello-world-udp-proxy/composer.lock | Updates example lockfile dependency graph to patched versions. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| @@ -24,12 +24,12 @@ | |||
| "ext-curl": "*", | |||
| "ext-json": "*", | |||
| "ext-mbstring": "*", | |||
| "guzzlehttp/guzzle": "^7.9.2", | |||
| "guzzlehttp/psr7": "^2.7.0", | |||
| "guzzlehttp/guzzle": "^7.12.1", | |||
| "guzzlehttp/psr7": "^2.12.1", | |||
| "open-feature/sdk": "^2.0.10" | |||
There was a problem hiding this comment.
Fixed in f61c539: bumped the PHP requirement in composer.json from >=8.0 to >=8.1 to accurately reflect what the locked dependency graph actually requires (symfony/deprecation-contracts v3.7.1, phpunit 10, and other packages all require PHP >=8.1).
Summary
Resolved 20 open Dependabot security alerts by bumping vulnerable dependencies across the SDK and example apps.
Dependabot Alerts Resolved
guzzlehttp/guzzleguzzlehttp/guzzleguzzlehttp/psr7guzzlehttp/psr7guzzlehttp/psr7Also bumped
phpunit/phpunit10.5.45 to 10.5.63 to resolve CVE-2026-24765 (unsafe deserialization in PHPT code coverage handling, high severity).All 22 tests pass locally.