You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: phpstan-baseline.neon
+5-25Lines changed: 5 additions & 25 deletions
Original file line number
Diff line number
Diff line change
@@ -5,16 +5,6 @@ parameters:
5
5
count:1
6
6
path:src/Mixins/CollectionMixin.php
7
7
8
-
-
9
-
message:"#^Call to an undefined method Illuminate\\\\Database\\\\Eloquent\\\\Builder\\<TModel of Illuminate\\\\Database\\\\Eloquent\\\\Model\\>\\|Illuminate\\\\Database\\\\Eloquent\\\\Model\\:\\:getAttributes\\(\\)\\.$#"
10
-
count:4
11
-
path:src/Mixins/Creation.php
12
-
13
-
-
14
-
message:"#^Call to an undefined method Illuminate\\\\Database\\\\Eloquent\\\\Builder\\<TModel of Illuminate\\\\Database\\\\Eloquent\\\\Model\\>\\|Illuminate\\\\Database\\\\Eloquent\\\\Model\\:\\:newCollection\\(\\)\\.$#"
15
-
count:1
16
-
path:src/Mixins/Creation.php
17
-
18
8
-
19
9
message:"#^Call to protected method addTimestampsToUpsertValues\\(\\) of class Illuminate\\\\Database\\\\Eloquent\\\\Builder\\<TModel of Illuminate\\\\Database\\\\Eloquent\\\\Model\\>\\.$#"
20
10
count:2
@@ -31,7 +21,7 @@ parameters:
31
21
path:src/Mixins/Misc.php
32
22
33
23
-
34
-
message:"#^Call to protected method callScope\\(\\) of class Illuminate\\\\Database\\\\Eloquent\\\\Builder\\<Illuminate\\\\Database\\\\Eloquent\\\\Model\\>\\.$#"
24
+
message:"#^Call to protected method callScope\\(\\) of class Illuminate\\\\Database\\\\Eloquent\\\\Builder\\<mixed\\>\\.$#"
35
25
count:1
36
26
path:src/Mixins/Ordering.php
37
27
@@ -72,12 +62,7 @@ parameters:
72
62
73
63
-
74
64
message:"#^Method Soyhuce\\\\EloquentExtended\\\\Mixins\\\\Ordering\\:\\:preventInvalidDirection\\(\\) invoked with 1 parameter, 0 required\\.$#"
75
-
count:2
76
-
path:src/Mixins/Ordering.php
77
-
78
-
-
79
-
message:"#^Offset 0 does not exist on array\\|null\\.$#"
80
-
count:1
65
+
count:3
81
66
path:src/Mixins/Ordering.php
82
67
83
68
-
@@ -91,7 +76,7 @@ parameters:
91
76
path:src/Mixins/Ordering.php
92
77
93
78
-
94
-
message:"#^Parameter \\#2 \\$parentQuery of method Illuminate\\\\Database\\\\Eloquent\\\\Relations\\\\Relation\\<Illuminate\\\\Database\\\\Eloquent\\\\Model\\>\\:\\:getRelationExistenceQuery\\(\\) expects Illuminate\\\\Database\\\\Eloquent\\\\Builder, \\$this\\(Soyhuce\\\\EloquentExtended\\\\Mixins\\\\Ordering\\) given\\.$#"
79
+
message:"#^Parameter \\#2 \\$parentQuery of method Illuminate\\\\Database\\\\Eloquent\\\\Relations\\\\Relation\\<\\*\\>\\:\\:getRelationExistenceQuery\\(\\) expects Illuminate\\\\Database\\\\Eloquent\\\\Builder\\<TDeclaringModel of Illuminate\\\\Database\\\\Eloquent\\\\Model\\>, \\$this\\(Soyhuce\\\\EloquentExtended\\\\Mixins\\\\Ordering\\) given\\.$#"
95
80
count:1
96
81
path:src/Mixins/Ordering.php
97
82
@@ -116,7 +101,7 @@ parameters:
116
101
path:src/Mixins/Select.php
117
102
118
103
-
119
-
message:"#^Call to protected method callScope\\(\\) of class Illuminate\\\\Database\\\\Eloquent\\\\Builder\\<Illuminate\\\\Database\\\\Eloquent\\\\Model\\>\\.$#"
104
+
message:"#^Call to protected method callScope\\(\\) of class Illuminate\\\\Database\\\\Eloquent\\\\Builder\\<mixed\\>\\.$#"
120
105
count:1
121
106
path:src/Mixins/Select.php
122
107
@@ -135,11 +120,6 @@ parameters:
135
120
count:2
136
121
path:src/Mixins/Select.php
137
122
138
-
-
139
-
message:"#^Offset 0 does not exist on array\\|null\\.$#"
140
-
count:1
141
-
path:src/Mixins/Select.php
142
-
143
123
-
144
124
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\\<TModelClass of Illuminate\\\\Database\\\\Eloquent\\\\Model\\>\\) given\\.$#"
145
125
count:1
@@ -161,7 +141,7 @@ parameters:
161
141
path:src/Mixins/Select.php
162
142
163
143
-
164
-
message:"#^Parameter \\#2 \\$parentQuery of method Illuminate\\\\Database\\\\Eloquent\\\\Relations\\\\Relation\\<Illuminate\\\\Database\\\\Eloquent\\\\Model\\>\\:\\:getRelationExistenceQuery\\(\\) expects Illuminate\\\\Database\\\\Eloquent\\\\Builder, \\$this\\(Soyhuce\\\\EloquentExtended\\\\Mixins\\\\Select\\<TModelClass of Illuminate\\\\Database\\\\Eloquent\\\\Model\\>\\) given\\.$#"
144
+
message:"#^Parameter \\#2 \\$parentQuery of method Illuminate\\\\Database\\\\Eloquent\\\\Relations\\\\Relation\\<\\*\\>\\:\\:getRelationExistenceQuery\\(\\) expects Illuminate\\\\Database\\\\Eloquent\\\\Builder\\<TDeclaringModel of Illuminate\\\\Database\\\\Eloquent\\\\Model\\>, \\$this\\(Soyhuce\\\\EloquentExtended\\\\Mixins\\\\Select\\<TModelClass of Illuminate\\\\Database\\\\Eloquent\\\\Model\\>\\) given\\.$#"
0 commit comments