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

Final deprecation of whitelist properties in coverage_info

XMLWordPrintable

      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

            pholden Paul Holden
            stronk7 Eloy Lafuente (stronk7)
            Andrew Lyons Andrew Lyons
            Ilya Tregubov Ilya Tregubov
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 25 minutes
                25m

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