Skip to content
This repository was archived by the owner on Feb 15, 2025. It is now read-only.

Commit 2da8a5f

Browse files
committed
Fix CI issues
1 parent 68b15fd commit 2da8a5f

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

PHPCI/Plugin/HipchatNotify.php

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -113,21 +113,21 @@ private function sendHipchatMessage($room_id, $msg)
113113
} else {
114114
$result = true;
115115
try {
116-
$auth = new \GorkaLaucirica\HipchatAPIv2Client\Auth\OAuth2($this->authToken);
117-
$client = new \GorkaLaucirica\HipchatAPIv2Client\Client($auth);
118-
$room = new \GorkaLaucirica\HipchatAPIv2Client\API\RoomAPI($client);
119-
$message = new \GorkaLaucirica\HipchatAPIv2Client\Model\Message();
116+
$auth = new \GorkaLaucirica\HipchatAPIv2Client\Auth\OAuth2($this->authToken);
117+
$client = new \GorkaLaucirica\HipchatAPIv2Client\Client($auth);
118+
$room = new \GorkaLaucirica\HipchatAPIv2Client\API\RoomAPI($client);
119+
$message = new \GorkaLaucirica\HipchatAPIv2Client\Model\Message();
120120

121-
$message->setColor($this->color);
122-
$message->setMessage($msg);
123-
$message->setNotify($this->notify);
121+
$message->setColor($this->color);
122+
$message->setMessage($msg);
123+
$message->setNotify($this->notify);
124124

125-
$room->sendRoomNotification($room_id, $message);
125+
$room->sendRoomNotification($room_id, $message);
126126
} catch (Exception $e) {
127-
$return = false;
127+
$result = false;
128128
}
129129

130130
return $result;
131-
}
131+
}
132132
}
133133
}

0 commit comments

Comments
 (0)