Merge pull request #872 from REBELinBLUE/additional_interpolate

Additional interpolate
This commit is contained in:
Dan Cryer 2015-10-02 22:14:14 +01:00
commit b0482b191d
2 changed files with 2 additions and 2 deletions

View file

@ -133,7 +133,7 @@ class PhpUnit implements PHPCI\Plugin, PHPCI\ZeroConfigPlugin
} }
if (isset($options['coverage'])) { if (isset($options['coverage'])) {
$this->coverage = " --coverage-html {$options['coverage']} "; $this->coverage = ' --coverage-html ' . $this->phpci->interpolate($options['coverage']) . ' ';
} }
} }

View file

@ -43,7 +43,7 @@ class Wipe implements \PHPCI\Plugin
$path = $phpci->buildPath; $path = $phpci->buildPath;
$this->phpci = $phpci; $this->phpci = $phpci;
$this->build = $build; $this->build = $build;
$this->directory = isset($options['directory']) ? $options['directory'] : $path; $this->directory = isset($options['directory']) ? $this->phpci->interpolate($options['directory']) : $path;
} }
/** /**