Skip to content

chore: wip

chore: wip #12

Triggered via pull request December 23, 2023 15:34
Status Failure
Total duration 48s
Artifacts

static.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

15 errors
phpstan: app/Console/Commands/SetupDummyAccount.php#L102
Unknown parameter $firstName in call to App\Services\CreateAccount constructor.
phpstan: app/Console/Commands/SetupDummyAccount.php#L103
Unknown parameter $lastName in call to App\Services\CreateAccount constructor.
phpstan: app/Console/Commands/SetupDummyAccount.php#L104
Unknown parameter $organizationName in call to App\Services\CreateAccount constructor.
phpstan: app/Console/Commands/SetupDummyAccount.php#L122
Access to an undefined property App\Models\User::$organization_id.
phpstan: app/Http/Controllers/SearchController.php#L34
Unreachable statement - code above always terminates.
phpstan: app/Http/Middleware/Locale.php#L26
Access to an undefined property App\Models\User::$locale.
phpstan: app/Http/ViewModels/Search/SearchViewModel.php#L15
Method Laravel\Scout\Builder::where() invoked with 3 parameters, 2 required.
phpstan: app/Http/ViewModels/Search/SearchViewModel.php#L20
Parameter #1 $callback of method Illuminate\Database\Eloquent\Collection<(int|string),Illuminate\Database\Eloquent\Model>::map() expects callable(Illuminate\Database\Eloquent\Model, int|string): array{id: int, name: string, avatar: string, url: string}, Closure(App\Models\Name): array{id: int, name: string, avatar: string, url: string} given.
phpstan: app/Http/ViewModels/Settings/SettingsLevelViewModel.php#L11
Access to an undefined property App\Models\User::$organization_id.
phpstan: app/Http/ViewModels/Settings/SettingsLevelViewModel.php#L11
Call to static method where() on an unknown class App\Models\Level.
UndefinedClass: app/Http/ViewModels/Settings/SettingsLevelViewModel.php#L11
app/Http/ViewModels/Settings/SettingsLevelViewModel.php:11:19: UndefinedClass: Class, interface or enum named App\Models\Level does not exist (see https://psalm.dev/019)
UndefinedClass: app/Http/ViewModels/Settings/SettingsLevelViewModel.php#L21
app/Http/ViewModels/Settings/SettingsLevelViewModel.php:21:34: UndefinedClass: Class, interface or enum named App\Models\Level does not exist (see https://psalm.dev/019)
UndefinedClass: app/Http/ViewModels/Settings/SettingsRoleViewModel.php#L11
app/Http/ViewModels/Settings/SettingsRoleViewModel.php:11:18: UndefinedClass: Class, interface or enum named App\Models\Role does not exist (see https://psalm.dev/019)
UndefinedClass: app/Http/ViewModels/Settings/SettingsRoleViewModel.php#L21
app/Http/ViewModels/Settings/SettingsRoleViewModel.php:21:33: UndefinedClass: Class, interface or enum named App\Models\Role does not exist (see https://psalm.dev/019)
psalm
Process completed with exit code 2.