Update PHPUnit configuration

This commit is contained in:
Sebastian Bergmann 2021-05-27 07:25:57 +02:00
parent 905f416214
commit 1f819620d2
No known key found for this signature in database
GPG Key ID: 4AA394086372C20A
2 changed files with 6 additions and 5 deletions

2
.gitignore vendored
View File

@ -1,7 +1,7 @@
/.idea
/.php-cs-fixer.php
/.php-cs-fixer.cache
/.phpunit.result.cache
/.phpunit.cache
/.psalm/cache
/composer.lock
/vendor

View File

@ -1,22 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.0/phpunit.xsd"
bootstrap="vendor/autoload.php"
cacheDirectory=".phpunit.cache"
executionOrder="depends,defects"
forceCoversAnnotation="true"
beStrictAboutCoversAnnotation="true"
beStrictAboutOutputDuringTests="true"
beStrictAboutTodoAnnotatedTests="true"
failOnRisky="true"
failOnWarning="true"
colors="true"
verbose="true">
<testsuites>
<testsuite name="default">
<directory suffix="Test.php">tests</directory>
<directory>tests</directory>
</testsuite>
</testsuites>
<coverage processUncoveredFiles="true">
<coverage>
<include>
<directory suffix=".php">src</directory>
</include>