PHP 8.4 compatibility

Created on 8 January 2025, about 1 month ago

Problem/Motivation

Deprecated: Drupal\fontawesome\Form\EditorIconDialog::buildForm(): Implicitly marking parameter $editor as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/web/modules/contrib/fontawesome/src/Form/EditorIconDialog.php on line 71

Steps to reproduce

public function buildForm(array $form, FormStateInterface $form_state, Editor $editor = NULL) {

Proposed resolution

public function buildForm(array $form, FormStateInterface $form_state, ?Editor $editor = NULL) {

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

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