Problem/Motivation

Has deprecated PHP code

PHP Deprecated: Drupal\rabbit_hole\Plugin\RabbitHoleBehaviorPlugin\PageRedirect::performAction(): Implicitly marking parameter $current_response as nullable is deprecated, the explicit nullable type must be used instead in /app/docroot/modules/contrib/rabbit_hole/src/Plugin/RabbitHoleBehaviorPlugin/PageRedirect.php on line 117

Deprecated: Drupal\rabbit_hole\Plugin\RabbitHoleBehaviorPlugin\PageRedirect::performAction(): Implicitly marking parameter $current_response as nullable is deprecated, the explicit nullable type must be used instead in /app/docroot/modules/contrib/rabbit_hole/src/Plugin/RabbitHoleBehaviorPlugin/PageRedirect.php on line 117
PHP Deprecated: Drupal\rabbit_hole\Plugin\RabbitHoleBehaviorPlugin\PageRedirect::settingsForm(): Implicitly marking parameter $entity as nullable is deprecated, the explicit nullable type must be used instead in /app/docroot/modules/contrib/rabbit_hole/src/Plugin/RabbitHoleBehaviorPlugin/PageRedirect.php on line 253

Deprecated: Drupal\rabbit_hole\Plugin\RabbitHoleBehaviorPlugin\PageRedirect::settingsForm(): Implicitly marking parameter $entity as nullable is deprecated, the explicit nullable type must be used instead in /app/docroot/modules/contrib/rabbit_hole/src/Plugin/RabbitHoleBehaviorPlugin/PageRedirect.php on line 253
PHP Deprecated: Drupal\rabbit_hole\Plugin\RabbitHoleBehaviorPlugin\PageRedirect::settingsForm(): Implicitly marking parameter $bundle_settings as nullable is deprecated, the explicit nullable type must be used instead in /app/docroot/modules/contrib/rabbit_hole/src/Plugin/RabbitHoleBehaviorPlugin/PageRedirect.php on line 253

Deprecated: Drupal\rabbit_hole\Plugin\RabbitHoleBehaviorPlugin\PageRedirect::settingsForm(): Implicitly marking parameter $bundle_settings as nullable is deprecated, the explicit nullable type must be used instead in /app/docroot/modules/contrib/rabbit_hole/src/Plugin/RabbitHoleBehaviorPlugin/PageRedirect.php on line 253
PHP Deprecated: Drupal\rabbit_hole\Plugin\RabbitHoleBehaviorPluginBase::settingsForm(): Implicitly marking parameter $entity as nullable is deprecated, the explicit nullable type must be used instead in /app/docroot/modules/contrib/rabbit_hole/src/Plugin/RabbitHoleBehaviorPluginBase.php on line 28

Deprecated: Drupal\rabbit_hole\Plugin\RabbitHoleBehaviorPluginBase::settingsForm(): Implicitly marking parameter $entity as nullable is deprecated, the explicit nullable type must be used instead in /app/docroot/modules/contrib/rabbit_hole/src/Plugin/RabbitHoleBehaviorPluginBase.php on line 28
PHP Deprecated: Drupal\rabbit_hole\Plugin\RabbitHoleBehaviorPluginBase::settingsForm(): Implicitly marking parameter $bundle_settings as nullable is deprecated, the explicit nullable type must be used instead in /app/docroot/modules/contrib/rabbit_hole/src/Plugin/RabbitHoleBehaviorPluginBase.php on line 28

Deprecated: Drupal\rabbit_hole\Plugin\RabbitHoleBehaviorPluginBase::settingsForm(): Implicitly marking parameter $bundle_settings as nullable is deprecated, the explicit nullable type must be used instead in /app/docroot/modules/contrib/rabbit_hole/src/Plugin/RabbitHoleBehaviorPluginBase.php on line 28
PHP Deprecated: Drupal\rabbit_hole\Plugin\RabbitHoleBehaviorPluginInterface::settingsForm(): Implicitly marking parameter $entity as nullable is deprecated, the explicit nullable type must be used instead in /app/docroot/modules/contrib/rabbit_hole/src/Plugin/RabbitHoleBehaviorPluginInterface.php on line 44

Deprecated: Drupal\rabbit_hole\Plugin\RabbitHoleBehaviorPluginInterface::settingsForm(): Implicitly marking parameter $entity as nullable is deprecated, the explicit nullable type must be used instead in /app/docroot/modules/contrib/rabbit_hole/src/Plugin/RabbitHoleBehaviorPluginInterface.php on line 44
PHP Deprecated: Drupal\rabbit_hole\Plugin\RabbitHoleBehaviorPluginInterface::settingsForm(): Implicitly marking parameter $bundle_settings as nullable is deprecated, the explicit nullable type must be used instead in /app/docroot/modules/contrib/rabbit_hole/src/Plugin/RabbitHoleBehaviorPluginInterface.php on line 44

Deprecated: Drupal\rabbit_hole\Plugin\RabbitHoleBehaviorPluginInterface::settingsForm(): Implicitly marking parameter $bundle_settings as nullable is deprecated, the explicit nullable type must be used instead in /app/docroot/modules/contrib/rabbit_hole/src/Plugin/RabbitHoleBehaviorPluginInterface.php on line 44
PHP Deprecated: Drupal\rabbit_hole\Plugin\RabbitHoleBehaviorPlugin\PageNotFound::performAction(): Implicitly marking parameter $current_response as nullable is deprecated, the explicit nullable type must be used instead in /app/docroot/modules/contrib/rabbit_hole/src/Plugin/RabbitHoleBehaviorPlugin/PageNotFound.php on line 23

Deprecated: Drupal\rabbit_hole\Plugin\RabbitHoleBehaviorPlugin\PageNotFound::performAction(): Implicitly marking parameter $current_response as nullable is deprecated, the explicit nullable type must be used instead in /app/docroot/modules/contrib/rabbit_hole/src/Plugin/RabbitHoleBehaviorPlugin/PageNotFound.php on line 23
PHP Deprecated: Drupal\rabbit_hole\Plugin\RabbitHoleBehaviorPlugin\AccessDenied::performAction(): Implicitly marking parameter $current_response as nullable is deprecated, the explicit nullable type must be used instead in /app/docroot/modules/contrib/rabbit_hole/src/Plugin/RabbitHoleBehaviorPlugin/AccessDenied.php on line 23

Deprecated: Drupal\rabbit_hole\Plugin\RabbitHoleBehaviorPlugin\AccessDenied::performAction(): Implicitly marking parameter $current_response as nullable is deprecated, the explicit nullable type must be used instead in /app/docroot/modules/contrib/rabbit_hole/src/Plugin/RabbitHoleBehaviorPlugin/AccessDenied.php on line 23
PHP Deprecated: Drupal\ckeditor_templates\Form\CKEditorTemplatesDialogForm::buildForm(): Implicitly marking parameter $editor as nullable is deprecated, the explicit nullable type must be used instead in /app/docroot/modules/contrib/ckeditor_templates/src/Form/CKEditorTemplatesDialogForm.php on line 76

PHP Deprecated: Drupal\rabbit_hole\Plugin\RabbitHoleBehaviorPlugin\PageRedirect::settingsForm(): Implicitly marking parameter $bundle_settings as nullable is deprecated, the explicit nullable type must be used instead in /app/docroot/modules/contrib/rabbit_hole/src/Plugin/RabbitHoleBehaviorPlugin/PageRedirect.php on line 253

Deprecated: Drupal\rabbit_hole\Plugin\RabbitHoleBehaviorPlugin\PageRedirect::settingsForm(): Implicitly marking parameter $bundle_settings as nullable is deprecated, the explicit nullable type must be used instead in /app/docroot/modules/contrib/rabbit_hole/src/Plugin/RabbitHoleBehaviorPlugin/PageRedirect.php on line 253
[success] Cache rebuild complete.

Steps to reproduce

Install PHP 8.4.

Proposed resolution

Adjust code

Remaining tasks

Create patch/MR.

Comments

no sssweat created an issue. See original summary.

no sssweat’s picture

Title: PHP 8.4 Deprecated Code » PHP 8.4 Deprecated nullable params code
no sssweat’s picture

StatusFileSize
new3.39 KB
no sssweat’s picture

Title: PHP 8.4 Deprecated nullable params code » PHP 8.4 Deprecated implicit nullable params code
no sssweat’s picture

Status: Active » Needs review
no sssweat’s picture

Issue summary: View changes
no sssweat’s picture

Version: 2.0.x-dev » 8.x-1.x-dev
no sssweat’s picture

Version: 8.x-1.x-dev » 2.0.x-dev
StatusFileSize
new5.96 KB

Found more that weren't flagged yet by dblog.

anna d’s picture

liam morland’s picture

Status: Needs review » Closed (duplicate)
Related issues: +#3516167: Fix Multiple Implicit Nullable Parameters for PHP 8.4 Compatibility

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.