Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
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:
- 3252039-php8.1-notices changes, plain diff MR !7
Comments
Comment #2
f1mishutka CreditAttribution: f1mishutka commentedComment #3
f1mishutka CreditAttribution: f1mishutka commentedComment #4
f1mishutka CreditAttribution: f1mishutka commentedComment #6
f1mishutka CreditAttribution: f1mishutka commentedMerge request created: https://git.drupalcode.org/project/bootstrap/-/merge_requests/7
Comment #8
shelaneComment #11
joseph.olstadPlease 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 2020EDIT: nvm
Comment #12
joseph.olstadnvm, facepalm, ok yes there is a new release, have to somehow update.