Updating PHP Copy/Paste Detector to new parameter format

Fixes #669
This commit is contained in:
Dan Cryer 2014-12-01 15:39:15 +00:00
parent a92c72e801
commit b2a6ea38ee

View file

@ -90,7 +90,7 @@ class PhpCpd implements \PHPCI\Plugin
$tmpfilename = tempnam('/tmp', 'phpcpd');
$cmd = $phpcpd . ' --log-pmd="%s" %s "%s"';
$cmd = $phpcpd . ' --log-pmd "%s" %s "%s"';
$success = $this->phpci->executeCommand($cmd, $tmpfilename, $ignore, $this->path);
print $this->phpci->getLastOutput();