Missing class variable $configManager in controller "ConfigTrackController"

Created on 11 January 2023, over 1 year ago
Updated 16 January 2023, over 1 year ago

Problem/Motivation

While going through the codebase, found that the class ConfigTrackController has an undeclared property variable "configManager", which is initialised in the constructor on line 61 and used in line 243. The need to address this issue is because PHP 8.2 will show a deprecated warning for dynamic properties and PHP 9.0 a fatal error.

More info on this https://php.watch/versions/8.2/dynamic-properties-deprecated

Steps to reproduce

Check the file "config_track/src/Controller/ConfigTrackController.php"

Proposed resolution

Declare the variable in the class

Remaining tasks

Create a patch and test

User interface changes

N/A

API changes

N/A

Data model changes

N/A

📌 Task
Status

RTBC

Version

1.0

Component

Code

Created by

🇮🇳India vishwac9

Live updates comments and jobs are added and updated live.
  • Novice

    It would make a good project for someone who is new to the Drupal contribution process. It's preferred over Newbie.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

No activities found.

Production build 0.69.0 2024