MDL-71036 phpunit: xml config - change generation code to follow xsd
commit50e3bb8546782bf93d790f797f99e6ae3cf3d944
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Sun, 28 Feb 2021 22:22:33 +0000 (28 23:22 +0100)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Thu, 11 Mar 2021 22:07:31 +0000 (11 23:07 +0100)
tree502b7dbd443d64c5752db778644b4f03d183b393
parentcf38a34904f0d53c1943311589764a7153c72dbd
MDL-71036 phpunit: xml config - change generation code to follow xsd

This performs all the changes needed in the util generator to
produce XML files compliant with the new schema (see previous
commit for description of changes).

- All the occurrences in code of filter => coverage.
- All the occurrences in code of whitelist => include.
- Apply all the changes to comply with the new schema.

- Remove processUncoveredFilesFromWhitelist attribute, useless (false
    is its default value, and now have another name).
- Move from 4-spaces indented XML to 2-spaces indented.
- Small linefeed tweaks to generate better-looking XML.
lib/phpunit/classes/util.php