Rename Hipchat class

This commit is contained in:
Frederic Guillot
2015-04-19 19:33:58 -04:00
parent f190be9e2d
commit e30bf47d94
3 changed files with 4 additions and 4 deletions

View File

@@ -3,12 +3,12 @@
namespace Integration; namespace Integration;
/** /**
* Hipchat * Hipchat webhook
* *
* @package integration * @package integration
* @author Frederic Guillot * @author Frederic Guillot
*/ */
class Hipchat extends Base class HipchatWebhook extends Base
{ {
/** /**
* Return true if Hipchat is enabled for this project or globally * Return true if Hipchat is enabled for this project or globally

View File

@@ -76,7 +76,7 @@ class ClassProvider implements ServiceProviderInterface
'GitlabWebhook', 'GitlabWebhook',
'GithubWebhook', 'GithubWebhook',
'BitbucketWebhook', 'BitbucketWebhook',
'Hipchat', 'HipchatWebhook',
'MailgunWebhook', 'MailgunWebhook',
'SendgridWebhook', 'SendgridWebhook',
'SlackWebhook', 'SlackWebhook',

View File

@@ -59,7 +59,7 @@ class ProjectActivitySubscriber extends Base implements EventSubscriberInterface
private function sendHipchatNotification($event_name, array $values) private function sendHipchatNotification($event_name, array $values)
{ {
$this->hipchat->notify( $this->hipchatWebhook->notify(
$values['task']['project_id'], $values['task']['project_id'],
$values['task']['id'], $values['task']['id'],
$event_name, $event_name,