Add code coverage configuration (phpunit.xml source filter), baseline coverage report (21.27% lines), gitignore coverage/ and .phpunit.result.cache; remove deprecated setAccessible() calls

This commit is contained in:
Pontoporeia
2026-05-20 02:03:55 +02:00
parent a047062d87
commit a6e0aa5887
9 changed files with 17 additions and 14 deletions

View File

@@ -1,5 +1,15 @@
<?xml version="1.0"?>
<phpunit bootstrap="tests/bootstrap.php" colors="true">
<source>
<include>
<directory suffix=".php">app/src</directory>
</include>
</source>
<coverage>
<report>
<html outputDirectory="coverage"/>
</report>
</coverage>
<testsuites>
<testsuite name="XAMXAM">
<directory>tests/phpunit</directory>