Skip to content

Commit 40bbe55

Browse files
Build/Test Tools: Add schema reference to PHPUnit config files.
The current config files validate against the PHPUnit XSD schema for config files for PHPUnit 5.7 – 9.2. The schema was changed in PHPUnit 9.3, and the `filter` and `logging` settings were deprecated in favor of `coverage` and a different format for `logging`. This commit explicitly sets the schema against which the files currently validate, for clarity. Props jrf. See #53363. git-svn-id: https://develop.svn.wordpress.org/trunk@51583 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 25bc89f commit 40bbe55

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

phpunit.xml.dist

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
<phpunit
2+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/9.2/phpunit.xsd"
24
bootstrap="tests/phpunit/includes/bootstrap.php"
35
backupGlobals="false"
46
colors="true"

tests/phpunit/multisite.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
<phpunit
2+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/9.2/phpunit.xsd"
24
bootstrap="includes/bootstrap.php"
35
backupGlobals="false"
46
colors="true"

0 commit comments

Comments
 (0)