Skip to content

fix: Make SDK compatible with PHP 8.4#773

Draft
ninjasimon wants to merge 5 commits into
mainfrom
php84-compat
Draft

fix: Make SDK compatible with PHP 8.4#773
ninjasimon wants to merge 5 commits into
mainfrom
php84-compat

Conversation

@ninjasimon
Copy link
Copy Markdown

PHP 8.4 deprecates implicit-nullable parameters. The SDK's exception classes used this pattern on the
$previous constructor parameter, which produced deprecation notices when running on PHP 8.4. This PR adds
explicit nullability in both the generated src/Exception/ classes and the local DataValidationException
template, bumps @rebilly/regenerator to ^0.0.9 to pick up the matching fix in the bundled templates, and
adds PHP 8.3 and 8.4 to the CI matrix to lock the contract in.

@ninjasimon ninjasimon self-assigned this May 13, 2026
@ninjasimon ninjasimon requested a review from a team as a code owner May 13, 2026 15:44
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 13, 2026

🦋 Changeset detected

Latest commit: 674ffaf

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@rebilly/client-php Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 13, 2026

🔍 PHP SDK Changes Preview

Diff is too large to display inline

📦 Download the rebilly-sdk-diff artifact from the workflow run for a formatted HTML diff.


Updated: 2026-05-15 13:32:04 UTC
Commit: 674ffafb3ba124ba3233758b082c80199d940e16

@ninjasimon ninjasimon marked this pull request as draft May 13, 2026 16:26
@ninjasimon ninjasimon marked this pull request as ready for review May 13, 2026 20:10
@ninjasimon ninjasimon closed this May 13, 2026
@ninjasimon ninjasimon reopened this May 13, 2026
ashkarpetin
ashkarpetin previously approved these changes May 13, 2026
@ninjasimon ninjasimon marked this pull request as draft May 15, 2026 15:22
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.

3 participants