Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/Config/Auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

class Auth extends BaseConfig
{
/**
/*
* ////////////////////////////////////////////////////////////////////
* AUTHENTICATION
* ////////////////////////////////////////////////////////////////////
Expand Down Expand Up @@ -378,7 +378,7 @@ class Auth extends BaseConfig
*/
public int $hashCost = 12;

/**
/*
* ////////////////////////////////////////////////////////////////////
* OTHER SETTINGS
* ////////////////////////////////////////////////////////////////////
Expand Down
9 changes: 3 additions & 6 deletions tests/Authentication/MagicLinkTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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']);

Expand Down Expand Up @@ -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([
Expand Down
3 changes: 1 addition & 2 deletions tests/Language/AbstractTranslationTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down
1 change: 0 additions & 1 deletion tests/Unit/UserIdentityModelTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ public function testCreateCodeIdentityThrowsExceptionIfUniqueCodeIsNotGot(): voi

public function testForceMultiplePasswordReset(): void
{
/** @var Fabricator $fabricator */
$fabricator = new Fabricator(UserIdentityModel::class);
$fabricator->create(10);

Expand Down
Loading