PHP 8.3 Calling get_class() without arguments is deprecated

Created on 20 March 2024, 3 months ago
Updated 20 May 2024, about 1 month ago

Problem/Motivation

Code deprecation in PHP 8.3.

Deprecated function: Calling get_class() without arguments is deprecated in Drupal\menu_block\Plugin\Block\MenuBlock->blockForm() (line 85 of modules/contrib/menu_block/src/Plugin/Block/MenuBlock.php).

Proposed resolution

Replace all get_class() occurrences by self::class.

๐Ÿ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

๐Ÿ‡ซ๐Ÿ‡ทFrance alxgl

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