Closed (fixed)
Project:
Group
Version:
2.0.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
13 Dec 2021 at 09:13 UTC
Updated:
27 Dec 2021 at 10:04 UTC
Jump to comment: Most recent, Most recent file
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.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | group-3254097-2.patch | 1.41 KB | kristiaanvandeneynde |
Comments
Comment #2
kristiaanvandeneyndeComment #3
kristiaanvandeneynde