From b722ca6a64d8973a7dce6da4155fb1e1fb117455 Mon Sep 17 00:00:00 2001
From: Demian Katz <demian.katz@villanova.edu>
Date: Wed, 16 Jan 2013 14:44:27 -0500
Subject: [PATCH] Added pdepend to continuous integration.

---
 build.xml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/build.xml b/build.xml
index f06df7e7048..77310528adc 100644
--- a/build.xml
+++ b/build.xml
@@ -45,6 +45,12 @@
     <phingcall target="phpunit"/>
     <phingcall target="phpdoc"/>
     <phingcall target="phpcpd"/>
+    <phingcall target="pdepend"/>
+  </target>
+
+  <!-- PHP_Depend code analysis -->
+  <target name="pdepend">
+    <exec command="pdepend --jdepend-xml=${builddir}/reports/jdepend.xml --jdepend-chart=${builddir}/reports/dependencies.svg --overview-pyramid=${builddir}/reports/pdepend-pyramid.svg ${srcdir}/module" />
   </target>
 
   <!-- PHP copy-and-paste detection -->
-- 
GitLab