Skip to content

Commit 76eb629

Browse files
committed
wip
1 parent 251f3fa commit 76eb629

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

phpstan.neon.dist

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ parameters:
66
paths:
77
- src
88
- config
9-
- database
9+
- tests/database
1010
tmpDir: build/phpstan
1111
checkOctaneCompatibility: true
1212
checkModelProperties: true
13+
ignoreErrors:
14+
- '#Unsafe usage of new static#'

phpunit.xml.dist

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,17 @@
1616
backupStaticProperties="false"
1717
>
1818
<testsuites>
19-
<testsuite name="Foxws Test Suite">
19+
<testsuite name="main">
2020
<directory>tests</directory>
2121
</testsuite>
2222
</testsuites>
23+
<coverage>
24+
<report>
25+
<html outputDirectory="build/coverage"/>
26+
<text outputFile="build/coverage.txt"/>
27+
<clover outputFile="build/logs/clover.xml"/>
28+
</report>
29+
</coverage>
2330
<logging>
2431
<junit outputFile="build/report.junit.xml"/>
2532
</logging>
@@ -28,4 +35,9 @@
2835
<directory suffix=".php">./src</directory>
2936
</include>
3037
</source>
38+
<php>
39+
<env name="APP_KEY" value="base64:+vhxltaNPPQSllGUEjOe2QnO8xaLyfnbttaq07A6k68="/>
40+
<env name="CACHE_STORE" value="redis"/>
41+
<env name="SESSION_DRIVER" value="redis"/>
42+
</php>
3143
</phpunit>

0 commit comments

Comments
 (0)