Skip to content

Support strings as numeric ids #132

Support strings as numeric ids

Support strings as numeric ids #132

Triggered via pull request December 23, 2024 17:44
Status Failure
Total duration 58s
Artifacts

phpstan.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 1 warning
phpstan: src/PermissionServiceProvider.php#L147
Call to function method_exists() with 'Illuminate\\Routing\\Route' and 'macro' will always evaluate to true.
phpstan: src/Traits/HasPermissions.php (in context of class Spatie/Permission/Models/Permission)#L351
Call to function method_exists() with $this(Spatie\Permission\Models\Permission) and 'roles' will always evaluate to true.
phpstan: src/Traits/HasRoles.php (in context of class Spatie/Permission/Models/Permission)#L130
Instanceof between Spatie\Permission\Contracts\Role and Spatie\Permission\Contracts\Role will always evaluate to true.
phpstan
Process completed with exit code 1.
phpstan
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636