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

@ -34,9 +34,9 @@ class HipchatNotify extends Plugin
/**
* {@inheritdoc}
*/
public function __construct(Builder $phpci, Build $build, array $options = [])
public function __construct(Builder $builder, Build $build, array $options = [])
{
parent::__construct($phpci, $build, $options);
parent::__construct($builder, $build, $options);
$this->userAgent = "PHP Censor/1.0";
$this->cookie = "php-censor-cookie";
@ -74,7 +74,7 @@ class HipchatNotify extends Plugin
public function execute()
{
$hipChat = new HipChat($this->authToken);
$message = $this->phpci->interpolate($this->message);
$message = $this->builder->interpolate($this->message);
$result = true;
if (is_array($this->room)) {