Issues (30)

stubs/app/Models/Base.php (5 issues)

Labels
Severity
1
<?php
2
3
namespace App\Models;
4
5
use App\Traits\HasMediaExtended as MediaTrait;
6
use CleaniqueCoders\LaravelUuid\Contracts\HasUuid as HasUuidContract;
0 ignored issues
show
The type CleaniqueCoders\LaravelUuid\Contracts\HasUuid 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. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
7
use CleaniqueCoders\LaravelUuid\Traits\HasUuid;
0 ignored issues
show
The type CleaniqueCoders\LaravelUuid\Traits\HasUuid 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. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
8
use Illuminate\Database\Eloquent\Model;
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. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
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. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
11
use Spatie\MediaLibrary\HasMedia\HasMedia as MediaContract;
0 ignored issues
show
The type Spatie\MediaLibrary\HasMedia\HasMedia 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. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
12
13
class Base extends Model implements AuditableContract, HasUuidContract, MediaContract
14
{
15
    use AuditableTrait;
16
    use HasUuid;
17
    use MediaTrait;
18
19
    protected $guarded = [
20
        'id',
21
    ];
22
}
23