Problem/Motivation

The static::sortByCount() function throws deprecation notices on PHP 8.0

usort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or greater than zero

Needs to be tested and review.

Updated patch.

CommentFileSizeAuthor
#2 php8-usort.patch450 bytesmairo20
php8-usort.patch664 bytesmairo20

Comments

mairo20 created an issue. See original summary.

mairo20’s picture

Issue summary: View changes
StatusFileSize
new450 bytes

  • joseph.olstad committed c40ab86 on 2.0.x authored by mairo20
    Issue #3226290 by mairo20: Returning bool from comparison function is...
joseph.olstad’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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