Skip to content

[5.x] Support Laravel Passport #394

[5.x] Support Laravel Passport

[5.x] Support Laravel Passport #394

Triggered via pull request August 3, 2024 04:19
Status Failure
Total duration 41s
Artifacts

static-analysis.yml

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

Annotations

10 errors
tests / Static Analysis: src/Http/Controllers/Inertia/OAuthAppController.php#L55
Class Laravel\Passport\Contracts\CreatesClients not found.
tests / Static Analysis: src/Http/Controllers/Inertia/OAuthAppController.php#L74
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().