From 15ffbf963d7962fa74c46ba753448057cadcb294 Mon Sep 17 00:00:00 2001 From: Cam Spiers Date: Sat, 10 Aug 2013 13:36:55 +1200 Subject: [PATCH] Allow project names with spaces to work with depend build artefacts --- PHPCI/Plugin/Pdepend.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PHPCI/Plugin/Pdepend.php b/PHPCI/Plugin/Pdepend.php index 95a7a8c0..73ca2287 100644 --- a/PHPCI/Plugin/Pdepend.php +++ b/PHPCI/Plugin/Pdepend.php @@ -66,7 +66,7 @@ class Pdepend implements \PHPCI\Plugin throw new \Exception(sprintf('The location %s is not writable.', $this->location)); } - $cmd = PHPCI_BIN_DIR . 'pdepend --summary-xml=%s --jdepend-chart=%s --overview-pyramid=%s "%s"'; + $cmd = PHPCI_BIN_DIR . 'pdepend --summary-xml="%s" --jdepend-chart="%s" --overview-pyramid="%s" "%s"'; //Remove the created files first unlink($this->location . DIRECTORY_SEPARATOR . $this->summary);