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 path="${basedir}/build/logs/phploc.csv" />
|
||||||
<arg value="--log-xml" />
|
<arg value="--log-xml" />
|
||||||
<arg path="${basedir}/build/logs/phploc.xml" />
|
<arg path="${basedir}/build/logs/phploc.xml" />
|
||||||
<arg path="${basedir}/lib/classes/" />
|
<arg path="${basedir}/lib/classes/api" />
|
||||||
<arg path="${basedir}/tests" />
|
<arg path="${basedir}/tests" />
|
||||||
</exec>
|
</exec>
|
||||||
|
|
||||||
|
|||||||
28
phpdox.xml
28
phpdox.xml
@@ -1,10 +1,32 @@
|
|||||||
<phpdox xmlns="http://xml.phpdox.net/config">
|
<phpdox xmlns="http://xml.phpdox.net/config">
|
||||||
<project name="froxlor" source="." workdir="build/phpdox">
|
<project name="froxlor" source="${basedir}/lib/classes/api"
|
||||||
<collector publiconly="true">
|
workdir="${basedir}/build/phpdox">
|
||||||
|
<collector publiconly="true" backend="parser">
|
||||||
<include mask="*.php" />
|
<include mask="*.php" />
|
||||||
</collector>
|
</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">
|
<build engine="html" enabled="true" output="api">
|
||||||
<file extension="html" />
|
<file extension="html" />
|
||||||
</build>
|
</build>
|
||||||
|
|||||||
Reference in New Issue
Block a user