-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update deprecated callable use See https://wiki.php.net/rfc/deprecate_partially_supported_callables * Update phpunit config
- Loading branch information
1 parent
5a272ec
commit 21a1453
Showing
3 changed files
with
19 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,12 @@ | ||
<?xml version="1.0"?> | ||
<phpunit | ||
bootstrap="bootstrap.php" | ||
backupGlobals="false" | ||
colors="true" | ||
convertErrorsToExceptions="true" | ||
convertNoticesToExceptions="true" | ||
convertWarningsToExceptions="true" | ||
convertDeprecationsToExceptions="false" | ||
> | ||
<php> | ||
<const name="WP_TESTS_MULTISITE" value="1" /> | ||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="bootstrap.php" colors="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" convertDeprecationsToExceptions="true" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"> | ||
<coverage/> | ||
<php> | ||
<const name="WP_TESTS_MULTISITE" value="1"/> | ||
</php> | ||
<testsuites> | ||
<testsuite name="multisite"> | ||
<directory prefix="test-" suffix=".php">multisite/</directory> | ||
</testsuite> | ||
</testsuites> | ||
<filter> | ||
<whitelist processUncoveredFilesFromWhitelist="true"> | ||
<file>lib/discourse-publish.php</file> | ||
<file>lib/sync-discourse-topic.php</file> | ||
</whitelist> | ||
</filter> | ||
<testsuites> | ||
<testsuite name="multisite"> | ||
<directory prefix="test-" suffix=".php">multisite/</directory> | ||
</testsuite> | ||
</testsuites> | ||
</phpunit> |