Reviewed & tested by the community
Project:
OpenID Connect / OAuth client
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Jan 2026 at 12:38 UTC
Updated:
13 Apr 2026 at 00:43 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
arnested commentedComment #3
clairero commentedWe're using version 1.5.0 of the module. After switching to PHP 8.4, we also encountered deprecation warnings. I applied and tested the patch and can confirm it works well - the warnings are no longer appearing.
Comment #4
clairero commentedComment #6
benjifisherFull disclosure: @clairero and I are working on the same project.
Comment #3 describes testing. I also reviewed the changes in the patch, and they look good to me. +1 for RTBC.
I checked https://www.php.net/manual/en/language.types.declarations.php, and "Support for nullable types has been added" in PHP 7.1.0, so that should not be a problem.
The changes in the patch have already been made on the 3.x branch, in #3433705: Automated Drupal 11 compatibility fixes for openid_connect and #3452009: Cleanup CI pipeline to ensure all validations pass.. We might also add return type declarations to match the 3.x branch, but I think it is OK to make just the changes that fix actual problems. Exception:
src/OpenIDConnectAuthmap.phpwas removed in #3030596: Compatibility with externalauth , and the changes here were never made in that file on the 3.x branch.I opened a merge request based on the patch from #2.