Problem/Motivation

There are multiple notices about deprecations if running under PHP 8.1

  • #[\ReturnTypeWillChange] attribute should be added to several methods
  • using \Serializable interface without __serialize() and __unserialize() methods implemented is deprecated. So need to implement this methods.

Similar issue:

Issue fork bootstrap-3252039

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

f1mishutka created an issue. See original summary.

f1mishutka’s picture

Issue summary: View changes
f1mishutka’s picture

Title: Several notices under PHP 8.1 due to deprecations » PHP 8.1 compatibility
Issue summary: View changes
f1mishutka’s picture

Version: 8.x-3.23 » 8.x-3.x-dev

f1mishutka’s picture

Status: Active » Needs review

shelane’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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

joseph.olstad’s picture

Please tag a release with this fix, we're just testing PHP 8.1 and noticed this.

hasn't been a tagged release since June 4th 2020

EDIT: nvm

joseph.olstad’s picture

nvm, facepalm, ok yes there is a new release, have to somehow update.