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

PHP7.2 replace usages of deprecated functions in core

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.4
    • 3.4
    • General
    • MOODLE_34_STABLE
    • MOODLE_34_STABLE
    • wip-MDL-60281-master
    • 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
    • 3.4 Sprint 5

    Description

      PHP7.2 Function create_function() is deprecated

      Attachments

        Issue Links

          Activity

            People

              marina Marina Glancy
              marina Marina Glancy
              Adrian Greeve Adrian Greeve
              David Monllaó David Monllaó
              David Monllaó David Monllaó
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Sujith Haridasan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                13/Nov/17