PHP 8.2 Deprecated function: Creation of dynamic properties

Created on 9 April 2024, 11 months ago

Problem/Motivation

Deprecated function: Creation of dynamic property Salesforce::$consumer_key is deprecated in Salesforce->__construct()
(line 23 of /includes/salesforce.inc).
Deprecated function: Creation of dynamic property Salesforce::$consumer_secret is deprecated in Salesforce->__construct()
(line 24 of /includes/salesforce.inc).
Deprecated function: Creation of dynamic property Salesforce::$login_url is deprecated in Salesforce->__construct()
(line 25 of /includes/salesforce.inc).
Deprecated function: Creation of dynamic property Salesforce::$rest_api_version is deprecated in Salesforce->__construct()
(line 27 of /includes/salesforce.inc).

Proposed resolution

Add #[AllowDynamicProperties] annotation to the Salesforce class

๐Ÿ› Bug report
Status

Active

Version

3.0

Component

Miscellaneous

Created by

๐Ÿ‡ฐ๐Ÿ‡ฟKazakhstan Dmitrii_Zadorozhnyi

Live updates comments and jobs are added and updated live.
  • PHP 8.2

    The issue particularly affects sites running on PHP version 8.2.0 or later.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024