File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2929
3030class Auth extends BaseConfig
3131{
32- /**
32+ /*
3333 * ////////////////////////////////////////////////////////////////////
3434 * AUTHENTICATION
3535 * ////////////////////////////////////////////////////////////////////
@@ -378,7 +378,7 @@ class Auth extends BaseConfig
378378 */
379379 public int $ hashCost = 12 ;
380380
381- /**
381+ /*
382382 * ////////////////////////////////////////////////////////////////////
383383 * OTHER SETTINGS
384384 * ////////////////////////////////////////////////////////////////////
Original file line number Diff line number Diff line change @@ -75,9 +75,7 @@ public function testMagicLinkSubmitBadEmail(): void
7575
7676 public function testMagicLinkSubmitSuccess (): void
7777 {
78- /**
79- * @phpstan-var User
80- */
78+ /** @phpstan-var User $user */
8179 $ user = fake (UserModel::class);
8280 $ user ->createEmailIdentity (['email ' => 'foo@example.com ' , 'password ' => 'secret123 ' ]);
8381
@@ -105,9 +103,8 @@ public function testMagicLinkVerifyNoToken(): void
105103 public function testMagicLinkVerifyExpired (): void
106104 {
107105 $ identities = new UserIdentityModel ();
108- /**
109- * @phpstan-var User
110- */
106+
107+ /** @phpstan-var User $user */
111108 $ user = fake (UserModel::class);
112109 $ user ->createEmailIdentity (['email ' => 'foo@example.com ' , 'password ' => 'secret123 ' ]);
113110 $ identities ->insert ([
Original file line number Diff line number Diff line change @@ -220,8 +220,7 @@ final public function testAllIncludedLanguageKeysAreTranslated(string $locale):
220220 {
221221 // These keys are usually not translated because they contain either
222222 // universal abbreviations or simply combine parameters with signs.
223- static $ excludedKeyTranslations = [
224- ];
223+ static $ excludedKeyTranslations = [];
225224
226225 $ excludedKeys = array_unique (array_merge ($ excludedKeyTranslations , $ this ->excludedLocaleKeyTranslations ));
227226 $ availableSets = array_intersect ($ this ->expectedSets (), $ this ->foundSets ($ locale ));
Original file line number Diff line number Diff line change @@ -85,7 +85,6 @@ public function testCreateCodeIdentityThrowsExceptionIfUniqueCodeIsNotGot(): voi
8585
8686 public function testForceMultiplePasswordReset (): void
8787 {
88- /** @var Fabricator $fabricator */
8988 $ fabricator = new Fabricator (UserIdentityModel::class);
9089 $ fabricator ->create (10 );
9190
You can’t perform that action at this time.
0 commit comments