From 94d51cd539a7c170a53cee889dd23cd13aebbf65 Mon Sep 17 00:00:00 2001 From: Pooya Parsa Dadashi Date: Tue, 14 Nov 2023 01:49:40 +0330 Subject: [PATCH 1/2] update rector requirement from 0.18.6 to 0.18.7 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index aeaf21370..69f4d4b60 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": "0.18.6" + "rector/rector": "0.18.7" }, "provide": { "codeigniter4/authentication-implementation": "1.0" From c35a97366a9e73943c27ff67bc6b59be45c15d2e Mon Sep 17 00:00:00 2001 From: Pooya Parsa Dadashi Date: Tue, 14 Nov 2023 01:50:23 +0330 Subject: [PATCH 2/2] chore: run rector 0.18.7 --- tests/Unit/NothingPersonalValidatorTest.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/Unit/NothingPersonalValidatorTest.php b/tests/Unit/NothingPersonalValidatorTest.php index b3e7d8e77..9bdfeb77a 100644 --- a/tests/Unit/NothingPersonalValidatorTest.php +++ b/tests/Unit/NothingPersonalValidatorTest.php @@ -281,7 +281,8 @@ public static function provideMaxSimilarityZeroTurnsOffSimilarityCalculation(): [ 66, false, - ], [ + ], + [ 0, true, ], @@ -314,7 +315,8 @@ public static function provideCheckPasswordWithBadEmail(): iterable [ 'test', true, - ], [ + ], + [ 'test@example', true, ],