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
+24-24Lines changed: 24 additions & 24 deletions
Original file line number
Diff line number
Diff line change
@@ -54,41 +54,41 @@ parameters:
54
54
count:1
55
55
path:src/Collection.php
56
56
57
+
-
58
+
message:'#^Parameter \#1 \$key of function array_key_exists expects int\|string, mixed given\.$#'
59
+
identifier:argument.type
60
+
count:1
61
+
path:src/Model/CollectionInfo.php
62
+
63
+
-
64
+
message:'#^Possibly invalid array key type mixed\.$#'
65
+
identifier:offsetAccess.invalidOffset
66
+
count:1
67
+
path:src/Model/CollectionInfo.php
68
+
57
69
-
58
70
message:'#^Call to function is_array\(\) with array\<string, mixed\> will always evaluate to true\.$#'
59
71
identifier:function.alreadyNarrowedType
60
72
count:1
61
-
path:src/Cursor.php
73
+
path:src/Model/Cursor.php
62
74
63
75
-
64
76
message:'#^Generator expects value type TDocument of array\<string, mixed\>, array\<string, mixed\> given\.$#'
65
77
identifier:generator.valueType
66
78
count:2
67
-
path:src/Cursor.php
79
+
path:src/Model/Cursor.php
68
80
69
81
-
70
-
message:'#^Method Patchlevel\\Rango\\Cursor\:\:toArray\(\) should return list\<TDocument of array\<string, mixed\>\> but returns array\<array\<string, mixed\>\>\.$#'
82
+
message:'#^Method Patchlevel\\Rango\\Model\\Cursor\:\:toArray\(\) should return list\<TDocument of array\<string, mixed\>\> but returns array\<array\<string, mixed\>\>\.$#'
71
83
identifier:return.type
72
84
count:1
73
-
path:src/Cursor.php
85
+
path:src/Model/Cursor.php
74
86
75
87
-
76
-
message:'#^Method Patchlevel\\Rango\\Cursor\:\:toArray\(\) should return list\<TDocument of array\<string, mixed\>\> but returns list\<array\<string, mixed\>\>\.$#'
88
+
message:'#^Method Patchlevel\\Rango\\Model\\Cursor\:\:toArray\(\) should return list\<TDocument of array\<string, mixed\>\> but returns list\<array\<string, mixed\>\>\.$#'
77
89
identifier:return.type
78
90
count:1
79
-
path:src/Cursor.php
80
-
81
-
-
82
-
message:'#^Parameter \#1 \$key of function array_key_exists expects int\|string, mixed given\.$#'
83
-
identifier:argument.type
84
-
count:1
85
-
path:src/Model/CollectionInfo.php
86
-
87
-
-
88
-
message:'#^Possibly invalid array key type mixed\.$#'
89
-
identifier:offsetAccess.invalidOffset
90
-
count:1
91
-
path:src/Model/CollectionInfo.php
91
+
path:src/Model/Cursor.php
92
92
93
93
-
94
94
message:'#^Parameter \#1 \$key of function array_key_exists expects int\|string, mixed given\.$#'
@@ -127,37 +127,37 @@ parameters:
127
127
path:src/Model/IndexInfo.php
128
128
129
129
-
130
-
message:'#^Method Patchlevel\\Rango\\Operation\\Aggregate\:\:execute\(\) return type with generic class Patchlevel\\Rango\\Cursor does not specify its types\: TDocument$#'
130
+
message:'#^Method Patchlevel\\Rango\\Operation\\Aggregate\:\:execute\(\) return type with generic class Patchlevel\\Rango\\Model\\Cursor does not specify its types\: TDocument$#'
131
131
identifier:missingType.generics
132
132
count:1
133
133
path:src/Operation/Aggregate.php
134
134
135
135
-
136
-
message:'#^Method Patchlevel\\Rango\\Operation\\Find\:\:execute\(\) return type with generic class Patchlevel\\Rango\\Cursor does not specify its types\: TDocument$#'
136
+
message:'#^Method Patchlevel\\Rango\\Operation\\Find\:\:execute\(\) return type with generic class Patchlevel\\Rango\\Model\\Cursor does not specify its types\: TDocument$#'
137
137
identifier:missingType.generics
138
138
count:1
139
139
path:src/Operation/Find.php
140
140
141
141
-
142
-
message:'#^Method Patchlevel\\Rango\\Operation\\FindOne\:\:execute\(\) return type with generic class Patchlevel\\Rango\\Cursor does not specify its types\: TDocument$#'
142
+
message:'#^Method Patchlevel\\Rango\\Operation\\FindOne\:\:execute\(\) return type with generic class Patchlevel\\Rango\\Model\\Cursor does not specify its types\: TDocument$#'
143
143
identifier:missingType.generics
144
144
count:1
145
145
path:src/Operation/FindOne.php
146
146
147
147
-
148
-
message:'#^Method Patchlevel\\Rango\\Operation\\FindOneAndDelete\:\:execute\(\) return type with generic class Patchlevel\\Rango\\Cursor does not specify its types\: TDocument$#'
148
+
message:'#^Method Patchlevel\\Rango\\Operation\\FindOneAndDelete\:\:execute\(\) return type with generic class Patchlevel\\Rango\\Model\\Cursor does not specify its types\: TDocument$#'
149
149
identifier:missingType.generics
150
150
count:1
151
151
path:src/Operation/FindOneAndDelete.php
152
152
153
153
-
154
-
message:'#^Method Patchlevel\\Rango\\Operation\\FindOneAndReplace\:\:execute\(\) return type with generic class Patchlevel\\Rango\\Cursor does not specify its types\: TDocument$#'
154
+
message:'#^Method Patchlevel\\Rango\\Operation\\FindOneAndReplace\:\:execute\(\) return type with generic class Patchlevel\\Rango\\Model\\Cursor does not specify its types\: TDocument$#'
155
155
identifier:missingType.generics
156
156
count:1
157
157
path:src/Operation/FindOneAndReplace.php
158
158
159
159
-
160
-
message:'#^Method Patchlevel\\Rango\\Operation\\FindOneAndUpdate\:\:execute\(\) return type with generic class Patchlevel\\Rango\\Cursor does not specify its types\: TDocument$#'
160
+
message:'#^Method Patchlevel\\Rango\\Operation\\FindOneAndUpdate\:\:execute\(\) return type with generic class Patchlevel\\Rango\\Model\\Cursor does not specify its types\: TDocument$#'
0 commit comments