PHP 8.3 Calling get_class() without arguments is deprecated

Created on 22 May 2024, about 1 month ago
Updated 5 June 2024, 21 days 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.69.0 2024