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

PHP7.2 replace usages of deprecated functions in core

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.4
    • Fix Version/s: 3.4
    • Component/s: General
    • Labels:
    • Testing Instructions:
      Hide

      majority of corrections were picked up by behat/unittests and, therefore, will be tested by behat/unittests (on any PHP version). This issue does not make any functional changes

      Couple of places that are not covered by automated tests, just do a quick walkthrough to look for regressions:

      1. Viewing diff in wiki: Create wiki module, add and edit page, view the diff of the change
      2. Workshop random allocation: Create a workshop module, add submissions as several students, as teacher move to "evaluation" phase and run "random allocation"
      3. Survey: create survey module, complete as two students, view graphs as teacher
      4. Block activity results: Create assignment module in visible group mode (with some groups defined) and grade multiple students. Add instance of block activity results pointing to this assignment, view the groups averages in this block
      Show
      majority of corrections were picked up by behat/unittests and, therefore, will be tested by behat/unittests (on any PHP version). This issue does not make any functional changes Couple of places that are not covered by automated tests, just do a quick walkthrough to look for regressions: Viewing diff in wiki: Create wiki module, add and edit page, view the diff of the change Workshop random allocation: Create a workshop module, add submissions as several students, as teacher move to "evaluation" phase and run "random allocation" Survey: create survey module, complete as two students, view graphs as teacher Block activity results: Create assignment module in visible group mode (with some groups defined) and grade multiple students. Add instance of block activity results pointing to this assignment, view the groups averages in this block
    • Affected Branches:
      MOODLE_34_STABLE
    • Fixed Branches:
      MOODLE_34_STABLE
    • Pull Master Branch:
      wip-MDL-60281-master
    • Sprint:
      3.4 Sprint 5

      Description

      PHP7.2 Function create_function() is deprecated

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  13/Nov/17