PHP 8.4 compatibility

Created on 8 January 2025, 12 days ago

Problem/Motivation

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

Steps to reproduce

Rebuild the cache with Drush when using PHP 8.4

Proposed resolution

   * @param \Drupal\layout_builder\SectionStorageInterface|null $section_storage
   *   The section storage being configured.
   * @param ?int $delta
   *   The original delta of the section.
   * @param ?string $uuid
   *   The UUID of the block being updated.
...
public function buildForm(array $form, FormStateInterface $form_state, ?SectionStorageInterface $section_storage = NULL, ?int $delta = NULL, ?string $uuid = NULL) {

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

2.2

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