Problem/Motivation

Running administeruserbyrole on PHP 8.4 results in PHP deprecation warning:

PHP Deprecated:  administerusersbyrole_entity_field_access(): Implicitly marking parameter $items as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/web/modules/contrib/administerusersbyrole/administerusersbyrole.module on line 90

Proposed resolution

Update the argument to match hook_entity_field_access in Drupal 10 and Drupal 11.

Remaining tasks

Command icon 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

mradcliffe created an issue. See original summary.

mradcliffe’s picture

Status: Active » Needs review

adamps made their first commit to this issue’s fork.

  • adamps committed abb4f494 on 8.x-3.x authored by mradcliffe
    Issue #3509253 by mradcliffe: PHP 8.4 deprecation implicitly marking...
adamps’s picture

Status: Needs review » Fixed

Thanks

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.