Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/notes.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkorelstar <korelstar@users.noreply.github.com>2022-08-02 11:00:55 +0300
committerkorelstar <korelstar@users.noreply.github.com>2022-08-02 11:11:06 +0300
commit46094eabbcb4c0b8af536412dea614e21d1a77f6 (patch)
tree6e70fb7c8118b6024590938942243854c4a3ddda
parent13f57579dffe101dc1f8dbc7b6216c485676b6c0 (diff)
fix code style
-rw-r--r--tests/nextcloud-version.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/nextcloud-version.php b/tests/nextcloud-version.php
index c615e9dc..65be6252 100644
--- a/tests/nextcloud-version.php
+++ b/tests/nextcloud-version.php
@@ -73,12 +73,12 @@ function isServerBranch($branch) : bool {
$response = $http->request('GET', 'https://api.github.com/repos/nextcloud/server/branches/'.$branch);
$status = $response->getStatusCode();
switch ($status) {
- case 200:
- return true;
- case 404:
- return false;
- default:
- throw new \Exception('HTTP Error while checking branch '.$branch.' for Nextcloud server: '.$status);
+ case 200:
+ return true;
+ case 404:
+ return false;
+ default:
+ throw new \Exception('HTTP Error while checking branch '.$branch.' for Nextcloud server: '.$status);
}
}