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

Some privacy unittests call reset() on object, this is deprecated in PHP8.1

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 4.1
    • 3.11.4, 4.1
    • Privacy, Unit tests

        . Calling key(), current(), next(), prev(), reset(), or end() on objects
          is deprecated. Instead cast the object to array first, or make use of
          ArrayIterator.
      

      RFC: https://wiki.php.net/rfc/deprecations_php_8_1

            marina Marina Glancy
            marina Marina Glancy
            Huong Nguyen Huong Nguyen
            Jun Pataleta Jun Pataleta
            CiBoT CiBoT
            Votes:
            0 Vote for this issue
            Watchers:
            5 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, 45 minutes
                1h 45m

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