From 18f7874b116e205251940c67343166fd4e7e8064 Mon Sep 17 00:00:00 2001 From: Philipp Kolmann Date: Mon, 19 Jun 2023 10:40:16 +0200 Subject: [PATCH] Fix StyleCi --- src/Api/Integrations.php | 4 ++-- tests/Api/IntegrationsTest.php | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Api/Integrations.php b/src/Api/Integrations.php index 7a686ffa..115e4074 100644 --- a/src/Api/Integrations.php +++ b/src/Api/Integrations.php @@ -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" @@ -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" diff --git a/tests/Api/IntegrationsTest.php b/tests/Api/IntegrationsTest.php index a703d27c..6aac38e2 100644 --- a/tests/Api/IntegrationsTest.php +++ b/tests/Api/IntegrationsTest.php @@ -69,7 +69,7 @@ public function shouldGetMicrosoftTeams(): void { $expectedArray = [ 'title' => 'Microsoft Teams notifications', - 'slug' => 'microsoft-teams' + 'slug' => 'microsoft-teams', ]; $api = $this->getApiMock(); @@ -129,7 +129,7 @@ public function shouldUpdateJira(): void $this->assertEquals($expectedArray, $api->updateJira(1, [ 'url' => 'http://test.org/', - 'password' => '123' + 'password' => '123', ])); } @@ -137,7 +137,7 @@ public function shouldGetJira(): void { $expectedArray = [ 'title' => 'Jira', - 'slug' => 'jira' + 'slug' => 'jira', ]; $api = $this->getApiMock();