PHP 8.2. reports Deprecated function: Creation of dynamic property

Created on 2 March 2023, almost 2 years ago

Problem/Motivation

Running on PHP 8.2, I get dblog messages, type=php, severity=debug, "Deprecated function: Creation of dynamic property editableviews_style_helper::$plugin is deprecated in editableviews_style_helper->__construct() (line 364 of /container/application/{sitename}/docroot/sites/all/modules/contrib/editableviews/editableviews_plugin_style_row_edit_table.inc)."

Proposed resolution

Declare $plugin as class property in class editableviews_style_helper:
e.g. public $plugin;

Remaining tasks

Create patch.

🐛 Bug report
Status

Needs review

Component

Code

Created by

🇳🇿New Zealand jonathan_hunt

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

Comments & Activities

Production build 0.71.5 2024