Make WordPress Core

Changeset 51583


Ignore:
Timestamp:
08/09/2021 12:52:58 PM (2 years ago)
Author:
SergeyBiryukov
Message:

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.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/phpunit.xml.dist

    r51573 r51583  
    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"
  • trunk/tests/phpunit/multisite.xml

    r51573 r51583  
    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"
Note: See TracChangeset for help on using the changeset viewer.