Skip to content

Fix php8.4 deprecated notices#88

Merged
DarkGhostHunter merged 1 commit intoLaragear:2.xfrom
it-can:2.x
Jan 15, 2025
Merged

Fix php8.4 deprecated notices#88
DarkGhostHunter merged 1 commit intoLaragear:2.xfrom
it-can:2.x

Conversation

@it-can
Copy link
Copy Markdown
Contributor

@it-can it-can commented Jan 13, 2025

Fixes

PHP Deprecated:  Laragear\TwoFactor\TwoFactor::hasCodeOrFails(): Implicitly marking parameter $message as nullable is deprecated, the explicit nullable type must be used instead in ./src/TwoFactor.php on line 47
PHP Deprecated:  Laragear\TwoFactor\Contracts\TwoFactorTotp::validateCode(): Implicitly marking parameter $window as nullable is deprecated, the explicit nullable type must be used instead in ./src/Contracts/TwoFactorTotp.php on line 14
PHP Deprecated:  Laragear\TwoFactor\Models\Concerns\HandlesSafeDevices::getSafeDeviceTimestamp(): Implicitly marking parameter $token as nullable is deprecated, the explicit nullable type must be used instead in ./src/Models/Concerns/HandlesSafeDevices.php on line 13
PHP Deprecated:  Laragear\TwoFactor\Models\Concerns\HandlesCodes::useCacheStore(): Implicitly marking parameter $store as nullable is deprecated, the explicit nullable type must be used instead in ./src/Models/Concerns/HandlesCodes.php on line 45
PHP Deprecated:  Laragear\TwoFactor\Models\Concerns\HandlesCodes::validateCode(): Implicitly marking parameter $window as nullable is deprecated, the explicit nullable type must be used instead in ./src/Models/Concerns/HandlesCodes.php on line 53
PHP Deprecated:  Laragear\TwoFactor\Models\Concerns\HandlesRecoveryCodes::generateRecoveryCodesUsing(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in ./src/Models/Concerns/HandlesRecoveryCodes.php on line 64

@sonarqubecloud
Copy link
Copy Markdown

@DarkGhostHunter DarkGhostHunter merged commit 1a8920b into Laragear:2.x Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants