Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@ghost
Copy link

@ghost ghost commented Feb 12, 2025

Overview

This pull request:

  • Fixes a bug
  • Adds a feature
  • Breaks backwards compatibility
  • Has tests that cover changes
  • Adds or fixes documentation

Summary

Nullable types must be explicit in 4.x branch to provide compatibility with PHP 8.4.

@greg-1-anderson
Copy link
Member

The 5.x branch is already compatible with PHP 8.4. If we merged this here, I'm not sure that this alone would make the 4.x branch compatible. I'm not sure that the 4.x branch can be made compatible in a backwards-compatible way. You should upgrade to the 5.x branch.

@ghost
Copy link
Author

ghost commented Feb 12, 2025

I have to use 4.x because I use Drupal 10.4 on PHP 8.4 and I can't use 5.x version there because of dependency restrictions. I just added diff of this PR as a patch and now I don't see any deprecation messages. It's enough for my goals, anyway thanks for the response!

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.

2 participants