Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-77483

PHP 8.2: ksort(...) - Cache

XMLWordPrintable

      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:

      • ./cache/classes/output/renderer.php:        ksort($storetotals);
      • ./cache/classes/local/administration_display_helper.php:        ksort($results);
      • ./cache/classes/administration_helper.php:        ksort($return);
      • ./cache/classes/administration_helper.php:        ksort($default);

            matt.porritt@moodle.com Matt Porritt
            matt.porritt@moodle.com Matt Porritt
            David Woloszyn David Woloszyn
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour
                1h

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.