Deprecated function: Calling get_class() without arguments is deprecated

Created on 29 May 2024, 7 months ago
Updated 13 June 2024, 6 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.2 that is supported by the module).

Steps to reproduce

Proposed resolution

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

Remaining tasks

None.

User interface changes

None.

API changes

None.

Data model changes

None.

πŸ› Bug report
Status

Fixed

Version

5.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