• Deprecated: Drupal\contact_storage\Plugin\Field\FieldType\OptionsListItemBase::getPossibleValues(): Implicitly marking parameter $account as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/web/modules/contrib/contact_storage/src/Plugin/Field/FieldType/OptionsListItemBase.php on line 34
  • Deprecated: Drupal\contact_storage\Plugin\Field\FieldType\OptionsListItemBase::getPossibleOptions(): Implicitly marking parameter $account as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/web/modules/contrib/contact_storage/src/Plugin/Field/FieldType/OptionsListItemBase.php on line 44
  • Deprecated: Drupal\contact_storage\Plugin\Field\FieldType\OptionsListItemBase::getSettableValues(): Implicitly marking parameter $account as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/web/modules/contrib/contact_storage/src/Plugin/Field/FieldType/OptionsListItemBase.php on line 51
  • Deprecated: Drupal\contact_storage\Plugin\Field\FieldType\OptionsListItemBase::getSettableOptions(): Implicitly marking parameter $account as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/web/modules/contrib/contact_storage/src/Plugin/Field/FieldType/OptionsListItemBase.php on line 61
  • Deprecated: Drupal\contact_storage\Plugin\Field\FieldType\OptionsEmailItem::getSettableOptions(): Implicitly marking parameter $account as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/web/modules/contrib/contact_storage/src/Plugin/Field/FieldType/OptionsEmailItem.php on line 136
  • Deprecated: Drupal\contact_storage\ContactFormViewBuilder::resetCache(): Implicitly marking parameter $entities as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/web/modules/contrib/contact_storage/src/ContactFormViewBuilder.php on line 127
  • Deprecated: Drupal\contact_storage\Controller\ContactStorageController::contactSitePage(): Implicitly marking parameter $contact_form as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/web/modules/contrib/contact_storage/src/Controller/ContactStorageController.php on line 18
CommentFileSizeAuthor
#2 contact_storage-3532964-1.patch3.58 KBchaithanya.m

Comments

colan created an issue. See original summary.

chaithanya.m’s picture

StatusFileSize
new3.58 KB

The attached patch fixes compatibility with PHP 8.4

chaithanya.m’s picture

Status: Active » Needs review
colan’s picture

Status: Needs review » Reviewed & tested by the community

Code looks good & works. Thanks!

lostcarpark’s picture

I've tested the patch and it's resolved the deprecation warnings for me.

  • berdir committed e88d9107 on 8.x-1.x
    [#3532964] feat: Fix deprecations in PHP 8.4.7
    
    By: colan
    By: chaithanya...
berdir’s picture

Status: Reviewed & tested by the community » Fixed

This really should have been a merge request, but wanted to get this in for a new release.

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.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.