Skip to content

PHPStan

PHPStan #292

Triggered via push February 13, 2026 12:30
Status Failure
Total duration 35s
Artifacts

phpstan.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
phpstan: src/Console/Commands/ListUsersCommand.php#L125
Call to method getRoleNames() on an unknown class Spatie\Permission\Traits\HasRoles.
phpstan: src/Console/Commands/ListUsersCommand.php#L115
Call to method removeRole() on an unknown class Spatie\Permission\Traits\HasRoles.
phpstan: src/Console/Commands/ListUsersCommand.php#L90
Call to method getRoleNames() on an unknown class Spatie\Permission\Traits\HasRoles.
phpstan: src/Console/Commands/ListUsersCommand.php#L80
Access to property $email on an unknown class Spatie\Permission\Traits\HasRoles.
phpstan: src/Console/Commands/ListUsersCommand.php#L80
Access to property $email on an unknown class Spatie\Permission\Traits\HasRoles.
phpstan: src/Console/Commands/ListUsersCommand.php#L74
Access to property $name on an unknown class Spatie\Permission\Traits\HasRoles.
phpstan: src/Console/Commands/ListUsersCommand.php#L74
Access to property $name on an unknown class Spatie\Permission\Traits\HasRoles.
phpstan: src/Console/Commands/ListUsersCommand.php#L58
Negated boolean expression is always false.
phpstan: src/Console/Commands/ListUsersCommand.php#L56
PHPDoc tag @var for variable $user has invalid type Spatie\Permission\Traits\HasRoles.
phpstan: src/Console/Commands/DeleteUser.php#L62
Access to an undefined property Backstage\Laravel\Users\Eloquent\Models\User::$name.