[PHP8] TypeError : uasort(): Argument #1 ($array) must be of type array, null given

Created on 24 June 2021, about 3 years ago
Updated 13 September 2023, 10 months ago

Problem/Motivation

When running unit tests in PHP 8 the following error is thrown:

TypeError : uasort(): Argument #1 ($array) must be of type array, null given

Seems to be due to #3115987: Rename the $instanceIDs property used from plugin classes to $instanceIds β†’ .

Steps to reproduce

Run unit tests on PHP 8

Proposed resolution

Update reference to variable

Remaining tasks

  • Review patch
  • Run weekly PHP 8 tests

User interface changes

N/A

API changes

N/A

Data model changes

N/A

πŸ› Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

πŸ‡¦πŸ‡ΊAustralia mstrelan

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.69.0 2024