1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
namespace SaasReady\Traits; |
4
|
|
|
|
5
|
|
|
use Closure; |
6
|
|
|
use Illuminate\Contracts\Support\Arrayable; |
|
|
|
|
7
|
|
|
use Illuminate\Database\Eloquent\Builder; |
|
|
|
|
8
|
|
|
use Illuminate\Database\Eloquent\Collection as EloquentCollection; |
|
|
|
|
9
|
|
|
use Illuminate\Support\Collection; |
|
|
|
|
10
|
|
|
use Illuminate\Support\LazyCollection; |
|
|
|
|
11
|
|
|
|
12
|
|
|
/** |
13
|
|
|
* @method static static create(array $attributes = []) |
14
|
|
|
* @method static static firstOrCreate(array $attributes, array $values = []) |
15
|
|
|
* @method static static updateOrCreate(array $attributes, array $values = []) |
16
|
|
|
* @method static static|null first($columns = ['*']) |
17
|
|
|
* @method static static|null find(int|string $id, $columns = ['*']) |
18
|
|
|
* @method static static[]|EloquentCollection get($columns = ['*']) |
19
|
|
|
* @method static Builder|static where(Closure|string|array $column, mixed $operator = null, mixed $value = null, string $boolean = 'and') |
20
|
|
|
* @method static Builder|static latest(string $column = null) |
21
|
|
|
* @method static Builder|static whereIn(string $column, array|Arrayable $values, string $boolean = 'and') |
22
|
|
|
* @method static Builder|static whereNotIn(string $column, array|Arrayable $values, string $boolean = 'and') |
23
|
|
|
* @method static Builder|static whereNull(string $columns, string $boolean = 'and', bool $not = false) |
24
|
|
|
* @method static Builder|static whereNotNull(string $columns, string $boolean = 'and') |
25
|
|
|
* @method static Builder|static whereHas(string $relation, Closure $callback = null, string $operator = '>=', int $count = 1) |
26
|
|
|
* @method static Builder|static whereDoesntHave(string $relation, Closure $callback = null) |
27
|
|
|
* @method static Builder|static doesntHave(string $relation, string $boolean = 'and', Closure $callback = null) |
28
|
|
|
* @method static Builder|static has(string $relation, string $operator = '>=', int $count = 1, string $boolean = 'and', Closure $callback = null) |
29
|
|
|
* @method static Builder|static whereJsonContains(string $column, string $value, string $boolean = 'and', bool $not = false) |
30
|
|
|
* @method static Builder|static whereBetween(string $column, array|Arrayable $values, string $boolean = 'and', bool $not = false) |
31
|
|
|
* @method static Builder|static inRandomOrder($seed = '') |
32
|
|
|
* @method static Builder|static newModelQuery() |
33
|
|
|
* @method static Builder|static newQuery() |
34
|
|
|
* @method static Builder|static query() |
35
|
|
|
* @method static Collection pluck(string $column, string $key = null) |
36
|
|
|
* @method static LazyCollection|static[] cursor() |
37
|
|
|
* @method static Builder|static select(string|array ...$columns) |
38
|
|
|
* @method static Builder|static orderBy(string $column, string $direction = 'asc') |
39
|
|
|
* @method static Builder|static join(string $table, string|Closure $first, string $operator = null, string $second = null, string $type = 'inner', bool $where = false) |
40
|
|
|
*/ |
41
|
|
|
trait EloquentBuilderMixin |
42
|
|
|
{ |
43
|
|
|
} |
44
|
|
|
|
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