Needs review
Project:
Social API
Version:
4.1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Issue tags:
Reporter:
Created:
8 Oct 2026 at 02:56 UTC
Updated:
8 Oct 2026 at 03:15 UTC
Jump to comment: Most recent
PHP 8.4 deprecates implicitly nullable parameter types. On PHP 8.4+ the following deprecation is triggered:
Deprecated function: Drupal\social_api\AuthManager\OAuth2Manager::__construct(): Implicitly marking parameter $request as nullable is deprecated, the explicit nullable type must be used instead in include()
Use explicit nullable types, e.g. in src/AuthManager/OAuth2Manager.php:
- Request $request = NULL + ?Request $request = NULL
Check the rest of the module for the same pattern and fix all occurrences. Explicit nullable types are supported since PHP 7.1, so there are no backwards-compatibility concerns.
None.
None.
None.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
livido commented