From 45dc6ff87b5e52f0cd7ef076e6b99334dfb34c04 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 19 Apr 2023 21:22:57 +0000 Subject: [PATCH 1/2] Bump guzzlehttp/psr7 from 1.9.0 to 1.9.1 Bumps [guzzlehttp/psr7](https://github.com/guzzle/psr7) from 1.9.0 to 1.9.1. - [Release notes](https://github.com/guzzle/psr7/releases) - [Changelog](https://github.com/guzzle/psr7/blob/1.9.1/CHANGELOG.md) - [Commits](https://github.com/guzzle/psr7/compare/1.9.0...1.9.1) --- updated-dependencies: - dependency-name: guzzlehttp/psr7 dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- composer.lock | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/composer.lock b/composer.lock index d9910ce..d5a2037 100644 --- a/composer.lock +++ b/composer.lock @@ -766,16 +766,16 @@ }, { "name": "guzzlehttp/psr7", - "version": "1.9.0", + "version": "1.9.1", "source": { "type": "git", "url": "https://github.com/guzzle/psr7.git", - "reference": "e98e3e6d4f86621a9b75f623996e6bbdeb4b9318" + "reference": "e4490cabc77465aaee90b20cfc9a770f8c04be6b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/psr7/zipball/e98e3e6d4f86621a9b75f623996e6bbdeb4b9318", - "reference": "e98e3e6d4f86621a9b75f623996e6bbdeb4b9318", + "url": "https://api.github.com/repos/guzzle/psr7/zipball/e4490cabc77465aaee90b20cfc9a770f8c04be6b", + "reference": "e4490cabc77465aaee90b20cfc9a770f8c04be6b", "shasum": "" }, "require": { @@ -794,11 +794,6 @@ "laminas/laminas-httphandlerrunner": "Emit PSR-7 responses" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.9-dev" - } - }, "autoload": { "files": [ "src/functions_include.php" @@ -856,7 +851,7 @@ ], "support": { "issues": "https://github.com/guzzle/psr7/issues", - "source": "https://github.com/guzzle/psr7/tree/1.9.0" + "source": "https://github.com/guzzle/psr7/tree/1.9.1" }, "funding": [ { @@ -872,7 +867,7 @@ "type": "tidelift" } ], - "time": "2022-06-20T21:43:03+00:00" + "time": "2023-04-17T16:00:37+00:00" }, { "name": "http-interop/http-factory-guzzle", @@ -6971,5 +6966,5 @@ "platform-overrides": { "php": "7.3.33" }, - "plugin-api-version": "2.2.0" + "plugin-api-version": "2.3.0" } From ae5e2cffb3bd5c3e4d8cf6781546c27956a8e706 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Wed, 19 Apr 2023 21:23:06 +0000 Subject: [PATCH 2/2] Apply fixes from StyleCI [ci skip] [skip ci] --- app/Controllers/Auth/PasswordRecoveryController.php | 1 - app/Controllers/Auth/RegisterController.php | 1 - app/Controllers/TagController.php | 1 - app/Web/UA.php | 1 - app/helpers.php | 6 +++--- tests/Feature/Auth/LoginControllerTest.php | 1 - 6 files changed, 3 insertions(+), 8 deletions(-) diff --git a/app/Controllers/Auth/PasswordRecoveryController.php b/app/Controllers/Auth/PasswordRecoveryController.php index 1ba5c82..e0abbb4 100644 --- a/app/Controllers/Auth/PasswordRecoveryController.php +++ b/app/Controllers/Auth/PasswordRecoveryController.php @@ -11,7 +11,6 @@ use Slim\Exception\HttpNotFoundException; class PasswordRecoveryController extends AuthController { - /** * @param Response $response * @return Response diff --git a/app/Controllers/Auth/RegisterController.php b/app/Controllers/Auth/RegisterController.php index aa2f476..3b4221c 100644 --- a/app/Controllers/Auth/RegisterController.php +++ b/app/Controllers/Auth/RegisterController.php @@ -13,7 +13,6 @@ use Slim\Exception\HttpNotFoundException; class RegisterController extends AuthController { - /** * @param Request $request * @param Response $response diff --git a/app/Controllers/TagController.php b/app/Controllers/TagController.php index 3e55ed5..0a6926b 100644 --- a/app/Controllers/TagController.php +++ b/app/Controllers/TagController.php @@ -12,7 +12,6 @@ use Slim\Exception\HttpNotFoundException; class TagController extends Controller { - /** * @param Request $request * @param Response $response diff --git a/app/Web/UA.php b/app/Web/UA.php index 2e11918..27a4e9b 100644 --- a/app/Web/UA.php +++ b/app/Web/UA.php @@ -4,7 +4,6 @@ namespace App\Web; class UA { - /** * bot user agent => perform link embed * @var string[] diff --git a/app/helpers.php b/app/helpers.php index a815951..5c0660a 100644 --- a/app/helpers.php +++ b/app/helpers.php @@ -117,13 +117,13 @@ if (!function_exists('stringToBytes')) { switch ($last) { case 't': $val *= 1024; - // no break + // no break case 'g': $val *= 1024; - // no break + // no break case 'm': $val *= 1024; - // no break + // no break case 'k': $val *= 1024; } diff --git a/tests/Feature/Auth/LoginControllerTest.php b/tests/Feature/Auth/LoginControllerTest.php index 3c2b8ce..19f5361 100644 --- a/tests/Feature/Auth/LoginControllerTest.php +++ b/tests/Feature/Auth/LoginControllerTest.php @@ -7,7 +7,6 @@ use Tests\TestCase; class LoginControllerTest extends TestCase { - /** @test */ public function it_loads_the_login_page() {