-
Task
-
Resolution: Done
-
Minor
-
None
-
Future Dev
Based on an Audit of the code, this component has the following uses of ksort without an explicit sort order which means SORT_REGULAR is applied by default and this sort behavior changes in PHP 8.2.
See: https://php.watch/versions/8.2/ksort-SORT_REGULAR-order-changes
Instances:
- ./repository/nextcloud/lib.php: ksort($files);
- ./repository/nextcloud/lib.php: ksort($folders);
- ./repository/lib.php: ksort($args);
- ./repository/webdav/lib.php: ksort($files);
- ./repository/webdav/lib.php: ksort($folders);
- is child of
-
MDL-76409 PHP 8.2: ksort(..., SORT_REGULAR) sort order changes
-
- Closed
-