Skip to content

Bump utopia-php/http to 2.0.0-RC5#67

Open
loks0n wants to merge 4 commits into
mainfrom
bump-http-rc5
Open

Bump utopia-php/http to 2.0.0-RC5#67
loks0n wants to merge 4 commits into
mainfrom
bump-http-rc5

Conversation

@loks0n
Copy link
Copy Markdown
Contributor

@loks0n loks0n commented Jun 4, 2026

Bumps utopia-php/http from 2.0.0-rc4 to 2.0.0-RC5.

🤖 Generated with Claude Code

loks0n and others added 2 commits June 4, 2026 15:19
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@greptile-apps
Copy link
Copy Markdown

greptile-apps Bot commented Jun 4, 2026

Greptile Summary

This PR bumps utopia-php/http from 2.0.0-rc4 to 2.0.0-rc5 and simultaneously raises the minimum PHP requirement from 8.3 to 8.4, removing PHP 8.3 from both the test matrix and composer.json. Tests are updated to use the new getHeaderLine() API introduced in RC5 in place of direct array access on getHeaders().

  • Dependency bump: utopia-php/http locked to 2.0.0-rc5 (git ref ec968c1); no other package changes.
  • PHP minimum version: Bumped from >=8.3 to >=8.4; CI matrix updated from ['8.3', '8.4', 'nightly'] to ['8.4', '8.5'], dropping PHP 8.3 coverage.
  • Test API migration: Three assertions switched from $response->getHeaders()['HeaderName'] to $response->getHeaderLine('headername') with lowercase keys, matching the PSR-7-style API in RC5.

Confidence Score: 5/5

Safe to merge — a straightforward RC patch bump with consistent, matching updates across the lock file, PHP minimum version, CI matrix, and test assertions.

All changes are internally consistent: the lock file resolves the new RC, composer.json and the platform section align on PHP 8.4, the CI matrix reflects the new minimum, and the three test assertions correctly adopt the new getHeaderLine() API. No logic regressions or missing updates were found.

No files require special attention.

Important Files Changed

Filename Overview
.github/workflows/tests.yml Updated PHP test matrix from ['8.3', '8.4', 'nightly'] to ['8.4', '8.5'], aligning with the new PHP minimum version requirement.
composer.json Bumped PHP minimum requirement from >=8.3 to >=8.4; utopia-php/http version constraint unchanged (already pinned to 2.0.0-RC5 from a prior PR).
composer.lock Resolved utopia-php/http from 2.0.0-rc4 to 2.0.0-rc5 (new git ref ec968c1); platform PHP constraint updated to >=8.4.
tests/e2e/HTTPServicesTest.php Adapted header assertions to the new RC5 API: replaced array-style getHeaders()['key'] access with getHeaderLine('key'), and switched header names to lowercase.

Reviews (3): Last reviewed commit: "Test against PHP 8.4 and 8.5 only" | Re-trigger Greptile

loks0n and others added 2 commits June 4, 2026 15:22
http RC5 switched response headers to PSR-7 semantics: keys are
lowercased and values are lists of strings. Use getHeaderLine() to
read scalar header values.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Drop PHP 8.3 and nightly from the CI matrix and raise the minimum PHP
requirement to 8.4.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant