summaryrefslogtreecommitdiff
path: root/phpunit.xml
diff options
context:
space:
mode:
authorsupahgreg <supahgreg@users.noreply.github.com>2025-10-11 21:17:19 +0000
committersupahgreg <supahgreg@users.noreply.github.com>2025-10-11 21:17:19 +0000
commit8b88da364f7ba1988532bdfa4ecf09adc5c80ed6 (patch)
tree6fe2a3fdf7eeedc376c24e708e8ca02da2369751 /phpunit.xml
parent1750c3b988705790e6ad852905858b0e5f06aa55 (diff)
Tweak the PHPUnit config and fix a UrlHelper deprecation that was identified.
Diffstat (limited to 'phpunit.xml')
-rw-r--r--phpunit.xml21
1 files changed, 15 insertions, 6 deletions
diff --git a/phpunit.xml b/phpunit.xml
index 20a3e63ea..c4163695f 100644
--- a/phpunit.xml
+++ b/phpunit.xml
@@ -1,14 +1,23 @@
-<phpunit
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/12.0/phpunit.xsd"
+<?xml version="1.0" encoding="UTF-8"?>
+<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/12.4/phpunit.xsd"
bootstrap="tests/autoload.php"
cacheDirectory=".phpunit.cache"
executionOrder="depends,defects"
beStrictAboutOutputDuringTests="true"
+ displayDetailsOnPhpunitDeprecations="true"
+ failOnPhpunitDeprecation="true"
failOnRisky="true"
failOnWarning="true">
- <testsuite name="tt-rss">
- <directory>tests</directory>
- </testsuite>
+ <testsuites>
+ <testsuite name="default">
+ <directory>tests</directory>
+ </testsuite>
+ </testsuites>
+ <source ignoreIndirectDeprecations="true" restrictNotices="true" restrictWarnings="true">
+ <include>
+ <directory>classes</directory>
+ </include>
+ </source>
</phpunit>