Rename Hipchat class
This commit is contained in:
parent
f190be9e2d
commit
e30bf47d94
|
|
@ -3,12 +3,12 @@
|
|||
namespace Integration;
|
||||
|
||||
/**
|
||||
* Hipchat
|
||||
* Hipchat webhook
|
||||
*
|
||||
* @package integration
|
||||
* @author Frederic Guillot
|
||||
*/
|
||||
class Hipchat extends Base
|
||||
class HipchatWebhook extends Base
|
||||
{
|
||||
/**
|
||||
* Return true if Hipchat is enabled for this project or globally
|
||||
|
|
@ -76,7 +76,7 @@ class ClassProvider implements ServiceProviderInterface
|
|||
'GitlabWebhook',
|
||||
'GithubWebhook',
|
||||
'BitbucketWebhook',
|
||||
'Hipchat',
|
||||
'HipchatWebhook',
|
||||
'MailgunWebhook',
|
||||
'SendgridWebhook',
|
||||
'SlackWebhook',
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@ class ProjectActivitySubscriber extends Base implements EventSubscriberInterface
|
|||
|
||||
private function sendHipchatNotification($event_name, array $values)
|
||||
{
|
||||
$this->hipchat->notify(
|
||||
$this->hipchatWebhook->notify(
|
||||
$values['task']['project_id'],
|
||||
$values['task']['id'],
|
||||
$event_name,
|
||||
|
|
|
|||
Loading…
Reference in New Issue