Skip to content

Commit

Permalink
Fix StyleCi
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippKolmann committed Jun 19, 2023
1 parent 03a2ff2 commit 18f7874
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/Api/Integrations.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function all($project_id)
* @param int|string $project_id
* @param array $params {
*
* @var string $webhook The Microsoft Teams webhook.
* @var string $webhook The Microsoft Teams webhook
* @var bool $notify_only_broken_pipelines Send notifications for broken pipelines
* @var string $branches_to_be_notified Branches to send notifications for. Valid options are all, default,
* protected, and default_and_protected. The default value is "default"
Expand Down Expand Up @@ -123,7 +123,7 @@ public function createMicrosoftTeams($project_id, array $params = [])
* @param int|string $project_id
* @param array $params {
*
* @var string $webhook The Microsoft Teams webhook.
* @var string $webhook The Microsoft Teams webhook
* @var bool $notify_only_broken_pipelines Send notifications for broken pipelines
* @var string $branches_to_be_notified Branches to send notifications for. Valid options are all, default,
* protected, and default_and_protected. The default value is "default"
Expand Down
6 changes: 3 additions & 3 deletions tests/Api/IntegrationsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public function shouldGetMicrosoftTeams(): void
{
$expectedArray = [
'title' => 'Microsoft Teams notifications',
'slug' => 'microsoft-teams'
'slug' => 'microsoft-teams',
];

$api = $this->getApiMock();
Expand Down Expand Up @@ -129,15 +129,15 @@ public function shouldUpdateJira(): void

$this->assertEquals($expectedArray, $api->updateJira(1, [
'url' => 'http://test.org/',
'password' => '123'
'password' => '123',
]));
}

public function shouldGetJira(): void
{
$expectedArray = [
'title' => 'Jira',
'slug' => 'jira'
'slug' => 'jira',
];

$api = $this->getApiMock();
Expand Down

0 comments on commit 18f7874

Please sign in to comment.