@@ -152,8 +152,8 @@
Loading
152 152
        }
153 153
154 154
        if ($this->modelClass) {
155 -
            // @phpstan-ignore-next-line NodeList contravariance issue
156 155
            $objectType->directives = ASTHelper::mergeNodeList(
156 +
                // @phpstan-ignore-next-line NodeList contravariance issue
157 157
                $objectType->directives,
158 158
                [Parser::constDirective('@model(class: "'.addslashes($this->modelClass).'")')]
159 159
            );

@@ -33,8 +33,8 @@
Loading
33 33
            return $next($error);
34 34
        }
35 35
36 -
        // @phpstan-ignore-next-line TODO remove when supporting Laravel 7 and upwards
37 36
        $this->exceptionHandler->report(
37 +
            // @phpstan-ignore-next-line TODO remove when supporting Laravel 7 and upwards
38 38
            $error->getPrevious()
39 39
        );
40 40

@@ -23,9 +23,9 @@
Loading
23 23
24 24
        if ($underlyingException instanceof RendersErrorsExtensions) {
25 25
            // Reconstruct the error, passing in the extensions of the underlying exception
26 -
            // @phpstan-ignore-next-line graphql-php and phpstan disagree with themselves
27 26
            $error = new Error(
28 27
                $error->getMessage(),
28 +
                // @phpstan-ignore-next-line graphql-php and phpstan disagree with themselves
29 29
                $error->getNodes(),
30 30
                $error->getSource(),
31 31
                $error->getPositions(),

@@ -216,9 +216,10 @@
Loading
216 216
217 217
        $this->assertExtensionMatchesDefinition($typeExtension, $extendedObjectLikeType);
218 218
219 -
        // @phpstan-ignore-next-line graphql-php types are unnecessarily nullable
220 219
        $extendedObjectLikeType->fields = ASTHelper::mergeUniqueNodeList(
220 +
            // @phpstan-ignore-next-line graphql-php types are unnecessarily nullable
221 221
            $extendedObjectLikeType->fields,
222 +
            // @phpstan-ignore-next-line graphql-php types are unnecessarily nullable
222 223
            $typeExtension->fields
223 224
        );
224 225
    }
@@ -235,9 +236,10 @@
Loading
235 236
236 237
        $this->assertExtensionMatchesDefinition($typeExtension, $extendedEnum);
237 238
238 -
        // @phpstan-ignore-next-line graphql-php types are unnecessarily nullable
239 239
        $extendedEnum->values = ASTHelper::mergeUniqueNodeList(
240 +
            // @phpstan-ignore-next-line graphql-php types are unnecessarily nullable
240 241
            $extendedEnum->values,
242 +
            // @phpstan-ignore-next-line graphql-php types are unnecessarily nullable
241 243
            $typeExtension->values
242 244
        );
243 245
    }

@@ -109,8 +109,8 @@
Loading
109 109
            $additionalArguments[] = $amount;
110 110
        }
111 111
112 -
        // @phpstan-ignore-next-line Larastan disagrees with itself here
113 112
        $builder->addNestedWhereQuery(
113 +
            // @phpstan-ignore-next-line Larastan disagrees with itself here
114 114
            $model
115 115
                ->whereHas(
116 116
                    $relation,

@@ -65,8 +65,8 @@
Loading
65 65
66 66
        /** @var \GraphQL\Language\AST\ObjectTypeDefinitionNode $queryType */
67 67
        $queryType = $documentAST->types[RootType::QUERY];
68 -
        // @phpstan-ignore-next-line graphql-php types are unnecessarily nullable
69 68
        $queryType->fields = ASTHelper::mergeNodeList(
69 +
            // @phpstan-ignore-next-line graphql-php types are unnecessarily nullable
70 70
            $queryType->fields,
71 71
            [
72 72
                Parser::fieldDefinition(/** @lang GraphQL */ '

@@ -220,8 +220,8 @@
Loading
220 220
        return $relations
221 221
            ->reduce(
222 222
                function (EloquentBuilder $builder, Relation $relation): EloquentBuilder {
223 -
                    // @phpstan-ignore-next-line Laravel is not that strictly typed
224 223
                    return $builder->unionAll(
224 +
                        // @phpstan-ignore-next-line Laravel is not that strictly typed
225 225
                        $relation->getQuery()
226 226
                    );
227 227
                },
Files Complexity Coverage
src 1,409 88.16%
Project Totals (234 files) 1409 88.16%
1
coverage:
2
  status:
3
    project:
4
      default:
5
        only_pulls: true
6
comment: false
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading