axotion /
laravel-inbox
| 1 | <?php |
||
| 2 | |||
| 3 | namespace Evilnet\Inbox; |
||
| 4 | |||
| 5 | |||
| 6 | use Illuminate\Notifications\Notifiable; |
||
|
0 ignored issues
–
show
|
|||
| 7 | use Illuminate\Foundation\Auth\User as Authenticatable; |
||
|
0 ignored issues
–
show
The type
Illuminate\Foundation\Auth\User 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 Loading history...
|
|||
| 8 | |||
| 9 | class User extends Authenticatable |
||
| 10 | { |
||
| 11 | use Notifiable; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * The attributes that are mass assignable. |
||
| 15 | * |
||
| 16 | * @var array |
||
| 17 | */ |
||
| 18 | protected $fillable = [ |
||
| 19 | 'name', 'email', 'password', |
||
| 20 | ]; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * The attributes that should be hidden for arrays. |
||
| 24 | * |
||
| 25 | * @var array |
||
| 26 | */ |
||
| 27 | protected $hidden = [ |
||
| 28 | 'password', 'remember_token', |
||
| 29 | ]; |
||
| 30 | } |
||
| 31 |
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