Fix PHP 8.1 deprecations in ArrayDeprecationWrapper

Created on 16 December 2021, over 3 years ago
Updated 11 March 2023, about 2 years ago

Problem/Motivation

PHP 8.1 throws deprecation notices concerning the return types of certain PHP internal methods. These either need to be added, or the deprecation needs to be suppressed by adding the annotation #[\ReturnTypeWillChange].

Proposed resolution

Add the annotation #[\ReturnTypeWillChange] to suppress the deprecations.

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium Bart Vanhoutte

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024