enhance phpdox config
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
@@ -98,7 +98,7 @@
|
||||
<arg path="${basedir}/build/logs/phploc.csv" />
|
||||
<arg value="--log-xml" />
|
||||
<arg path="${basedir}/build/logs/phploc.xml" />
|
||||
<arg path="${basedir}/lib/classes/" />
|
||||
<arg path="${basedir}/lib/classes/api" />
|
||||
<arg path="${basedir}/tests" />
|
||||
</exec>
|
||||
|
||||
|
||||
28
phpdox.xml
28
phpdox.xml
@@ -1,10 +1,32 @@
|
||||
<phpdox xmlns="http://xml.phpdox.net/config">
|
||||
<project name="froxlor" source="." workdir="build/phpdox">
|
||||
<collector publiconly="true">
|
||||
<project name="froxlor" source="${basedir}/lib/classes/api"
|
||||
workdir="${basedir}/build/phpdox">
|
||||
<collector publiconly="true" backend="parser">
|
||||
<include mask="*.php" />
|
||||
</collector>
|
||||
|
||||
<generator output="build">
|
||||
<generator output="${basedir}/build">
|
||||
<enrich base="${basedir}/build">
|
||||
<!-- add phploc output -->
|
||||
<source type="phploc">
|
||||
<file name="logs/phploc.xml" />
|
||||
</source>
|
||||
|
||||
<!-- PHP Code Sniffer findings -->
|
||||
<source type="phpcs">
|
||||
<file name="logs/checkstyle.xml" />
|
||||
</source>
|
||||
|
||||
<!-- PHPMessDetector -->
|
||||
<source type="pmd">
|
||||
<file name="logs/pmd.xml" />
|
||||
</source>
|
||||
|
||||
<!-- PHPUnit Coverage XML
|
||||
<source type="phpunit">
|
||||
</source>
|
||||
-->
|
||||
</enrich>
|
||||
<build engine="html" enabled="true" output="api">
|
||||
<file extension="html" />
|
||||
</build>
|
||||
|
||||
Reference in New Issue
Block a user