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

Make a specific version of debugging() for deprecations

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Add prevent_form_autofill_password(); call to any existing unit test
      2. Execute unit test and you should see failure
      3. Add define('DEBUG_DISABLE_DEPRECATED', true); to config.php
      4. Execute unit test and you should not see failure
      Show
      Add prevent_form_autofill_password(); call to any existing unit test Execute unit test and you should see failure Add define('DEBUG_DISABLE_DEPRECATED', true); to config.php Execute unit test and you should not see failure
    • Difficulty:
      Moderate
    • Affected Branches:
      MOODLE_33_STABLE
    • Pull Master Branch:
      wip-mdl-57861

      Description

      It was asked on dev chat to have a separate debugging call for deprecations so they can be separated from real debugging that would cause a failure.

      Seems easy / sensible to me!

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              damyon Damyon Wiese
              Participants:
              Component watchers:
              Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated: