generated from Soyhuce/package-skeleton-laravel
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan-baseline.neon
164 lines (137 loc) · 7.29 KB
/
phpstan-baseline.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
parameters:
ignoreErrors:
-
message: '#^Trait Soyhuce\\EloquentExtended\\Concerns\\LoadsAttributes is used zero times and is not analysed\.$#'
identifier: trait.unused
count: 1
path: src/Concerns/LoadsAttributes.php
-
message: '#^Call to protected method addTimestampsToUpsertValues\(\) of class Illuminate\\Database\\Eloquent\\Builder\<TModel of Illuminate\\Database\\Eloquent\\Model\>\.$#'
identifier: method.protected
count: 2
path: src/Mixins/Creation.php
-
message: '#^Parameter \#1 \$builder of method Illuminate\\Database\\Eloquent\\Scope\:\:apply\(\) expects Illuminate\\Database\\Eloquent\\Builder, \$this\(Soyhuce\\EloquentExtended\\Mixins\\Misc\<TModel of Illuminate\\Database\\Eloquent\\Model\>\) given\.$#'
identifier: argument.type
count: 1
path: src/Mixins/Misc.php
-
message: '#^Call to protected method callScope\(\) of class Illuminate\\Database\\Eloquent\\Builder\<mixed\>\.$#'
identifier: method.protected
count: 1
path: src/Mixins/Ordering.php
-
message: '#^Call to protected method getRelationWithoutConstraints\(\) of class Illuminate\\Database\\Eloquent\\Builder\<TModel of Illuminate\\Database\\Eloquent\\Model\>\.$#'
identifier: method.protected
count: 1
path: src/Mixins/Ordering.php
-
message: '#^Method Soyhuce\\EloquentExtended\\Mixins\\Ordering\<TModel of Illuminate\\Database\\Eloquent\\Model\>\:\:orderByAggregate\(\) invoked with 5 parameters, 0 required\.$#'
identifier: arguments.count
count: 5
path: src/Mixins/Ordering.php
-
message: '#^Method Soyhuce\\EloquentExtended\\Mixins\\Ordering\<TModel of Illuminate\\Database\\Eloquent\\Model\>\:\:orderByCount\(\) invoked with 3 parameters, 0 required\.$#'
identifier: arguments.count
count: 1
path: src/Mixins/Ordering.php
-
message: '#^Method Soyhuce\\EloquentExtended\\Mixins\\Ordering\<TModel of Illuminate\\Database\\Eloquent\\Model\>\:\:orderByExists\(\) invoked with 3 parameters, 0 required\.$#'
identifier: arguments.count
count: 1
path: src/Mixins/Ordering.php
-
message: '#^Method Soyhuce\\EloquentExtended\\Mixins\\Ordering\<TModel of Illuminate\\Database\\Eloquent\\Model\>\:\:orderByMax\(\) invoked with 4 parameters, 0 required\.$#'
identifier: arguments.count
count: 1
path: src/Mixins/Ordering.php
-
message: '#^Method Soyhuce\\EloquentExtended\\Mixins\\Ordering\<TModel of Illuminate\\Database\\Eloquent\\Model\>\:\:orderByMin\(\) invoked with 4 parameters, 0 required\.$#'
identifier: arguments.count
count: 1
path: src/Mixins/Ordering.php
-
message: '#^Method Soyhuce\\EloquentExtended\\Mixins\\Ordering\<TModel of Illuminate\\Database\\Eloquent\\Model\>\:\:orderBySum\(\) invoked with 4 parameters, 0 required\.$#'
identifier: arguments.count
count: 1
path: src/Mixins/Ordering.php
-
message: '#^Method Soyhuce\\EloquentExtended\\Mixins\\Ordering\<TModel of Illuminate\\Database\\Eloquent\\Model\>\:\:preventInvalidDirection\(\) invoked with 1 parameter, 0 required\.$#'
identifier: arguments.count
count: 3
path: src/Mixins/Ordering.php
-
message: '#^Parameter \#1 \$value of function count expects array\|Countable, array\|null given\.$#'
identifier: argument.type
count: 1
path: src/Mixins/Ordering.php
-
message: '#^Parameter \#2 \$parentQuery of method Illuminate\\Database\\Eloquent\\Relations\\Relation\<\*,\*,\*\>\:\:getRelationExistenceQuery\(\) expects Illuminate\\Database\\Eloquent\\Builder\<mixed\>, \$this\(Soyhuce\\EloquentExtended\\Mixins\\Ordering\<TModel of Illuminate\\Database\\Eloquent\\Model\>\) given\.$#'
identifier: argument.type
count: 1
path: src/Mixins/Ordering.php
-
message: '#^Parameter \#3 \$columns of method Illuminate\\Database\\Eloquent\\Relations\\Relation\<\*,\*,\*\>\:\:getRelationExistenceQuery\(\) expects array\<model property of never\>\|model property of never, Illuminate\\Database\\Query\\Expression given\.$#'
identifier: argument.type
count: 1
path: src/Mixins/Ordering.php
-
message: '#^Anonymous function should return Soyhuce\\EloquentExtended\\Mixins\\Select but returns Closure\.$#'
identifier: return.type
count: 2
path: src/Mixins/Select.php
-
message: '#^Binary operation "\." between Illuminate\\Database\\Query\\Expression\|string and ''\.\*'' results in an error\.$#'
identifier: binaryOp.invalid
count: 1
path: src/Mixins/Select.php
-
message: '#^Call to protected method callScope\(\) of class Illuminate\\Database\\Eloquent\\Builder\<mixed\>\.$#'
identifier: method.protected
count: 1
path: src/Mixins/Select.php
-
message: '#^Call to protected method getRelationWithoutConstraints\(\) of class Illuminate\\Database\\Eloquent\\Builder\<TModel of Illuminate\\Database\\Eloquent\\Model\>\.$#'
identifier: method.protected
count: 1
path: src/Mixins/Select.php
-
message: '#^Call to protected method parseWithRelations\(\) of class Illuminate\\Database\\Eloquent\\Builder\<TModel of Illuminate\\Database\\Eloquent\\Model\>\.$#'
identifier: method.protected
count: 1
path: src/Mixins/Select.php
-
message: '#^Method Soyhuce\\EloquentExtended\\Mixins\\Select\<TModel of Illuminate\\Database\\Eloquent\\Model\>\:\:withAggregateFunction\(\) invoked with 2 parameters, 0 required\.$#'
identifier: arguments.count
count: 2
path: src/Mixins/Select.php
-
message: '#^Parameter \#1 \$query of method Soyhuce\\EloquentExtended\\Aggregates\\Contracts\\AggregateFunction\<Illuminate\\Database\\Eloquent\\Model\>\:\:apply\(\) expects Illuminate\\Database\\Eloquent\\Builder\<Illuminate\\Database\\Eloquent\\Model\>, \$this\(Soyhuce\\EloquentExtended\\Mixins\\Select\<TModel of Illuminate\\Database\\Eloquent\\Model\>\) given\.$#'
identifier: argument.type
count: 1
path: src/Mixins/Select.php
-
message: '#^Parameter \#1 \$query of method Soyhuce\\EloquentExtended\\Aggregates\\Contracts\\MultiRelationAggregate\<Illuminate\\Database\\Eloquent\\Model\>\:\:enclose\(\) expects Illuminate\\Database\\Eloquent\\Builder\<Illuminate\\Database\\Eloquent\\Model\>, \$this\(Soyhuce\\EloquentExtended\\Mixins\\Select\<TModel of Illuminate\\Database\\Eloquent\\Model\>\) given\.$#'
identifier: argument.type
count: 1
path: src/Mixins/Select.php
-
message: '#^Parameter \#1 \$value of function count expects array\|Countable, array\|null given\.$#'
identifier: argument.type
count: 1
path: src/Mixins/Select.php
-
message: '#^Parameter \#1 \$value of static method Illuminate\\Support\\Str\:\:snake\(\) expects string, string\|null given\.$#'
identifier: argument.type
count: 1
path: src/Mixins/Select.php
-
message: '#^Parameter \#2 \$parentQuery of method Illuminate\\Database\\Eloquent\\Relations\\Relation\<\*,\*,\*\>\:\:getRelationExistenceQuery\(\) expects Illuminate\\Database\\Eloquent\\Builder\<mixed\>, \$this\(Soyhuce\\EloquentExtended\\Mixins\\Select\<TModel of Illuminate\\Database\\Eloquent\\Model\>\) given\.$#'
identifier: argument.type
count: 1
path: src/Mixins/Select.php
-
message: '#^Parameter \#3 \$columns of method Illuminate\\Database\\Eloquent\\Relations\\Relation\<\*,\*,\*\>\:\:getRelationExistenceQuery\(\) expects array\<model property of never\>\|model property of never, Illuminate\\Database\\Query\\Expression given\.$#'
identifier: argument.type
count: 1
path: src/Mixins/Select.php