Implicitly marking a parameter as nullable is deprecated since PHP 8.4.

Created on 14 July 2025, 13 days ago

Problem/Motivation

phpcs detects

FILE: /var/www/html/web/modules/contrib/flexible_permissions/tests/src/Unit/ChainPermissionCalculatorTest.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 4 WARNINGS AFFECTING 4 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 291 | WARNING | Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable
     |         | parameter: $variation_cache.
 292 | WARNING | Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable
     |         | parameter: $variation_cache_static.
 293 | WARNING | Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable
     |         | parameter: $cache_static.
 294 | WARNING | Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable
     |         | parameter: $account_switcher.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇪🇸Spain abelass

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024