Merging latest master

This commit is contained in:
Dan Cryer 2014-12-08 14:18:57 +00:00
commit 28d09275fd
83 changed files with 1283 additions and 69 deletions

View file

@ -27,6 +27,13 @@ class HipchatNotify implements \PHPCI\Plugin
private $color;
private $notify;
/**
* Set up the plugin, configure options, etc.
* @param Builder $phpci
* @param Build $build
* @param array $options
* @throws \Exception
*/
public function __construct(Builder $phpci, Build $build, array $options = array())
{
$this->phpci = $phpci;
@ -62,6 +69,10 @@ class HipchatNotify implements \PHPCI\Plugin
}
/**
* Run the HipChat plugin.
* @return bool
*/
public function execute()
{
$hipChat = new \HipChat\HipChat($this->authToken);