Rename Hipchat class
This commit is contained in:
@@ -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
|
||||||
@@ -76,7 +76,7 @@ class ClassProvider implements ServiceProviderInterface
|
|||||||
'GitlabWebhook',
|
'GitlabWebhook',
|
||||||
'GithubWebhook',
|
'GithubWebhook',
|
||||||
'BitbucketWebhook',
|
'BitbucketWebhook',
|
||||||
'Hipchat',
|
'HipchatWebhook',
|
||||||
'MailgunWebhook',
|
'MailgunWebhook',
|
||||||
'SendgridWebhook',
|
'SendgridWebhook',
|
||||||
'SlackWebhook',
|
'SlackWebhook',
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user