From b2a6ea38ee16cd0a65e40dcb0cdae95710179534 Mon Sep 17 00:00:00 2001 From: Dan Cryer Date: Mon, 1 Dec 2014 15:39:15 +0000 Subject: [PATCH] Updating PHP Copy/Paste Detector to new parameter format Fixes #669 --- PHPCI/Plugin/PhpCpd.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PHPCI/Plugin/PhpCpd.php b/PHPCI/Plugin/PhpCpd.php index 39b6e046..18fb5f86 100644 --- a/PHPCI/Plugin/PhpCpd.php +++ b/PHPCI/Plugin/PhpCpd.php @@ -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();