Skip to content

Commit dd249db

Browse files
committed
PHPUnit now creates coverage...required for codeclimate
1 parent da1899f commit dd249db

File tree

2 files changed

+21
-16
lines changed

2 files changed

+21
-16
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
/vendor/
33
/cache/
44
/blacklist/
5+
/build/

phpunit.xml

Lines changed: 20 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,23 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22

3-
<phpunit backupGlobals="false"
4-
backupStaticAttributes="false"
5-
colors="true"
6-
convertErrorsToExceptions="true"
7-
convertNoticesToExceptions="true"
8-
convertWarningsToExceptions="true"
9-
processIsolation="false"
10-
stopOnFailure="false"
11-
syntaxCheck="false"
12-
bootstrap="./vendor/autoload.php"
13-
>
14-
<testsuites>
15-
<testsuite name="tests">
16-
<directory>tests</directory>
17-
</testsuite>
18-
</testsuites>
3+
<phpunit
4+
backupGlobals="false"
5+
backupStaticAttributes="false"
6+
colors="true"
7+
convertErrorsToExceptions="true"
8+
convertNoticesToExceptions="true"
9+
convertWarningsToExceptions="true"
10+
processIsolation="false"
11+
stopOnFailure="false"
12+
syntaxCheck="true"
13+
bootstrap="./vendor/autoload.php"
14+
>
15+
<logging>
16+
<log type="coverage-clover" target="build/logs/clover.xml"/>
17+
</logging>
18+
<testsuites>
19+
<testsuite name="all">
20+
<directory>tests</directory>
21+
</testsuite>
22+
</testsuites>
1923
</phpunit>

0 commit comments

Comments
 (0)