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.
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | php84-nullable-params-16480049-8.patch | 5.96 KB | no sssweat |
| #3 | php84-nullable-params-16480049-3.patch | 3.39 KB | no sssweat |
Comments
Comment #2
no sssweat commentedComment #3
no sssweat commentedComment #4
no sssweat commentedComment #5
no sssweat commentedComment #6
no sssweat commentedComment #7
no sssweat commentedComment #8
no sssweat commentedFound more that weren't flagged yet by dblog.
Comment #9
anna d commentedseems the issue duplicates https://www.drupal.org/project/rabbit_hole/issues/3516167
Comment #10
liam morland