diff --git a/src/Config/Auth.php b/src/Config/Auth.php index b4f007b2c..c6c27bf1e 100644 --- a/src/Config/Auth.php +++ b/src/Config/Auth.php @@ -29,7 +29,7 @@ class Auth extends BaseConfig { - /** + /* * //////////////////////////////////////////////////////////////////// * AUTHENTICATION * //////////////////////////////////////////////////////////////////// @@ -378,7 +378,7 @@ class Auth extends BaseConfig */ public int $hashCost = 12; - /** + /* * //////////////////////////////////////////////////////////////////// * OTHER SETTINGS * //////////////////////////////////////////////////////////////////// diff --git a/tests/Authentication/MagicLinkTest.php b/tests/Authentication/MagicLinkTest.php index 19e5c52f8..f421a03fd 100644 --- a/tests/Authentication/MagicLinkTest.php +++ b/tests/Authentication/MagicLinkTest.php @@ -75,9 +75,7 @@ public function testMagicLinkSubmitBadEmail(): void public function testMagicLinkSubmitSuccess(): void { - /** - * @phpstan-var User - */ + /** @phpstan-var User $user */ $user = fake(UserModel::class); $user->createEmailIdentity(['email' => 'foo@example.com', 'password' => 'secret123']); @@ -105,9 +103,8 @@ public function testMagicLinkVerifyNoToken(): void public function testMagicLinkVerifyExpired(): void { $identities = new UserIdentityModel(); - /** - * @phpstan-var User - */ + + /** @phpstan-var User $user */ $user = fake(UserModel::class); $user->createEmailIdentity(['email' => 'foo@example.com', 'password' => 'secret123']); $identities->insert([ diff --git a/tests/Language/AbstractTranslationTestCase.php b/tests/Language/AbstractTranslationTestCase.php index 6085443e9..38ae4138a 100644 --- a/tests/Language/AbstractTranslationTestCase.php +++ b/tests/Language/AbstractTranslationTestCase.php @@ -220,8 +220,7 @@ final public function testAllIncludedLanguageKeysAreTranslated(string $locale): { // These keys are usually not translated because they contain either // universal abbreviations or simply combine parameters with signs. - static $excludedKeyTranslations = [ - ]; + static $excludedKeyTranslations = []; $excludedKeys = array_unique(array_merge($excludedKeyTranslations, $this->excludedLocaleKeyTranslations)); $availableSets = array_intersect($this->expectedSets(), $this->foundSets($locale)); diff --git a/tests/Unit/UserIdentityModelTest.php b/tests/Unit/UserIdentityModelTest.php index 00133a98a..e552a3b19 100644 --- a/tests/Unit/UserIdentityModelTest.php +++ b/tests/Unit/UserIdentityModelTest.php @@ -85,7 +85,6 @@ public function testCreateCodeIdentityThrowsExceptionIfUniqueCodeIsNotGot(): voi public function testForceMultiplePasswordReset(): void { - /** @var Fabricator $fabricator */ $fabricator = new Fabricator(UserIdentityModel::class); $fabricator->create(10);