Deprecated function: Calling get_class() without arguments is deprecated

Created on 30 May 2024, 11 months ago
Updated 13 June 2024, 10 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

Fixed

Version

2.0

Component

Code

Created by

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024