|
13 | 13 |
|
14 | 14 | <!-- Run unit tests and generate junit.xml and clover.xml -->
|
15 | 15 | <target name="phpunit">
|
16 |
| - <exec executable="phpunit" failonerror="true"/> |
| 16 | + <exec executable="vendor/bin/phpunit" failonerror="true"/> |
17 | 17 | </target>
|
18 | 18 |
|
19 | 19 | <!-- Generate jdepend.xml and software metrics charts -->
|
20 | 20 | <target name="pdepend">
|
21 |
| - <exec executable="pdepend"> |
| 21 | + <exec executable="vendor/bin/pdepend"> |
22 | 22 | <arg line="--jdepend-xml='${basedir}/build/logs/jdepend.xml'
|
23 | 23 | --jdepend-chart='${basedir}/build/pdepend/dependencies.svg'
|
24 | 24 | --overview-pyramid='${basedir}/build/pdepend/overview-pyramid.svg'
|
|
28 | 28 |
|
29 | 29 | <!-- Generate pmd.xml -->
|
30 | 30 | <target name="phpmd">
|
31 |
| - <exec executable="phpmd"> |
| 31 | + <exec executable="vendor/bin/phpmd"> |
32 | 32 | <arg line="src xml codesize,design,naming,unusedcode --reportfile '${basedir}/build/logs/pmd.xml'" />
|
33 | 33 | </exec>
|
34 | 34 | </target>
|
35 | 35 |
|
36 | 36 | <!-- Generate pmd-cpd.xml -->
|
37 | 37 | <target name="phpcpd">
|
38 |
| - <exec executable="phpcpd"> |
| 38 | + <exec executable="vendor/bin/phpcpd"> |
39 | 39 | <arg line="--log-pmd '${basedir}/build/logs/pmd-cpd.xml' src" />
|
40 | 40 | </exec>
|
41 | 41 | </target>
|
42 | 42 |
|
43 | 43 | <!-- Generate checkstyle.xml -->
|
44 | 44 | <target name="phpcs">
|
45 |
| - <exec executable="phpcs"> |
| 45 | + <exec executable="vendor/bin/phpcs"> |
46 | 46 | <arg value="--report=checkstyle" />
|
47 | 47 | <arg value="--report-file=${basedir}/build/logs/checkstyle.xml" />
|
48 | 48 | <arg value="--standard=PSR2" />
|
|
72 | 72 | <antcall target="phpmd"/>
|
73 | 73 | <antcall target="phpcpd"/>
|
74 | 74 | <antcall target="phpcs"/>
|
75 |
| - <antcall target="phpdoc"/> |
| 75 | + <!-- <antcall target="phpdoc"/> --> |
76 | 76 | <antcall target="phpunit"/>
|
77 | 77 | <antcall target="phpcb"/>
|
78 | 78 | </target>
|
|
0 commit comments