Will commit to 2.0.x for now, but might backport to the previous version if 2.0.x doesn't get released "soon".

In GroupPermissionHandler::sortPermissions() we are returning the result of a greater-than check, i.e. a boolean. Recent version of PHP no longer like this and expect either -1, 0 or 1. We can use the spaceship operator <=> to achieve exactly that.

CommentFileSizeAuthor
#2 group-3254097-2.patch1.41 KBkristiaanvandeneynde

Comments

kristiaanvandeneynde created an issue. See original summary.

kristiaanvandeneynde’s picture

Status: Active » Needs review
StatusFileSize
new1.41 KB
kristiaanvandeneynde’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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