PHP 8.3 Calling get_class() without arguments is deprecated

Created on 22 May 2024, 7 months ago
Updated 5 June 2024, 7 months ago

Problem/Motivation

As of PHP 8.3, calling get_class() without arguments is deprecated. This is currently used in the disclosure menu block form to add the processMenuLevelParents form processing to various form containers.

Steps to reproduce

Using PHP 8.3, attempt to add a disclosure menu block.

Proposed resolution

Replace get_class() with self::class.

πŸ› Bug report
Status

Fixed

Version

2.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States jayhuskins

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