Problem/Motivation
In PHP 8.1, passing `null` to internal function parameters when they are not explicitly declared nullable results in a deprecation notice.
Steps to reproduce
Use Drupal 7 on PHP 8.1.
Proposed resolution
Correct the function calls that cause deprecation notices by setting the correct default parameter, replacing `null`.
Remaining tasks
User interface changes
None.
API changes
None.
Data model changes
N/A.
Release notes snippet
Details:
- RFC
- PHP 8.1: Passing null to non-nullable internal function parameters is deprecated
Issue fork drupal-3241422
Show commands
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 #4
mcdruid commentedComment #6
mcdruid commentedThank you!
Comment #8
mpp commentedIt would seem that we missed one in
https://git.drupalcode.org/issue/drupal-3224299/-/compare/7.x...3224299-...