Skip to content

fix: use ^8.2 PHP constraint for v2.x line#37

Open
CybotTM wants to merge 1 commit intomagicsunday:masterfrom
CybotTM:fix/php-constraint-v2
Open

fix: use ^8.2 PHP constraint for v2.x line#37
CybotTM wants to merge 1 commit intomagicsunday:masterfrom
CybotTM:fix/php-constraint-v2

Conversation

@CybotTM
Copy link

@CybotTM CybotTM commented Feb 27, 2026

Summary

  • Widen PHP constraint from >=8.2.0 <8.5.0 to ^8.2 for the v2.x line

Context

The SDK netresearch/sdk-api-universal-messenger requires magicsunday/jsonmapper: ^2.4.0. Since v2.4.0 has php: >=8.2.0 <8.5.0, it blocks PHP 8.5 installations.

There is no 2.x maintenance branch, so this PR is based on the 2.4.0 tag. To release a fix:

  1. Create a 2.x branch from the 2.4.0 tag
  2. Cherry-pick or merge this change
  3. Tag 2.4.1

Using ^8.2 avoids needing a new release for every minor PHP version. There is no technical reason to restrict the upper bound within the 8.x series.

See also: PR #36 for the same fix on the v3 (master) line.

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