Fix implicit nullables for PHP 8.4

Created on 4 April 2025, 5 days ago

Problem/Motivation

Currently the module has 2 deprecations on PHP 8.4, they are simple fixes.

PHP Deprecated:  userprotect_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/userprotect/userprotect.module on line 121

Deprecated: userprotect_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/userprotect/userprotect.module on line 121

PHP 8.4 has deprecated implicit nullable types.

Steps to reproduce

Run module in a PHP 8.4 environment

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇷🇪Réunion Martygraphie Saint-Denis (Réunion)

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024