| Total Complexity | 0 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 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 | ]; |
||
| 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