Fixed naming in plugins (phpci -> builder)

This commit is contained in:
Dmitry Khomutov 2016-07-22 13:05:34 +06:00
commit 7ec29f1f31
43 changed files with 330 additions and 376 deletions

View file

@ -28,12 +28,12 @@ class PhpSpec extends Plugin
public function execute()
{
$curdir = getcwd();
chdir($this->phpci->buildPath);
chdir($this->builder->buildPath);
$phpspec = $this->phpci->findBinary(['phpspec', 'phpspec.php']);
$phpspec = $this->builder->findBinary(['phpspec', 'phpspec.php']);
$success = $this->phpci->executeCommand($phpspec . ' --format=junit --no-code-generation run');
$output = $this->phpci->getLastOutput();
$success = $this->builder->executeCommand($phpspec . ' --format=junit --no-code-generation run');
$output = $this->builder->getLastOutput();
chdir($curdir);