Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP 8.4 Compatibility #2

Merged
merged 5 commits into from
Jan 28, 2025
Merged

PHP 8.4 Compatibility #2

merged 5 commits into from
Jan 28, 2025

Conversation

nie7321
Copy link
Member

@nie7321 nie7321 commented Jan 28, 2025

Support for PHP 8.4 and fixes for its deprecation. This library had two major sets of problems:

  1. Implicit nulls in method signature, e.g. public function foo(string $bar = null) is no longer allowed. These have been updated to ?string to allow for null.
  2. _ as a class name is deprecated. The base class is named _, so that's been updated. This may cause BC breaks.

I put some change notes in for our fork too.

`PHP Deprecated: some_function: Implicitly marking parameter $something as nullable is deprecated, the explicit nullable type must be used instead`
Naming classes _ is deprecated.
I have no idea what they're for. This is from upstream. Let's see what it does!
@nie7321 nie7321 merged commit 81b9763 into master Jan 28, 2025
3 checks passed
@nie7321 nie7321 deleted the php84 branch January 28, 2025 15:57
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