Merge branch 'master' of github.com:Block8/PHPCI
This commit is contained in:
commit
c0b2ed0df0
|
@ -133,7 +133,7 @@ class PhpUnit implements PHPCI\Plugin, PHPCI\ZeroConfigPlugin
|
|||
}
|
||||
|
||||
if (isset($options['coverage'])) {
|
||||
$this->coverage = " --coverage-html {$options['coverage']} ";
|
||||
$this->coverage = ' --coverage-html ' . $this->phpci->interpolate($options['coverage']) . ' ';
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -188,7 +188,6 @@ class TechnicalDebt implements PHPCI\Plugin, PHPCI\ZeroConfigPlugin
|
|||
$content = trim($allLines[$lineNumber - 1]);
|
||||
|
||||
$errorCount++;
|
||||
$this->phpci->log("Found $search on line $lineNumber of $file:\n$content");
|
||||
|
||||
$fileName = str_replace($this->directory, '', $file);
|
||||
$data[] = array(
|
||||
|
|
|
@ -43,7 +43,7 @@ class Wipe implements \PHPCI\Plugin
|
|||
$path = $phpci->buildPath;
|
||||
$this->phpci = $phpci;
|
||||
$this->build = $build;
|
||||
$this->directory = isset($options['directory']) ? $options['directory'] : $path;
|
||||
$this->directory = isset($options['directory']) ? $this->phpci->interpolate($options['directory']) : $path;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue