Merge pull request #128 from camspiers/pdepend-allow-spaces

Allow project names with spaces to work with depend build artifacts
This commit is contained in:
Mark Clements 2013-08-11 11:21:23 -07:00
commit ff5be1f364

View file

@ -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);