Skip to content

Commit 9a5fa17

Browse files
Fixes coverage
1 parent 525f4ae commit 9a5fa17

File tree

2 files changed

+23
-31
lines changed

2 files changed

+23
-31
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@
44
/coverage
55
/.idea
66
.phpunit.result.cache
7+
.phpunit.cache
78
phpunit.xml.dist.bak
89
composer.lock

phpunit.xml

+22-31
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,23 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit bootstrap="vendor/autoload.php"
3-
backupGlobals="false"
4-
backupStaticAttributes="false"
5-
colors="true"
6-
verbose="true"
7-
convertErrorsToExceptions="true"
8-
convertNoticesToExceptions="true"
9-
convertWarningsToExceptions="true"
10-
processIsolation="false"
11-
stopOnFailure="false">
12-
<testsuites>
13-
<testsuite name="Test Suite">
14-
<directory>tests</directory>
15-
</testsuite>
16-
</testsuites>
17-
<filter>
18-
<whitelist>
19-
<directory suffix=".php">src/</directory>
20-
</whitelist>
21-
</filter>
22-
<logging>
23-
<log type="coverage-clover" target="build/logs/clover.xml"/>
24-
</logging>
25-
<php>
26-
<env name="APP_ENV" value="testing"/>
27-
<env name="APP_KEY" value="AckfSECXIvnK5r28GVIWUAxmbBSjTsmF"/>
28-
<env name="DB_CONNECTION" value="sqlite"/>
29-
<env name="DB_DATABASE" value=":memory:"/>
30-
<env name="CACHE_DRIVER" value="array"/>
31-
</php>
32-
</phpunit>
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="vendor/autoload.php" colors="true" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.0/phpunit.xsd" cacheDirectory=".phpunit.cache">
3+
<coverage>
4+
<include>
5+
<directory suffix=".php">src/</directory>
6+
</include>
7+
<report>
8+
<clover outputFile="build/logs/clover.xml"/>
9+
</report>
10+
</coverage>
11+
<testsuites>
12+
<testsuite name="Test Suite">
13+
<directory>tests</directory>
14+
</testsuite>
15+
</testsuites>
16+
<php>
17+
<env name="APP_ENV" value="testing"/>
18+
<env name="APP_KEY" value="AckfSECXIvnK5r28GVIWUAxmbBSjTsmF"/>
19+
<env name="DB_CONNECTION" value="sqlite"/>
20+
<env name="DB_DATABASE" value=":memory:"/>
21+
<env name="CACHE_DRIVER" value="array"/>
22+
</php>
23+
</phpunit>

0 commit comments

Comments
 (0)