PHP 8.2. reports Deprecated function: Creation of dynamic property

Created on 2 March 2023, over 1 year 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.69.0 2024