Skip to content

#3521897: Fix implicit nullable parameters

Closes #3521897

Problem/Motivation

Code triggers PHP 8.4 deprecations due to implicit Nullable parameters:

  • Deprecated: Drupal\block_visibility_groups\Form\ConditionFormBase::buildForm(): Implicitly marking parameter $block_visibility_group as nullable is deprecated, the explicit nullable type must be used instead in block_visibility_groups/src/Form/ConditionFormBase.php on line 94
  • Deprecated: Drupal\block_visibility_groups\Form\ConditionDeleteForm::buildForm(): Implicitly marking parameter $block_visibility_group as nullable is deprecated, the explicit nullable type must be used instead in block_visibility_groups/src/Form/ConditionDeleteForm.php on line 62
  • Deprecated: Drupal\block_visibility_groups\Controller\BlockLibraryGroupsController::listBlocks(): Implicitly marking parameter $block_visibility_group as nullable is deprecated, the explicit nullable type must be used instead in block_visibility_groups/src/Controller/BlockLibraryGroupsController.php on line 17
Edited by Peter Decuyper

Merge request reports

Loading