Fix deprecations for PHP 8.4

Created on 22 November 2024, 5 months ago

Problem/Motivation

PHP 8.4 has been released, but this module is triggering many deprecations like:

Deprecated: Drupal\key\KeyConfigOverrides::__construct(): Implicitly marking parameter $config_factory as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/web/modules/contrib/key/src/KeyConfigOverrides.php on line 53
PHP Deprecated:  Drupal\key\KeyConfigOverrides::__construct(): Implicitly marking parameter $cache_backend as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/web/modules/contrib/key/src/KeyConfigOverrides.php on line 53

This is now a Drupal coding standards violation as well, but since the coding standards issue still needs work ( 📌 Fix the issues reported by phpcs Needs review ), I propose fixing this deprecation separately here.

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇯🇵Japan ptmkenny

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