From cf9031da223309c0e9ca0b2199fc4bec29b51221 Mon Sep 17 00:00:00 2001 From: nodiscc Date: Thu, 13 Jan 2022 20:48:35 +0100 Subject: [PATCH] tests: phpcs: fix 'Opening brace must not be followed by a blank line' error - fixes https://github.com/shaarli/Shaarli/issues/1818 --- application/api/exceptions/ApiException.php | 1 - .../bookmark/exception/DatastoreNotInitializedException.php | 1 - application/container/ShaarliContainer.php | 1 - application/front/exceptions/CantLoginException.php | 1 - application/front/exceptions/UnauthorizedException.php | 1 - tests/container/ShaarliTestContainer.php | 1 - tests/http/HttpUtils/GetIpAdressFromProxyTest.php | 1 - tests/http/HttpUtils/IsHttpsTest.php | 1 - 8 files changed, 8 deletions(-) diff --git a/application/api/exceptions/ApiException.php b/application/api/exceptions/ApiException.php index 7deafb96..49cfbee4 100644 --- a/application/api/exceptions/ApiException.php +++ b/application/api/exceptions/ApiException.php @@ -12,7 +12,6 @@ */ abstract class ApiException extends \Exception { - /** * @var Response instance from Slim. */ diff --git a/application/bookmark/exception/DatastoreNotInitializedException.php b/application/bookmark/exception/DatastoreNotInitializedException.php index f495049d..d2379f88 100644 --- a/application/bookmark/exception/DatastoreNotInitializedException.php +++ b/application/bookmark/exception/DatastoreNotInitializedException.php @@ -6,5 +6,4 @@ class DatastoreNotInitializedException extends \Exception { - } diff --git a/application/container/ShaarliContainer.php b/application/container/ShaarliContainer.php index 3e5bd252..be0a8300 100644 --- a/application/container/ShaarliContainer.php +++ b/application/container/ShaarliContainer.php @@ -51,5 +51,4 @@ */ class ShaarliContainer extends Container { - } diff --git a/application/front/exceptions/CantLoginException.php b/application/front/exceptions/CantLoginException.php index cd16635d..b736aca0 100644 --- a/application/front/exceptions/CantLoginException.php +++ b/application/front/exceptions/CantLoginException.php @@ -6,5 +6,4 @@ class CantLoginException extends \Exception { - } diff --git a/application/front/exceptions/UnauthorizedException.php b/application/front/exceptions/UnauthorizedException.php index 4231094a..19f62e00 100644 --- a/application/front/exceptions/UnauthorizedException.php +++ b/application/front/exceptions/UnauthorizedException.php @@ -11,5 +11,4 @@ */ class UnauthorizedException extends \Exception { - } diff --git a/tests/container/ShaarliTestContainer.php b/tests/container/ShaarliTestContainer.php index 7dbe914c..60d339a0 100644 --- a/tests/container/ShaarliTestContainer.php +++ b/tests/container/ShaarliTestContainer.php @@ -38,5 +38,4 @@ */ class ShaarliTestContainer extends ShaarliContainer { - } diff --git a/tests/http/HttpUtils/GetIpAdressFromProxyTest.php b/tests/http/HttpUtils/GetIpAdressFromProxyTest.php index 0d74b423..a96a6802 100644 --- a/tests/http/HttpUtils/GetIpAdressFromProxyTest.php +++ b/tests/http/HttpUtils/GetIpAdressFromProxyTest.php @@ -7,7 +7,6 @@ */ class GetIpAdressFromProxyTest extends \Shaarli\TestCase { - /** * Test without proxy */ diff --git a/tests/http/HttpUtils/IsHttpsTest.php b/tests/http/HttpUtils/IsHttpsTest.php index f7c55587..397ec29d 100644 --- a/tests/http/HttpUtils/IsHttpsTest.php +++ b/tests/http/HttpUtils/IsHttpsTest.php @@ -9,7 +9,6 @@ */ class IsHttpsTest extends \Shaarli\TestCase { - /** * Test is_https with HTTPS values. */