Skip to content

Commit

Permalink
Merge branch 'master' of github.com:Block8/PHPCI
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Cryer committed May 8, 2014
2 parents b1885a0 + e7e8430 commit 33aaaf6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion PHPCI/Plugin/PhpLoc.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public function execute()
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)) {
Expand Down
2 changes: 1 addition & 1 deletion PHPCI/Plugin/PhpUnit.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public function __construct(Builder $phpci, Build $build, array $options = array
}

if (isset($options['args'])) {
$this->args = $options['args'];
$this->args = $this->phpci->interpolate($options['args']);
}

if (isset($options['path'])) {
Expand Down

0 comments on commit 33aaaf6

Please sign in to comment.