Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F5576634
D152.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D152.diff
View Options
diff --git a/composer.json b/composer.json
--- a/composer.json
+++ b/composer.json
@@ -57,6 +57,9 @@
],
"phpmd": [
"vendor/bin/phpmd app/ xml ruleset.xml"
+ ],
+ "test": [
+ "phpunit --no-coverage"
]
},
"config": {
diff --git a/phpdox.xml b/phpdox.xml
--- a/phpdox.xml
+++ b/phpdox.xml
@@ -18,6 +18,9 @@
<source type="pmd">
<file name="logs/pmd.xml" />
</source>
+ <source type="phpunit">
+ <coverage path="logs/coverage" />
+ </source>
</enrich>
<build engine="html" output="api">
<file extension="html" />
diff --git a/phpunit.xml b/phpunit.xml
--- a/phpunit.xml
+++ b/phpunit.xml
@@ -18,6 +18,13 @@
<directory suffix=".php">app/</directory>
</whitelist>
</filter>
+ <logging>
+ <log type="coverage-html" target="build/coverage"/>
+ <log type="coverage-clover" target="build/logs/clover.xml"/>
+ <log type="coverage-crap4j" target="build/logs/crap4j.xml"/>
+ <log type="coverage-xml" target="build/logs/coverage"/>
+ <log type="junit" target="build/logs/junit.xml" logIncompleteSkipped="false"/>
+ </logging>
<php>
<env name="APP_ENV" value="testing"/>
<env name="CACHE_DRIVER" value="array"/>
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Mar 14, 03:38 (19 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2483233
Default Alt Text
D152.diff (1 KB)
Attached To
Mode
D152: [CI] PHPUnit coverage information
Attached
Detach File
Event Timeline
Log In to Comment