Deprecated function: Calling get_class() without arguments is deprecated

Created on 18 September 2024, 2 months ago
Updated 19 September 2024, 2 months ago

Problem/Motivation

Hello, calling get_class() without arguments is deprecated in PHP 8.3. It must be replaced with any alternative that is available in PHP 7.3 (the minimum PHP version for Drupal 9 that is supported by the module).

Steps to reproduce

Proposed resolution

I suggest replacing it with static::class which is also used to attach pre render handlers in the core.

Remaining tasks

None.

User interface changes

None.

API changes

None.

Data model changes

None.

🐛 Bug report
Status

Active

Version

1.2

Component

Code

Created by

🇮🇳India pradeepjha

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

Comments & Activities

Production build 0.71.5 2024