From e715a7238c005a2ac1beb0b5dbb651b8dcb3bf05 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 5 Apr 2024 23:32:55 +0000 Subject: [PATCH 1/3] chore(deps-dev): update rector/rector requirement from 1.0.3 to 1.0.4 Updates the requirements on [rector/rector](https://github.com/rectorphp/rector) to permit the latest version. - [Release notes](https://github.com/rectorphp/rector/releases) - [Commits](https://github.com/rectorphp/rector/compare/1.0.3...1.0.4) --- updated-dependencies: - dependency-name: rector/rector dependency-type: direct:development ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index fddbd6ae0..3fc57afad 100644 --- a/composer.json +++ b/composer.json @@ -37,7 +37,7 @@ "mockery/mockery": "^1.0", "phpstan/extension-installer": "^1.3", "phpstan/phpstan-strict-rules": "^1.5", - "rector/rector": "1.0.3" + "rector/rector": "1.0.4" }, "provide": { "codeigniter4/authentication-implementation": "1.0" From 31d7abb5d0b16cd62a10f7e68a5e017a68c47534 Mon Sep 17 00:00:00 2001 From: Pooya Parsa Dadashi Date: Fri, 5 Apr 2024 18:16:24 +0330 Subject: [PATCH 2/3] chore: run rector for fix rector errors --- src/Filters/AuthRates.php | 1 - src/Filters/ChainAuth.php | 1 - src/Filters/ForcePasswordResetFilter.php | 1 - src/Filters/JWTAuth.php | 1 - src/Filters/SessionAuth.php | 1 - src/Filters/TokenAuth.php | 1 - 6 files changed, 6 deletions(-) diff --git a/src/Filters/AuthRates.php b/src/Filters/AuthRates.php index 2b9a9eae2..686beadb1 100644 --- a/src/Filters/AuthRates.php +++ b/src/Filters/AuthRates.php @@ -59,7 +59,6 @@ public function before(RequestInterface $request, $arguments = null) /** * We don't have anything to do here. * - * @param Response|ResponseInterface $response * @param array|null $arguments */ public function after(RequestInterface $request, ResponseInterface $response, $arguments = null): void diff --git a/src/Filters/ChainAuth.php b/src/Filters/ChainAuth.php index 4f014898b..822ee6a4d 100644 --- a/src/Filters/ChainAuth.php +++ b/src/Filters/ChainAuth.php @@ -67,7 +67,6 @@ public function before(RequestInterface $request, $arguments = null) /** * We don't have anything to do here. * - * @param Response|ResponseInterface $response * @param array|null $arguments */ public function after(RequestInterface $request, ResponseInterface $response, $arguments = null): void diff --git a/src/Filters/ForcePasswordResetFilter.php b/src/Filters/ForcePasswordResetFilter.php index 017aad124..6b551125a 100644 --- a/src/Filters/ForcePasswordResetFilter.php +++ b/src/Filters/ForcePasswordResetFilter.php @@ -52,7 +52,6 @@ public function before(RequestInterface $request, $arguments = null) /** * We don't have anything to do here. * - * @param Response|ResponseInterface $response * @param array|null $arguments */ public function after(RequestInterface $request, ResponseInterface $response, $arguments = null): void diff --git a/src/Filters/JWTAuth.php b/src/Filters/JWTAuth.php index a650702b8..163ec7c51 100644 --- a/src/Filters/JWTAuth.php +++ b/src/Filters/JWTAuth.php @@ -64,7 +64,6 @@ public function before(RequestInterface $request, $arguments = null) /** * We don't have anything to do here. * - * @param Response|ResponseInterface $response * @param array|null $arguments */ public function after(RequestInterface $request, ResponseInterface $response, $arguments = null): void diff --git a/src/Filters/SessionAuth.php b/src/Filters/SessionAuth.php index 915d92a4c..7a009d344 100644 --- a/src/Filters/SessionAuth.php +++ b/src/Filters/SessionAuth.php @@ -95,7 +95,6 @@ public function before(RequestInterface $request, $arguments = null) /** * We don't have anything to do here. * - * @param Response|ResponseInterface $response * @param array|null $arguments */ public function after(RequestInterface $request, ResponseInterface $response, $arguments = null): void diff --git a/src/Filters/TokenAuth.php b/src/Filters/TokenAuth.php index 9e2fdd91a..a47e2ca09 100644 --- a/src/Filters/TokenAuth.php +++ b/src/Filters/TokenAuth.php @@ -79,7 +79,6 @@ public function before(RequestInterface $request, $arguments = null) /** * We don't have anything to do here. * - * @param Response|ResponseInterface $response * @param array|null $arguments */ public function after(RequestInterface $request, ResponseInterface $response, $arguments = null): void From 8cf56de4db85035893d18a03121971f824a070f8 Mon Sep 17 00:00:00 2001 From: kenjis Date: Sat, 6 Apr 2024 08:50:44 +0900 Subject: [PATCH 3/3] style: composer cs-fix --- src/Filters/AuthRates.php | 3 +-- src/Filters/ChainAuth.php | 2 +- src/Filters/ForcePasswordResetFilter.php | 3 +-- src/Filters/JWTAuth.php | 3 +-- src/Filters/SessionAuth.php | 2 +- src/Filters/TokenAuth.php | 2 +- 6 files changed, 6 insertions(+), 9 deletions(-) diff --git a/src/Filters/AuthRates.php b/src/Filters/AuthRates.php index 686beadb1..a533cf6e5 100644 --- a/src/Filters/AuthRates.php +++ b/src/Filters/AuthRates.php @@ -17,7 +17,6 @@ use CodeIgniter\HTTP\IncomingRequest; use CodeIgniter\HTTP\RedirectResponse; use CodeIgniter\HTTP\RequestInterface; -use CodeIgniter\HTTP\Response; use CodeIgniter\HTTP\ResponseInterface; /** @@ -59,7 +58,7 @@ public function before(RequestInterface $request, $arguments = null) /** * We don't have anything to do here. * - * @param array|null $arguments + * @param array|null $arguments */ public function after(RequestInterface $request, ResponseInterface $response, $arguments = null): void { diff --git a/src/Filters/ChainAuth.php b/src/Filters/ChainAuth.php index 822ee6a4d..56be2c7b0 100644 --- a/src/Filters/ChainAuth.php +++ b/src/Filters/ChainAuth.php @@ -67,7 +67,7 @@ public function before(RequestInterface $request, $arguments = null) /** * We don't have anything to do here. * - * @param array|null $arguments + * @param array|null $arguments */ public function after(RequestInterface $request, ResponseInterface $response, $arguments = null): void { diff --git a/src/Filters/ForcePasswordResetFilter.php b/src/Filters/ForcePasswordResetFilter.php index 6b551125a..65f55492a 100644 --- a/src/Filters/ForcePasswordResetFilter.php +++ b/src/Filters/ForcePasswordResetFilter.php @@ -17,7 +17,6 @@ use CodeIgniter\HTTP\IncomingRequest; use CodeIgniter\HTTP\RedirectResponse; use CodeIgniter\HTTP\RequestInterface; -use CodeIgniter\HTTP\Response; use CodeIgniter\HTTP\ResponseInterface; use CodeIgniter\Shield\Authentication\Authenticators\Session; @@ -52,7 +51,7 @@ public function before(RequestInterface $request, $arguments = null) /** * We don't have anything to do here. * - * @param array|null $arguments + * @param array|null $arguments */ public function after(RequestInterface $request, ResponseInterface $response, $arguments = null): void { diff --git a/src/Filters/JWTAuth.php b/src/Filters/JWTAuth.php index 163ec7c51..c85bcc308 100644 --- a/src/Filters/JWTAuth.php +++ b/src/Filters/JWTAuth.php @@ -16,7 +16,6 @@ use CodeIgniter\Filters\FilterInterface; use CodeIgniter\HTTP\IncomingRequest; use CodeIgniter\HTTP\RequestInterface; -use CodeIgniter\HTTP\Response; use CodeIgniter\HTTP\ResponseInterface; use CodeIgniter\Shield\Authentication\Authenticators\JWT; use Config\Services; @@ -64,7 +63,7 @@ public function before(RequestInterface $request, $arguments = null) /** * We don't have anything to do here. * - * @param array|null $arguments + * @param array|null $arguments */ public function after(RequestInterface $request, ResponseInterface $response, $arguments = null): void { diff --git a/src/Filters/SessionAuth.php b/src/Filters/SessionAuth.php index 7a009d344..2063f240d 100644 --- a/src/Filters/SessionAuth.php +++ b/src/Filters/SessionAuth.php @@ -95,7 +95,7 @@ public function before(RequestInterface $request, $arguments = null) /** * We don't have anything to do here. * - * @param array|null $arguments + * @param array|null $arguments */ public function after(RequestInterface $request, ResponseInterface $response, $arguments = null): void { diff --git a/src/Filters/TokenAuth.php b/src/Filters/TokenAuth.php index a47e2ca09..b882e20d8 100644 --- a/src/Filters/TokenAuth.php +++ b/src/Filters/TokenAuth.php @@ -79,7 +79,7 @@ public function before(RequestInterface $request, $arguments = null) /** * We don't have anything to do here. * - * @param array|null $arguments + * @param array|null $arguments */ public function after(RequestInterface $request, ResponseInterface $response, $arguments = null): void {