Skip to content

feat!: Support Laravel 12 and webauthn-lib 5.0+ #342

feat!: Support Laravel 12 and webauthn-lib 5.0+

feat!: Support Laravel 12 and webauthn-lib 5.0+ #342

Triggered via pull request February 28, 2025 12:07
@asbiinasbiin
synchronize #497
laravel12
Status Failure
Total duration 48s
Artifacts

static.yml

on: pull_request
Static analysis  /  Psalm
43s
Static analysis / Psalm
Static analysis  /  PHPStan
32s
Static analysis / PHPStan
Fit to window
Zoom out
Zoom in

Annotations

11 errors
Static analysis / PHPStan
Process completed with exit code 1.
Static analysis / Psalm: src/Auth/EloquentWebAuthnProvider.php#L42
src/Auth/EloquentWebAuthnProvider.php:42:5: MissingOverrideAttribute: Method LaravelWebauthn\Auth\EloquentWebAuthnProvider::retrievebycredentials should have the "Override" attribute (see https://psalm.dev/358)
Static analysis / Psalm: src/Auth/EloquentWebAuthnProvider.php#L26
src/Auth/EloquentWebAuthnProvider.php:26:44: PossiblyUnusedProperty: Cannot find any references to property LaravelWebauthn\Auth\EloquentWebAuthnProvider::$validator (see https://psalm.dev/149)
Static analysis / Psalm: src/Actions/UpdateKey.php#L14
src/Actions/UpdateKey.php:14:80: PossiblyUnusedReturnValue: The return value for this method is never used (see https://psalm.dev/273)
Static analysis / Psalm: src/Actions/PrepareAuthenticatedSession.php#L21
src/Actions/PrepareAuthenticatedSession.php:21:21: PossiblyUnusedMethod: Cannot find any calls to method LaravelWebauthn\Actions\PrepareAuthenticatedSession::handle (see https://psalm.dev/087)
Static analysis / Psalm: src/Actions/PrepareAuthenticatedSession.php#L14
src/Actions/PrepareAuthenticatedSession.php:14:21: PossiblyUnusedMethod: Cannot find any calls to method LaravelWebauthn\Actions\PrepareAuthenticatedSession::__construct (see https://psalm.dev/087)
Static analysis / Psalm: src/Actions/LoginUserRetrieval.php#L19
src/Actions/LoginUserRetrieval.php:19:21: PossiblyUnusedMethod: Cannot find any calls to method LaravelWebauthn\Actions\LoginUserRetrieval::__construct (see https://psalm.dev/087)
Static analysis / Psalm: src/Actions/EnsureLoginIsNotThrottled.php#L23
src/Actions/EnsureLoginIsNotThrottled.php:23:21: PossiblyUnusedMethod: Cannot find any calls to method LaravelWebauthn\Actions\EnsureLoginIsNotThrottled::handle (see https://psalm.dev/087)
Static analysis / Psalm: src/Actions/EnsureLoginIsNotThrottled.php#L16
src/Actions/EnsureLoginIsNotThrottled.php:16:21: PossiblyUnusedMethod: Cannot find any calls to method LaravelWebauthn\Actions\EnsureLoginIsNotThrottled::__construct (see https://psalm.dev/087)
Static analysis / Psalm: src/Actions/AttemptToAuthenticate.php#L28
src/Actions/AttemptToAuthenticate.php:28:21: PossiblyUnusedMethod: Cannot find any calls to method LaravelWebauthn\Actions\AttemptToAuthenticate::handle (see https://psalm.dev/087)
Static analysis / Psalm: src/Actions/AttemptToAuthenticate.php#L20
src/Actions/AttemptToAuthenticate.php:20:21: PossiblyUnusedMethod: Cannot find any calls to method LaravelWebauthn\Actions\AttemptToAuthenticate::__construct (see https://psalm.dev/087)