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

Use proper __construct in forms API for PHP7 support

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Critical Critical
    • 3.0.1
    • 3.0
    • Forms Library
    • MOODLE_30_STABLE
    • MOODLE_30_STABLE
    • wip-MDL-52081-master
    • Hide

      The following forms need to be checked that they don't throw any errors/debugging messages:

      • user edit form
      • course edit form
      • event monitor report
      • add assignment form
      • add lesson form
      • upload users form
      • create assignment with rubric
      • grade student in assignment with rubric
      • test file with otherwise unused element(s): htmleditor, listing, warning, submitlink https://gist.github.com/marinaglancy/8c9071a5cbd7bd198b4f
      • community block search form
      • edit question categories (in question bank inside a course)
      • create wiki without forcing page format and add pages
      • enable self registration and recaptcha and check out registration form with recaptcha el
      • create lesson and select user override (searchableselector element)
      • enable outcomes and edit outcome (/grade/edit/outcome/edit.php)
      • create database with several fields and open export form
      • register external blog form
      • create assignment with marking guide, define it and grade a student
      • create wiki and create a page in format other than html
      Show
      The following forms need to be checked that they don't throw any errors/debugging messages: user edit form course edit form event monitor report add assignment form add lesson form upload users form create assignment with rubric grade student in assignment with rubric test file with otherwise unused element(s): htmleditor, listing, warning, submitlink https://gist.github.com/marinaglancy/8c9071a5cbd7bd198b4f community block search form edit question categories (in question bank inside a course) create wiki without forcing page format and add pages enable self registration and recaptcha and check out registration form with recaptcha el create lesson and select user override (searchableselector element) enable outcomes and edit outcome (/grade/edit/outcome/edit.php) create database with several fields and open export form register external blog form create assignment with marking guide, define it and grade a student create wiki and create a page in format other than html

      in forms API we use class name as constructor, should be __construct()

            marina Marina Glancy
            marina Marina Glancy
            cameron1729 cameron1729
            David Monllaó David Monllaó
            Mark Nelson Mark Nelson
            Votes:
            1 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved:

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