Skip to content

[5.x] Support Laravel Passport #397

[5.x] Support Laravel Passport

[5.x] Support Laravel Passport #397

Triggered via pull request August 5, 2024 13:02
Status Failure
Total duration 30s
Artifacts

static-analysis.yml

on: pull_request
tests  /  Static Analysis
22s
tests / Static Analysis
Fit to window
Zoom out
Zoom in

Annotations

10 errors
tests / Static Analysis: src/Http/Controllers/Inertia/OAuthAppController.php#L56
Class Laravel\Passport\Contracts\CreatesClients not found.
tests / Static Analysis: src/Http/Controllers/Inertia/OAuthAppController.php#L75
Class Laravel\Passport\Contracts\UpdatesClients not found.
tests / Static Analysis: src/Http/Controllers/Inertia/PassportApiTokenController.php#L34
Call to an undefined static method Laravel\Passport\Passport::defaultScopes().
tests / Static Analysis: src/Http/Controllers/Inertia/PassportApiTokenController.php#L52
Call to an undefined static method Laravel\Passport\Passport::validScopes().
tests / Static Analysis: src/Http/Livewire/OAuthAppManager.php#L121
Parameter $creator of method Laravel\Jetstream\Http\Livewire\OAuthAppManager::createOAuthApp() has invalid type Laravel\Passport\Contracts\CreatesClients.
tests / Static Analysis: src/Http/Livewire/OAuthAppManager.php#L167
Parameter $updater of method Laravel\Jetstream\Http\Livewire\OAuthAppManager::updateOAuthApp() has invalid type Laravel\Passport\Contracts\UpdatesClients.
tests / Static Analysis: src/Http/Livewire/PassportApiTokenManager.php#L58
Call to an undefined static method Laravel\Passport\Passport::defaultScopes().
tests / Static Analysis: src/Http/Livewire/PassportApiTokenManager.php#L92
Call to an undefined static method Laravel\Passport\Passport::validScopes().
tests / Static Analysis: src/Http/Livewire/PassportApiTokenManager.php#L96
Call to an undefined static method Laravel\Passport\Passport::defaultScopes().
tests / Static Analysis: src/JetstreamServiceProvider.php#L57
Call to an undefined static method Laravel\Passport\Passport::viewPrefix().