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

Final deprecation of whitelist properties in coverage_info

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.11
    • Fix Version/s: None
    • Component/s: Unit tests
    • Labels:
      None

      Description

      With the bump to PHPUnit @ MDL-71036 (Moodle 3.11), some parts of the phpunit.xml schema were changed.

      One of the changes was about to rename the old whitelist to include. That was done and, in parallel, we changed our coverage_info properties in the same direction:

      • whitelistfolders => includelistfolders
      • whitelistfiles => includelistfiles

      And left the old (whitelist) ones deprecated, so they continue working but display a warning when the PHPUnit site is created.

      Now, for Moodle 4.3, we should remove them completely. To do it, just look for this issue code (MDL-71067) in codebase and remove the 2 properties and 1 block (if-block) of code.

      Verify that there aren't more occurrences in code, apart from the change that was documented in lib/upgrade.txt.

      Ciao

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              stronk7 Eloy Lafuente (stronk7)
              Participants:
              Component watchers:
              Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated: