Deprecation notice in tests: Passing null to the $typedConfigManager parameter of ConfigFormBase::__construct() is deprecated in drupal:10.2.0

Created on 11 January 2024, 6 months ago
Updated 26 January 2024, 5 months ago

Problem/Motivation

Test bot is failing the ModuleFilterSettingsFormTest due to a deprecation in 10.2.
test with PHP 8.1 & MySQL 5.7, Drupal 10.2.x β†’
1x: Passing null to the $typedConfigManager parameter of ConfigFormBase::__construct() is deprecated in drupal:10.2.0 and must be an instance of \Drupal\Core\Config\TypedConfigManagerInterface in drupal:11.0.0. See https://www.drupal.org/node/3404140 β†’

Proposed resolution

Fix the deprecation by updating the constructor in ModuleFilterSettingsFormTest::setUp

πŸ› Bug report
Status

Fixed

Version

4.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States wolffereast

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024