diff options
author | korelstar <korelstar@users.noreply.github.com> | 2022-08-02 11:00:55 +0300 |
---|---|---|
committer | korelstar <korelstar@users.noreply.github.com> | 2022-08-02 11:11:06 +0300 |
commit | 46094eabbcb4c0b8af536412dea614e21d1a77f6 (patch) | |
tree | 6e70fb7c8118b6024590938942243854c4a3ddda | |
parent | 13f57579dffe101dc1f8dbc7b6216c485676b6c0 (diff) |
fix code style
-rw-r--r-- | tests/nextcloud-version.php | 12 |
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); } } |