Closed (fixed)
Project:
Search API
Version:
8.x-1.x-dev
Component:
General code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
7 Dec 2024 at 06:52 UTC
Updated:
14 Jan 2025 at 16:03 UTC
Jump to comment: Most recent
Comments
Comment #3
nickdickinsonwildeComment #4
drunken monkeyThanks a lot for creating this issue and already providing a great merge request!
I don’t think we’ll have any problems with backwards compatibility here since making the nullability explicit makes no difference to PHP (except for the deprecation warning in PHP 8.4+). To test, just run the following locally (or run it on 3v4l.org):
No warnings at all for PHP 8.3 and lower, just the expected deprecation warnings for 8.4.
No idea what went wrong with your pipeline there, but just re-running it worked fine. So, merged.
Thanks again!
Comment #6
drunken monkeyComment #8
liam morlandIt would be very helpful to get a release with this change. Modules that depend on this module also display messages about this on PHP 8.4.
PHP does not see this as a change in the function signature, so a major version update is not needed.