PHP 8.4 nullable params

Created on 14 January 2025, 6 months ago

Problem/Motivation

PHP Deprecated: Drupal\paragraphs_browser\Form\GroupEditForm::buildForm(): Implicitly marking parameter $paragraphs_browser_type as nullable is deprecated, the explicit nullable type must be used instead in paragraphs_browser/src/Form/GroupEditForm.php on line 40
PHP Deprecated: Drupal\paragraphs_browser\Form\GroupDeleteConfirm::buildForm(): Implicitly marking parameter $paragraphs_browser_type as nullable is deprecated, the explicit nullable type must be used instead in paragraphs_browser/src/Form/GroupDeleteConfirm.php on line 34
PHP Deprecated: Drupal\paragraphs_browser\Form\ParagraphTypeGroupsForm::buildForm(): Implicitly marking parameter $paragraphs_type as nullable is deprecated, the explicit nullable type must be used instead in paragraphs_browser/src/Form/ParagraphTypeGroupsForm.php on line 79

Steps to reproduce

Use module with PHP 8.4

📌 Task
Status

Active

Version

1.3

Component

Code

Created by

🇵🇱Poland krystianbrzoza

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

  • Issue created by @krystianbrzoza
  • Merge request !17fix: Support nullable type → (Open) created by krystianbrzoza
  • 🇮🇳India koustav_mondal Kolkata

    Review the MR.

  • First commit to issue fork.
  • 🇪🇸Spain enchufe Spain

    Fixed \Drupal\paragraphs_browser\Form\ParagraphsBrowserForm explicit nullable types.

  • Status changed to RTBC about 1 month ago
  • 🇪🇸Spain keopx Basque Country

    It works for me

  • 🇺🇦Ukraine Anna D

    Merge request !17 resolves the following deprecation warnings introduced after upgrading to PHP 8.4:

    Deprecated: Drupal\paragraphs_browser\Form\GroupEditForm::buildForm(): Implicitly marking parameter $paragraphs_browser_type as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/web/modules/contrib/paragraphs_browser/src/Form/GroupEditForm.php on line 40
    PHP Deprecated: Drupal\paragraphs_browser\Form\GroupDeleteConfirm::buildForm(): Implicitly marking parameter $paragraphs_browser_type as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/web/modules/contrib/paragraphs_browser/src/Form/GroupDeleteConfirm.php on line 34

    Deprecated: Drupal\paragraphs_browser\Form\GroupDeleteConfirm::buildForm(): Implicitly marking parameter $paragraphs_browser_type as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/web/modules/contrib/paragraphs_browser/src/Form/GroupDeleteConfirm.php on line 34
    PHP Deprecated: Drupal\paragraphs_browser\Form\ParagraphTypeGroupsForm::buildForm(): Implicitly marking parameter $paragraphs_type as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/web/modules/contrib/paragraphs_browser/src/Form/ParagraphTypeGroupsForm.php on line 79

    Deprecated: Drupal\paragraphs_browser\Form\ParagraphTypeGroupsForm::buildForm(): Implicitly marking parameter $paragraphs_type as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/web/modules/contrib/paragraphs_browser/src/Form/ParagraphTypeGroupsForm.php on line 79
    PHP Deprecated: Drupal\webp\Controller\FileDownloadController::__construct(): Implicitly marking parameter $streamWrapperManager as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/web/modules/contrib/webp/src/Controller/FileDownloadController.php on line 57

Production build 0.71.5 2024