Implicitly marking parameter as nullable is deprecated

Created on 20 January 2025, 3 months ago

With PHP 8.4 I'm getting:

Deprecated: Drupal\paragraphs\ParagraphsConversionManager::getApplicableDefinitions(): Implicitly marking parameter $allowed_types as nullable is deprecated, the explicit nullable type must be used instead in web/modules/contrib/paragraphs/src/ParagraphsConversionManager.php on line 68
Deprecated: Drupal\paragraphs\ParagraphsConversionManager::isApplicable(): Implicitly marking parameter $allowed_types as nullable is deprecated, the explicit nullable type must be used instead in web/modules/contrib/paragraphs/src/ParagraphsConversionManager.php on line 94
Deprecated: Drupal\paragraphs\ParagraphsConversionManager::supportsConversion(): Implicitly marking parameter $allowed_types as nullable is deprecated, the explicit nullable type must be used instead in web/modules/contrib/paragraphs/src/ParagraphsConversionManager.php on line 137
Deprecated: Drupal\paragraphs\Plugin\Field\FieldWidget\ParagraphsWidget::getAllowedTypes(): Implicitly marking parameter $field_definition as nullable is deprecated, the explicit nullable type must be used instead in web/modules/contrib/paragraphs/src/Plugin/Field/FieldWidget/ParagraphsWidget.php on line 1244
Deprecated: Drupal\paragraphs\Plugin\Field\FieldWidget\ParagraphsWidget::getChildParagraphs(): Implicitly marking parameter $paragraph as nullable is deprecated, the explicit nullable type must be used instead in web/modules/contrib/paragraphs/src/Plugin/Field/FieldWidget/ParagraphsWidget.php on line 1527
Deprecated: Drupal\paragraphs\Plugin\Field\FieldWidget\ParagraphsWidget::buildNestedParagraphsFoDragDrop(): Implicitly marking parameter $paragraph as nullable is deprecated, the explicit nullable type must be used instead in web/modules/contrib/paragraphs/src/Plugin/Field/FieldWidget/ParagraphsWidget.php on line 1586
Deprecated: {closure:Drupal\paragraphs\Plugin\Field\FieldWidget\ParagraphsWidget::reorderParagraphs():2343}(): Implicitly marking parameter $parent_entity as nullable is deprecated, the explicit nullable type must be used instead in web/modules/contrib/paragraphs/src/Plugin/Field/FieldWidget/ParagraphsWidget.php on line 2343
🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇷🇴Romania claudiu.cristea Arad 🇷🇴

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