wp-discourse/phpunit.xml
Angus McLeod 21a1453eae
Handle PHP deprecations (#515)
* Update deprecated callable use

See https://wiki.php.net/rfc/deprecate_partially_supported_callables

* Update phpunit config
2024-04-03 11:00:35 -07:00

25 lines
820 B
XML
Vendored

<?xml version="1.0" encoding="UTF-8"?>
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
bootstrap="tests/phpunit/bootstrap.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
convertDeprecationsToExceptions="true"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.6/phpunit.xsd">
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">lib</directory>
</include>
</coverage>
<testsuites>
<testsuite name="unit">
<directory prefix="test-" suffix=".php">tests/phpunit/</directory>
<exclude>tests/phpunit/multisite/</exclude>
</testsuite>
</testsuites>
<php>
<server name="REQUEST_URI" value="https://wordpress.discourse.org"/>
</php>
</phpunit>