1 | <?php |
||
2 | |||
3 | namespace App\Models; |
||
4 | |||
5 | use Illuminate\Foundation\Auth\User as Authenticatable; |
||
6 | use Illuminate\Notifications\Notifiable; |
||
7 | use Lab404\Impersonate\Models\Impersonate; |
||
0 ignored issues
–
show
|
|||
8 | use Laravel\Passport\HasApiTokens; |
||
0 ignored issues
–
show
The type
Laravel\Passport\HasApiTokens was not found. Maybe you did not declare it correctly or list all dependencies?
The issue could also be caused by a filter entry in the build configuration.
If the path has been excluded in your configuration, e.g. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
9 | use OwenIt\Auditing\Auditable as AuditableTrait; |
||
0 ignored issues
–
show
The type
OwenIt\Auditing\Auditable was not found. Maybe you did not declare it correctly or list all dependencies?
The issue could also be caused by a filter entry in the build configuration.
If the path has been excluded in your configuration, e.g. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
10 | use OwenIt\Auditing\Contracts\Auditable as AuditableContract; |
||
0 ignored issues
–
show
The type
OwenIt\Auditing\Contracts\Auditable was not found. Maybe you did not declare it correctly or list all dependencies?
The issue could also be caused by a filter entry in the build configuration.
If the path has been excluded in your configuration, e.g. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
11 | use Spatie\Permission\Traits\HasRoles; |
||
0 ignored issues
–
show
The type
Spatie\Permission\Traits\HasRoles was not found. Maybe you did not declare it correctly or list all dependencies?
The issue could also be caused by a filter entry in the build configuration.
If the path has been excluded in your configuration, e.g. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
12 | use Yadahan\AuthenticationLog\AuthenticationLogable; |
||
0 ignored issues
–
show
The type
Yadahan\AuthenticationLog\AuthenticationLogable was not found. Maybe you did not declare it correctly or list all dependencies?
The issue could also be caused by a filter entry in the build configuration.
If the path has been excluded in your configuration, e.g. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
13 | |||
14 | class User extends Authenticatable implements AuditableContract |
||
15 | { |
||
16 | use AuditableTrait; |
||
17 | use AuthenticationLogable; |
||
18 | use HasApiTokens; |
||
19 | use HasRoles; |
||
20 | use Impersonate; |
||
21 | use Notifiable; |
||
22 | |||
23 | /** |
||
24 | * The attributes that are mass assignable. |
||
25 | * |
||
26 | * @var array |
||
27 | */ |
||
28 | protected $fillable = [ |
||
29 | 'name', 'email', 'password', |
||
30 | ]; |
||
31 | |||
32 | /** |
||
33 | * The attributes that should be hidden for arrays. |
||
34 | * |
||
35 | * @var array |
||
36 | */ |
||
37 | protected $hidden = [ |
||
38 | 'password', 'remember_token', |
||
39 | ]; |
||
40 | |||
41 | /** |
||
42 | * The attributes that should be cast to native types. |
||
43 | * |
||
44 | * @var array |
||
45 | */ |
||
46 | protected $casts = [ |
||
47 | 'email_verified_at' => 'datetime', |
||
48 | ]; |
||
49 | } |
||
50 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"]
, you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths