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
GraphQL: Support single-valued relationship filtering (#3674)
Our GraphQL filter system currently only supports multi-valued
relationships, e.g., filtering builds with failing tests. This PR
completes the final piece of the core filtering feature, allowing users
to filter by single-valued relationships, such as filtering builds by
subproject, site, or configure.
Copy file name to clipboardExpand all lines: phpstan-baseline.neon
+26-14Lines changed: 26 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -144,18 +144,6 @@ parameters:
144
144
count: 1
145
145
path: app/Exceptions/Handler.php
146
146
147
-
-
148
-
rawMessage: Access to an undefined property GraphQL\Language\AST\ListTypeNode|GraphQL\Language\AST\NamedTypeNode|GraphQL\Language\AST\NonNullTypeNode::$name.
149
-
identifier: property.notFound
150
-
count: 1
151
-
path: app/GraphQL/Directives/FilterDirective.php
152
-
153
-
-
154
-
rawMessage: Access to an undefined property GraphQL\Language\AST\ListTypeNode|GraphQL\Language\AST\NamedTypeNode|GraphQL\Language\AST\NonNullTypeNode::$type.
155
-
identifier: property.notFound
156
-
count: 1
157
-
path: app/GraphQL/Directives/FilterDirective.php
158
-
159
147
-
160
148
rawMessage: 'Generic type Illuminate\Database\Eloquent\Relations\Relation<Illuminate\Database\Eloquent\Model> in PHPDoc tag @param for parameter $builder does not specify all template types of class Illuminate\Database\Eloquent\Relations\Relation: TRelatedModel, TDeclaringModel, TResult'
161
149
identifier: generics.lessTypes
@@ -180,16 +168,34 @@ parameters:
180
168
count: 1
181
169
path: app/GraphQL/Directives/FilterDirective.php
182
170
171
+
-
172
+
rawMessage: 'Method App\GraphQL\Directives\FilterDirective::ensureFilterInputTypes() throws checked exception GraphQL\Error\SyntaxError but it''s missing from the PHPDoc @throws tag.'
173
+
identifier: missingType.checkedException
174
+
count: 2
175
+
path: app/GraphQL/Directives/FilterDirective.php
176
+
177
+
-
178
+
rawMessage: 'Method App\GraphQL\Directives\FilterDirective::ensureFilterInputTypes() throws checked exception JsonException but it''s missing from the PHPDoc @throws tag.'
179
+
identifier: missingType.checkedException
180
+
count: 2
181
+
path: app/GraphQL/Directives/FilterDirective.php
182
+
183
183
-
184
184
rawMessage: 'Method App\GraphQL\Directives\FilterDirective::handleBuilder() never returns Illuminate\Database\Query\Builder so it can be removed from the return type.'
185
185
identifier: return.unusedType
186
186
count: 1
187
187
path: app/GraphQL/Directives/FilterDirective.php
188
188
189
+
-
190
+
rawMessage: 'Only booleans are allowed in a negated boolean, (GraphQL\Language\AST\Node&GraphQL\Language\AST\TypeDefinitionNode)|null given.'
191
+
identifier: booleanNot.exprNotBoolean
192
+
count: 1
193
+
path: app/GraphQL/Directives/FilterDirective.php
194
+
189
195
-
190
196
rawMessage: 'Parameter #2 $array of function array_key_exists expects array, array<string, GraphQL\Language\AST\Node&GraphQL\Language\AST\TypeDefinitionNode>|GraphQL\Language\AST\NodeList<GraphQL\Language\AST\Node&GraphQL\Language\AST\TypeDefinitionNode> given.'
rawMessage: 'array<string, GraphQL\Language\AST\Node&GraphQL\Language\AST\TypeDefinitionNode>|GraphQL\Language\AST\NodeList<GraphQL\Language\AST\Node&GraphQL\Language\AST\TypeDefinitionNode> does not accept null.'
221
+
identifier: offsetAssign.valueType
222
+
count: 1
223
+
path: app/GraphQL/Directives/FilterDirective.php
224
+
213
225
-
214
226
rawMessage: Access to an undefined property GraphQL\Language\AST\BooleanValueNode|GraphQL\Language\AST\EnumValueNode|GraphQL\Language\AST\FloatValueNode|GraphQL\Language\AST\IntValueNode|GraphQL\Language\AST\ListValueNode|GraphQL\Language\AST\NullValueNode|GraphQL\Language\AST\ObjectValueNode|GraphQL\Language\AST\StringValueNode|GraphQL\Language\AST\VariableNode::$value.
0 commit comments