Merge branch 'master' of github.com:Block8/PHPCI

This commit is contained in:
Dan Cryer 2014-05-08 13:36:11 +01:00
commit 74b390a8de
2 changed files with 2 additions and 2 deletions

View file

@ -68,7 +68,7 @@ class PhpLoc implements PHPCI\Plugin, PHPCI\ZeroConfigPlugin
return false;
}
$success = $this->phpci->executeCommand($phploc . ' %s "%s"', $ignore, $this->phpci->buildPath);
$success = $this->phpci->executeCommand($phploc . ' %s "%s"', $ignore, $this->directory);
$output = $this->phpci->getLastOutput();
if (preg_match_all('/\((LOC|CLOC|NCLOC|LLOC)\)\s+([0-9]+)/', $output, $matches)) {

View file

@ -101,7 +101,7 @@ class PhpUnit implements PHPCI\Plugin, PHPCI\ZeroConfigPlugin
}
if (isset($options['args'])) {
$this->args = $options['args'];
$this->args = $this->phpci->interpolate($options['args']);
}
if (isset($options['path'])) {