Php 8.2 Deprecated function: Creation of dynamic properties

Created on 1 September 2023, about 1 year ago
Updated 30 July 2024, about 2 months ago

Problem/Motivation

Deprecated function: Creation of dynamic properties on many classes.

1. Deprecated function: Creation of dynamic property Drupal\smart_content\Plugin\DataType\DecisionData::$decision is deprecated in Drupal\smart_content\Plugin\Field\FieldType\DecisionItem->getDecision() (line 81 of modules/contrib/smart_content/src/Plugin/Field/FieldType/DecisionItem.php).

2. Deprecated function: Creation of dynamic property Drupal\smart_content\Plugin\smart_content\Condition\Type\KeyValue::$conditionInstance is deprecated in Drupal\smart_content\Condition\Type\ConditionTypePluginCollection->get() (line 46 of modules/contrib/smart_content/src/Condition/Type/ConditionTypePluginCollection.php).

3. Deprecated function: Creation of dynamic property Drupal\smart_content_browser\Plugin\smart_content\Condition\BrowserCondition::$condition_type_settings is deprecated in Drupal\smart_content\Condition\ConditionTypeConfigurableBase->set() (line 244 of modules/contrib/smart_content/src/Condition/ConditionTypeConfigurableBase.php).

Proposed resolution

Fix them lol.

🐛 Bug report
Status

Needs review

Version

3.1

Component

Code

Created by

🇺🇸United States brayn7 Lexington, Ky

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

Comments & Activities

Production build 0.71.5 2024