diff --git a/README.md b/README.md index b8ffc69..0dd42ab 100644 --- a/README.md +++ b/README.md @@ -335,13 +335,17 @@ final class Data * 'merged'?: bool, * 'number'?: int, * 'title'?: string, + * ..., * }>, + * ..., * }, + * ..., * } $data * @param list, * }> $errors */ public function __construct( @@ -763,22 +767,29 @@ final class Data * 'node': array{ * 'id': int, * 'name': string, + * ..., * }, + * ..., * }>, + * ..., * }, * 'issues': list, * }>, * 'projects': list, * }>, + * ..., * } $data * @param list, * }> $errors */ public function __construct( @@ -859,7 +870,9 @@ final class Viewer * 'project': null|array{ * 'id': string, * 'name': string, + * ..., * }, + * ..., * } $data */ public function __construct( @@ -1075,6 +1088,7 @@ final class ProjectView * 'description': null|string, * 'name': string, * 'state': null|string, + * ..., * } $data */ public function __construct( @@ -1108,6 +1122,7 @@ final class Project * 'description': null|string, * 'name': string, * 'state': null|string, + * ..., * } $data */ public function __construct( diff --git a/composer.json b/composer.json index 4402630..c18c259 100644 --- a/composer.json +++ b/composer.json @@ -15,7 +15,7 @@ "symfony/filesystem": "^8.0", "symfony/finder": "^8.0", "symfony/string": "^8.0", - "symfony/type-info": "^8.0", + "symfony/type-info": "^8.0.6", "webmozart/assert": "^2.0", "webonyx/graphql-php": "^15.24.0" }, diff --git a/composer.lock b/composer.lock index 6d62c71..c2a950d 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "635f6b064323c37a2d85ea8f1f832131", + "content-hash": "29bb91f2a1d88dbbdb6e6382d66da1e4", "packages": [ { "name": "nikic/php-parser", @@ -113,11 +113,11 @@ }, { "name": "phpstan/phpstan", - "version": "2.1.50", + "version": "2.2.0", "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/d452086fb4cf648c6b2d8cf3b639351f79e4f3e2", - "reference": "d452086fb4cf648c6b2d8cf3b639351f79e4f3e2", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/b4cd98348c809924f62bb9cc8c047f5e73bc9a58", + "reference": "b4cd98348c809924f62bb9cc8c047f5e73bc9a58", "shasum": "" }, "require": { @@ -140,6 +140,17 @@ "license": [ "MIT" ], + "authors": [ + { + "name": "Ondřej Mirtes" + }, + { + "name": "Markus Staab" + }, + { + "name": "Vincent Langlet" + } + ], "description": "PHPStan - PHP Static Analysis Tool", "keywords": [ "dev", @@ -162,7 +173,7 @@ "type": "github" } ], - "time": "2026-04-17T13:10:32+00:00" + "time": "2026-05-28T08:22:43+00:00" }, { "name": "psr/container", @@ -1167,16 +1178,16 @@ }, { "name": "symfony/type-info", - "version": "v8.0.8", + "version": "v8.0.9", "source": { "type": "git", "url": "https://github.com/symfony/type-info.git", - "reference": "622d81551770029d44d16be68969712eb47892f1" + "reference": "08723aceb8c3271e8cb3db8b2565728b0c88e866" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/type-info/zipball/622d81551770029d44d16be68969712eb47892f1", - "reference": "622d81551770029d44d16be68969712eb47892f1", + "url": "https://api.github.com/repos/symfony/type-info/zipball/08723aceb8c3271e8cb3db8b2565728b0c88e866", + "reference": "08723aceb8c3271e8cb3db8b2565728b0c88e866", "shasum": "" }, "require": { @@ -1225,7 +1236,7 @@ "type" ], "support": { - "source": "https://github.com/symfony/type-info/tree/v8.0.8" + "source": "https://github.com/symfony/type-info/tree/v8.0.9" }, "funding": [ { @@ -1245,7 +1256,7 @@ "type": "tidelift" } ], - "time": "2026-03-30T15:14:47+00:00" + "time": "2026-04-29T15:02:55+00:00" }, { "name": "webmozart/assert", diff --git a/examples/Generated/Fragment/PullRequestInfo.php b/examples/Generated/Fragment/PullRequestInfo.php index a9da6e8..a0c1590 100644 --- a/examples/Generated/Fragment/PullRequestInfo.php +++ b/examples/Generated/Fragment/PullRequestInfo.php @@ -32,6 +32,7 @@ final class PullRequestInfo * 'merged': bool, * 'number': int, * 'title': string, + * ..., * } $data */ public function __construct( diff --git a/examples/Generated/Query/Search/Data.php b/examples/Generated/Query/Search/Data.php index 7b7616e..05110bd 100644 --- a/examples/Generated/Query/Search/Data.php +++ b/examples/Generated/Query/Search/Data.php @@ -41,13 +41,17 @@ final class Data * 'merged'?: bool, * 'number'?: int, * 'title'?: string, + * ..., * }>, + * ..., * }, + * ..., * } $data * @param list, * }> $errors */ public function __construct( diff --git a/examples/Generated/Query/Search/Data/SearchResultItemConnection.php b/examples/Generated/Query/Search/Data/SearchResultItemConnection.php index 3f64832..25aa086 100644 --- a/examples/Generated/Query/Search/Data/SearchResultItemConnection.php +++ b/examples/Generated/Query/Search/Data/SearchResultItemConnection.php @@ -36,7 +36,9 @@ final class SearchResultItemConnection * 'merged'?: bool, * 'number'?: int, * 'title'?: string, + * ..., * }>, + * ..., * } $data */ public function __construct( diff --git a/examples/Generated/Query/Search/Data/SearchResultItemConnection/Node.php b/examples/Generated/Query/Search/Data/SearchResultItemConnection/Node.php index 2773707..e88308a 100644 --- a/examples/Generated/Query/Search/Data/SearchResultItemConnection/Node.php +++ b/examples/Generated/Query/Search/Data/SearchResultItemConnection/Node.php @@ -95,6 +95,7 @@ final class Node * 'merged'?: bool, * 'number'?: int, * 'title'?: string, + * ..., * } $data */ public function __construct( diff --git a/examples/Generated/Query/Search/Data/SearchResultItemConnection/Node/AsIssue.php b/examples/Generated/Query/Search/Data/SearchResultItemConnection/Node/AsIssue.php index 66a4508..bed3584 100644 --- a/examples/Generated/Query/Search/Data/SearchResultItemConnection/Node/AsIssue.php +++ b/examples/Generated/Query/Search/Data/SearchResultItemConnection/Node/AsIssue.php @@ -27,6 +27,7 @@ final class AsIssue * '__typename': 'Issue', * 'number': int, * 'title': string, + * ..., * } $data */ public function __construct( diff --git a/examples/Generated/Query/Search/Error.php b/examples/Generated/Query/Search/Error.php index f3b1684..49e435d 100644 --- a/examples/Generated/Query/Search/Error.php +++ b/examples/Generated/Query/Search/Error.php @@ -14,6 +14,7 @@ * @param array{ * 'debugMessage'?: string, * 'message': string, + * ..., * } $error */ public function __construct(array $error) diff --git a/examples/Generated/Query/Viewer/Data.php b/examples/Generated/Query/Viewer/Data.php index cd706c3..c7061a5 100644 --- a/examples/Generated/Query/Viewer/Data.php +++ b/examples/Generated/Query/Viewer/Data.php @@ -30,12 +30,15 @@ final class Data * @param array{ * 'viewer': array{ * 'login': string, + * ..., * }, + * ..., * } $data * @param list, * }> $errors */ public function __construct( diff --git a/examples/Generated/Query/Viewer/Data/Viewer.php b/examples/Generated/Query/Viewer/Data/Viewer.php index e927fd2..a9fc64a 100644 --- a/examples/Generated/Query/Viewer/Data/Viewer.php +++ b/examples/Generated/Query/Viewer/Data/Viewer.php @@ -20,6 +20,7 @@ final class Viewer /** * @param array{ * 'login': string, + * ..., * } $data */ public function __construct( diff --git a/examples/Generated/Query/Viewer/Error.php b/examples/Generated/Query/Viewer/Error.php index 481bd57..cd3247f 100644 --- a/examples/Generated/Query/Viewer/Error.php +++ b/examples/Generated/Query/Viewer/Error.php @@ -14,6 +14,7 @@ * @param array{ * 'debugMessage'?: string, * 'message': string, + * ..., * } $error */ public function __construct(array $error) diff --git a/examples/GitHubClient.php b/examples/GitHubClient.php index 91311a5..03f74e8 100644 --- a/examples/GitHubClient.php +++ b/examples/GitHubClient.php @@ -48,7 +48,7 @@ public function graphql(string $query, array $variables = [], ?string $operation Assert::same(200, $response->getStatusCode(), 'GraphQL server responded with a %2$s status code.'); - $data = json_decode((string) $response->getBody(), true, JSON_THROW_ON_ERROR); + $data = json_decode((string) $response->getBody(), true, 512, JSON_THROW_ON_ERROR); Assert::isArray($data, 'GraphQL server did not return an array.'); diff --git a/src/Generator/AbstractGenerator.php b/src/Generator/AbstractGenerator.php index 6a7ba05..c8fb4be 100644 --- a/src/Generator/AbstractGenerator.php +++ b/src/Generator/AbstractGenerator.php @@ -105,6 +105,6 @@ protected function buildHooksShape(array $usedHooks) : Type $shape[$name] = Type::object($this->config->hooks[$name]->class); } - return Type::arrayShape($shape); + return Type::arrayShape($shape, sealed: false); } } diff --git a/src/Generator/DataClassGenerator.php b/src/Generator/DataClassGenerator.php index 52ed293..20d9e13 100644 --- a/src/Generator/DataClassGenerator.php +++ b/src/Generator/DataClassGenerator.php @@ -179,9 +179,11 @@ private function dumpLoadersShape(array $batchedHooks, array $plansByFqcn, CodeG ); } - if ($entries === []) { - return 'array{}'; - } + // Unsealed: nested classes receive `$this->loaders` from the Data class, + // which holds every batched hook in the operation, not just the subset a + // single nested class consumes. Extras are typed wide; HookLoader's + // covariant template params let any specific instantiation fit here. + $entries[] = sprintf('..., mixed>>', $hookLoader); return sprintf("array{\n %s,\n}", implode(",\n ", $entries)); } @@ -552,7 +554,7 @@ public function generate(DataClassPlan $plan, array $plansByFqcn = []) : string if (isset($shape['__typename'])) { // Use a StringLiteralType for the __typename $shape['__typename'] = new StringLiteralType($possibleTypes[0]); - $payloadShape = SymfonyType::arrayShape($shape); + $payloadShape = SymfonyType::arrayShape($shape, sealed: false); } } @@ -1119,7 +1121,7 @@ function () use ($plan, $parentType, $nodesType, $fields, $isData, $isMutationDa 'type' => SymfonyType::string(), 'optional' => true, ], - ])), $generator->import(...)), + ], sealed: false)), $generator->import(...)), ); } diff --git a/src/Generator/ErrorClassGenerator.php b/src/Generator/ErrorClassGenerator.php index 89dc4fa..6e8db56 100644 --- a/src/Generator/ErrorClassGenerator.php +++ b/src/Generator/ErrorClassGenerator.php @@ -36,7 +36,7 @@ public function generate(ErrorClassPlan $plan) : string 'type' => Type::string(), 'optional' => true, ], - ]), $generator->import(...)))); + ], sealed: false), $generator->import(...)))); yield 'public function __construct(array $error)'; yield '{'; yield $generator->indent(function () { diff --git a/src/Generator/HookLoaderGenerator.php b/src/Generator/HookLoaderGenerator.php index 50b3209..8775480 100644 --- a/src/Generator/HookLoaderGenerator.php +++ b/src/Generator/HookLoaderGenerator.php @@ -32,8 +32,8 @@ public function generate() : string yield 'instance.'; yield ''; yield '@internal'; - yield '@template TInput'; - yield '@template TResult'; + yield '@template-covariant TInput'; + yield '@template-covariant TResult'; }); yield 'final class HookLoader'; yield '{'; diff --git a/src/Planner/FieldCollection.php b/src/Planner/FieldCollection.php index ebdbd72..42ebc95 100644 --- a/src/Planner/FieldCollection.php +++ b/src/Planner/FieldCollection.php @@ -30,6 +30,6 @@ public function get(string $name) : SymfonyType public function toArrayShape() : SymfonyType { - return SymfonyType::arrayShape($this->fields); + return SymfonyType::arrayShape($this->fields, sealed: false); } } diff --git a/src/Planner/PayloadShape.php b/src/Planner/PayloadShape.php index 392fb8c..e655844 100644 --- a/src/Planner/PayloadShape.php +++ b/src/Planner/PayloadShape.php @@ -93,7 +93,7 @@ public function merge(PayloadShape $other, bool $asOptional = false) : self $existingType->getShape(), $type->getShape(), ); - $this->replaceType($key, SymfonyType::arrayShape($mergedElements)); + $this->replaceType($key, SymfonyType::arrayShape($mergedElements, sealed: false)); continue; } @@ -108,7 +108,7 @@ public function merge(PayloadShape $other, bool $asOptional = false) : self $existingInner->getShape(), $newInner->getShape(), ); - $this->replaceType($key, SymfonyType::list(SymfonyType::arrayShape($mergedElements))); + $this->replaceType($key, SymfonyType::list(SymfonyType::arrayShape($mergedElements, sealed: false))); } } @@ -128,6 +128,6 @@ public function merge(PayloadShape $other, bool $asOptional = false) : self public function toArrayShape() : SymfonyType { - return SymfonyType::arrayShape($this->shape); + return SymfonyType::arrayShape($this->shape, sealed: false); } } diff --git a/src/Type/TypeDumper.php b/src/Type/TypeDumper.php index d8f4dfd..6b9a7ae 100644 --- a/src/Type/TypeDumper.php +++ b/src/Type/TypeDumper.php @@ -39,6 +39,21 @@ public static function dump(Type $type, ?callable $importer = null, int $indenta $items[] = sprintf('%s: %s', $itemKey, self::dump($itemType, $importer, $indentation + 1)); } + if ( ! $type->isSealed()) { + $extraKey = $type->getExtraKeyType(); + $extraValue = $type->getExtraValueType(); + + // Always emit `...` rather than the bare `...` short form: + // PHPStan's `missingType.iterableValue` rule at level 6+ rejects + // the implicit `array-key, mixed` extras, treating them as a + // missing iterable value type. + $items[] = sprintf( + '...<%s, %s>', + self::dump($extraKey ?? Type::arrayKey(), $importer, $indentation + 1), + self::dump($extraValue ?? Type::mixed(), $importer, $indentation + 1), + ); + } + if ($items === []) { return 'array{}'; } diff --git a/tests/ConnectionNames/Generated/Query/Test/Data.php b/tests/ConnectionNames/Generated/Query/Test/Data.php index b3b3719..211b579 100644 --- a/tests/ConnectionNames/Generated/Query/Test/Data.php +++ b/tests/ConnectionNames/Generated/Query/Test/Data.php @@ -33,26 +33,33 @@ final class Data * 'id': string, * 'name': string, * 'status': string, + * ..., * }, + * ..., * }>, * 'pageInfo': array{ * 'endCursor': null|string, * 'hasNextPage': bool, * 'hasPreviousPage': bool, * 'startCursor': null|string, + * ..., * }, + * ..., * }, * 'viewer': null|array{ * 'createdAt': scalar, * 'id': string, * 'name': string, * 'role': string, + * ..., * }, + * ..., * } $data * @param list, * }> $errors */ public function __construct( diff --git a/tests/ConnectionNames/Generated/Query/Test/Data/ProjectConnection.php b/tests/ConnectionNames/Generated/Query/Test/Data/ProjectConnection.php index 4fa9365..eb0c53d 100644 --- a/tests/ConnectionNames/Generated/Query/Test/Data/ProjectConnection.php +++ b/tests/ConnectionNames/Generated/Query/Test/Data/ProjectConnection.php @@ -30,14 +30,18 @@ final class ProjectConnection * 'id': string, * 'name': string, * 'status': string, + * ..., * }, + * ..., * }>, * 'pageInfo': array{ * 'endCursor': null|string, * 'hasNextPage': bool, * 'hasPreviousPage': bool, * 'startCursor': null|string, + * ..., * }, + * ..., * } $data */ public function __construct( diff --git a/tests/ConnectionNames/Generated/Query/Test/Data/ProjectConnection/PageInfo.php b/tests/ConnectionNames/Generated/Query/Test/Data/ProjectConnection/PageInfo.php index 5f068ff..b0b2c91 100644 --- a/tests/ConnectionNames/Generated/Query/Test/Data/ProjectConnection/PageInfo.php +++ b/tests/ConnectionNames/Generated/Query/Test/Data/ProjectConnection/PageInfo.php @@ -30,6 +30,7 @@ final class PageInfo * 'hasNextPage': bool, * 'hasPreviousPage': bool, * 'startCursor': null|string, + * ..., * } $data */ public function __construct( diff --git a/tests/ConnectionNames/Generated/Query/Test/Data/ProjectConnection/ProjectEdge.php b/tests/ConnectionNames/Generated/Query/Test/Data/ProjectConnection/ProjectEdge.php index dba9ddd..c4fc2ec 100644 --- a/tests/ConnectionNames/Generated/Query/Test/Data/ProjectConnection/ProjectEdge.php +++ b/tests/ConnectionNames/Generated/Query/Test/Data/ProjectConnection/ProjectEdge.php @@ -25,7 +25,9 @@ final class ProjectEdge * 'id': string, * 'name': string, * 'status': string, + * ..., * }, + * ..., * } $data */ public function __construct( diff --git a/tests/ConnectionNames/Generated/Query/Test/Data/ProjectConnection/ProjectEdge/Project.php b/tests/ConnectionNames/Generated/Query/Test/Data/ProjectConnection/ProjectEdge/Project.php index 6ca451d..cc79671 100644 --- a/tests/ConnectionNames/Generated/Query/Test/Data/ProjectConnection/ProjectEdge/Project.php +++ b/tests/ConnectionNames/Generated/Query/Test/Data/ProjectConnection/ProjectEdge/Project.php @@ -27,6 +27,7 @@ final class Project * 'id': string, * 'name': string, * 'status': string, + * ..., * } $data */ public function __construct( diff --git a/tests/ConnectionNames/Generated/Query/Test/Data/Viewer.php b/tests/ConnectionNames/Generated/Query/Test/Data/Viewer.php index 07ca263..11d658d 100644 --- a/tests/ConnectionNames/Generated/Query/Test/Data/Viewer.php +++ b/tests/ConnectionNames/Generated/Query/Test/Data/Viewer.php @@ -32,6 +32,7 @@ final class Viewer * 'id': string, * 'name': string, * 'role': string, + * ..., * } $data */ public function __construct( diff --git a/tests/ConnectionNames/Generated/Query/Test/Error.php b/tests/ConnectionNames/Generated/Query/Test/Error.php index bf6c8fb..80d17b1 100644 --- a/tests/ConnectionNames/Generated/Query/Test/Error.php +++ b/tests/ConnectionNames/Generated/Query/Test/Error.php @@ -14,6 +14,7 @@ * @param array{ * 'debugMessage'?: string, * 'message': string, + * ..., * } $error */ public function __construct(array $error) diff --git a/tests/DumpDefinitions/Generated/Query/Test/Data.php b/tests/DumpDefinitions/Generated/Query/Test/Data.php index bea0481..75ef5c6 100644 --- a/tests/DumpDefinitions/Generated/Query/Test/Data.php +++ b/tests/DumpDefinitions/Generated/Query/Test/Data.php @@ -37,13 +37,17 @@ final class Data * 'projects': list, * }>, + * ..., * }, + * ..., * } $data * @param list, * }> $errors */ public function __construct( diff --git a/tests/DumpDefinitions/Generated/Query/Test/Data/Viewer.php b/tests/DumpDefinitions/Generated/Query/Test/Data/Viewer.php index c49ed57..b516f7a 100644 --- a/tests/DumpDefinitions/Generated/Query/Test/Data/Viewer.php +++ b/tests/DumpDefinitions/Generated/Query/Test/Data/Viewer.php @@ -36,7 +36,9 @@ final class Viewer * 'projects': list, * }>, + * ..., * } $data */ public function __construct( diff --git a/tests/DumpDefinitions/Generated/Query/Test/Data/Viewer/Project.php b/tests/DumpDefinitions/Generated/Query/Test/Data/Viewer/Project.php index 0419ac5..2fc54fa 100644 --- a/tests/DumpDefinitions/Generated/Query/Test/Data/Viewer/Project.php +++ b/tests/DumpDefinitions/Generated/Query/Test/Data/Viewer/Project.php @@ -26,6 +26,7 @@ final class Project * @param array{ * 'description': null|string, * 'name': string, + * ..., * } $data */ public function __construct( diff --git a/tests/DumpDefinitions/Generated/Query/Test/Error.php b/tests/DumpDefinitions/Generated/Query/Test/Error.php index c340a35..261fa68 100644 --- a/tests/DumpDefinitions/Generated/Query/Test/Error.php +++ b/tests/DumpDefinitions/Generated/Query/Test/Error.php @@ -14,6 +14,7 @@ * @param array{ * 'debugMessage'?: string, * 'message': string, + * ..., * } $error */ public function __construct(array $error) diff --git a/tests/DumpOrThrows/Generated/Query/Test/Data.php b/tests/DumpOrThrows/Generated/Query/Test/Data.php index 911dd9f..a60e036 100644 --- a/tests/DumpOrThrows/Generated/Query/Test/Data.php +++ b/tests/DumpOrThrows/Generated/Query/Test/Data.php @@ -26,13 +26,17 @@ final class Data * 'projects': list, * }>, + * ..., * }, + * ..., * } $data * @param list, * }> $errors */ public function __construct( diff --git a/tests/DumpOrThrows/Generated/Query/Test/Data/Viewer.php b/tests/DumpOrThrows/Generated/Query/Test/Data/Viewer.php index 90d059c..90782b0 100644 --- a/tests/DumpOrThrows/Generated/Query/Test/Data/Viewer.php +++ b/tests/DumpOrThrows/Generated/Query/Test/Data/Viewer.php @@ -27,7 +27,9 @@ final class Viewer * 'projects': list, * }>, + * ..., * } $data */ public function __construct( diff --git a/tests/DumpOrThrows/Generated/Query/Test/Data/Viewer/Project.php b/tests/DumpOrThrows/Generated/Query/Test/Data/Viewer/Project.php index 37d0bb9..2b713d2 100644 --- a/tests/DumpOrThrows/Generated/Query/Test/Data/Viewer/Project.php +++ b/tests/DumpOrThrows/Generated/Query/Test/Data/Viewer/Project.php @@ -29,6 +29,7 @@ final class Project * @param array{ * 'description': null|string, * 'name': string, + * ..., * } $data */ public function __construct( diff --git a/tests/DumpOrThrows/Generated/Query/Test/Error.php b/tests/DumpOrThrows/Generated/Query/Test/Error.php index bf991d0..f2ce09d 100644 --- a/tests/DumpOrThrows/Generated/Query/Test/Error.php +++ b/tests/DumpOrThrows/Generated/Query/Test/Error.php @@ -14,6 +14,7 @@ * @param array{ * 'debugMessage'?: string, * 'message': string, + * ..., * } $error */ public function __construct(array $error) diff --git a/tests/Enum/Generated/Query/Test/Data.php b/tests/Enum/Generated/Query/Test/Data.php index 224cb30..6953cc1 100644 --- a/tests/Enum/Generated/Query/Test/Data.php +++ b/tests/Enum/Generated/Query/Test/Data.php @@ -39,11 +39,13 @@ final class Data * 'otherRole': null|string, * 'priority': null|string, * 'role': null|string, + * ..., * } $data * @param list, * }> $errors */ public function __construct( diff --git a/tests/Enum/Generated/Query/Test/Error.php b/tests/Enum/Generated/Query/Test/Error.php index fe52adb..bf1b2d3 100644 --- a/tests/Enum/Generated/Query/Test/Error.php +++ b/tests/Enum/Generated/Query/Test/Error.php @@ -14,6 +14,7 @@ * @param array{ * 'debugMessage'?: string, * 'message': string, + * ..., * } $error */ public function __construct(array $error) diff --git a/tests/EnumDumpIsMethods/Generated/Query/Test/Data.php b/tests/EnumDumpIsMethods/Generated/Query/Test/Data.php index 7858365..9e273b2 100644 --- a/tests/EnumDumpIsMethods/Generated/Query/Test/Data.php +++ b/tests/EnumDumpIsMethods/Generated/Query/Test/Data.php @@ -39,11 +39,13 @@ final class Data * 'otherRole': null|string, * 'priority': null|string, * 'role': null|string, + * ..., * } $data * @param list, * }> $errors */ public function __construct( diff --git a/tests/EnumDumpIsMethods/Generated/Query/Test/Error.php b/tests/EnumDumpIsMethods/Generated/Query/Test/Error.php index b974af6..96a4d17 100644 --- a/tests/EnumDumpIsMethods/Generated/Query/Test/Error.php +++ b/tests/EnumDumpIsMethods/Generated/Query/Test/Error.php @@ -14,6 +14,7 @@ * @param array{ * 'debugMessage'?: string, * 'message': string, + * ..., * } $error */ public function __construct(array $error) diff --git a/tests/ExplicitTypename/Generated/Fragment/UserDetails.php b/tests/ExplicitTypename/Generated/Fragment/UserDetails.php index 1db152b..3420249 100644 --- a/tests/ExplicitTypename/Generated/Fragment/UserDetails.php +++ b/tests/ExplicitTypename/Generated/Fragment/UserDetails.php @@ -15,6 +15,7 @@ final class UserDetails /** * @param array{ * 'login': string, + * ..., * } $data */ public function __construct( diff --git a/tests/ExplicitTypename/Generated/Query/Test/Data.php b/tests/ExplicitTypename/Generated/Query/Test/Data.php index ea3ac09..dd09f6b 100644 --- a/tests/ExplicitTypename/Generated/Query/Test/Data.php +++ b/tests/ExplicitTypename/Generated/Query/Test/Data.php @@ -26,12 +26,15 @@ final class Data * 'login'?: string, * 'name': string, * 'url'?: string, + * ..., * }, + * ..., * } $data * @param list, * }> $errors */ public function __construct( diff --git a/tests/ExplicitTypename/Generated/Query/Test/Data/Viewer.php b/tests/ExplicitTypename/Generated/Query/Test/Data/Viewer.php index 85b9b1c..6cae011 100644 --- a/tests/ExplicitTypename/Generated/Query/Test/Data/Viewer.php +++ b/tests/ExplicitTypename/Generated/Query/Test/Data/Viewer.php @@ -81,6 +81,7 @@ final class Viewer * 'login'?: string, * 'name': string, * 'url'?: string, + * ..., * } $data */ public function __construct( diff --git a/tests/ExplicitTypename/Generated/Query/Test/Data/Viewer/AsApplication.php b/tests/ExplicitTypename/Generated/Query/Test/Data/Viewer/AsApplication.php index 369d0f0..b7a0513 100644 --- a/tests/ExplicitTypename/Generated/Query/Test/Data/Viewer/AsApplication.php +++ b/tests/ExplicitTypename/Generated/Query/Test/Data/Viewer/AsApplication.php @@ -25,6 +25,7 @@ final class AsApplication * '__typename': 'Application', * 'name': string, * 'url': string, + * ..., * } $data */ public function __construct( diff --git a/tests/ExplicitTypename/Generated/Query/Test/Error.php b/tests/ExplicitTypename/Generated/Query/Test/Error.php index 1a8617e..de14504 100644 --- a/tests/ExplicitTypename/Generated/Query/Test/Error.php +++ b/tests/ExplicitTypename/Generated/Query/Test/Error.php @@ -14,6 +14,7 @@ * @param array{ * 'debugMessage'?: string, * 'message': string, + * ..., * } $error */ public function __construct(array $error) diff --git a/tests/FragmentIsolation/Generated/Fragment/AdminViewSystemShowWorkflow.php b/tests/FragmentIsolation/Generated/Fragment/AdminViewSystemShowWorkflow.php index bba5c69..4a0d79d 100644 --- a/tests/FragmentIsolation/Generated/Fragment/AdminViewSystemShowWorkflow.php +++ b/tests/FragmentIsolation/Generated/Fragment/AdminViewSystemShowWorkflow.php @@ -29,10 +29,15 @@ final class AdminViewSystemShowWorkflow * 'id': scalar, * 'transfer': array{ * 'metadata': scalar, + * ..., * }, + * ..., * }>, + * ..., * }>, + * ..., * }, + * ..., * } $data */ public function __construct( diff --git a/tests/FragmentIsolation/Generated/Fragment/AdminViewSystemShowWorkflow/Transaction.php b/tests/FragmentIsolation/Generated/Fragment/AdminViewSystemShowWorkflow/Transaction.php index c051f5f..b3800fc 100644 --- a/tests/FragmentIsolation/Generated/Fragment/AdminViewSystemShowWorkflow/Transaction.php +++ b/tests/FragmentIsolation/Generated/Fragment/AdminViewSystemShowWorkflow/Transaction.php @@ -26,9 +26,13 @@ final class Transaction * 'id': scalar, * 'transfer': array{ * 'metadata': scalar, + * ..., * }, + * ..., * }>, + * ..., * }>, + * ..., * } $data */ public function __construct( diff --git a/tests/FragmentIsolation/Generated/Fragment/AdminViewSystemShowWorkflow/Transaction/Transfer.php b/tests/FragmentIsolation/Generated/Fragment/AdminViewSystemShowWorkflow/Transaction/Transfer.php index 214d826..46f3c4a 100644 --- a/tests/FragmentIsolation/Generated/Fragment/AdminViewSystemShowWorkflow/Transaction/Transfer.php +++ b/tests/FragmentIsolation/Generated/Fragment/AdminViewSystemShowWorkflow/Transaction/Transfer.php @@ -34,8 +34,11 @@ final class Transfer * 'id': scalar, * 'transfer': array{ * 'metadata': scalar, + * ..., * }, + * ..., * }>, + * ..., * } $data */ public function __construct( diff --git a/tests/FragmentIsolation/Generated/Fragment/AdminViewSystemShowWorkflow/Transaction/Transfer/TransferReversal.php b/tests/FragmentIsolation/Generated/Fragment/AdminViewSystemShowWorkflow/Transaction/Transfer/TransferReversal.php index 58a2a59..d14ef15 100644 --- a/tests/FragmentIsolation/Generated/Fragment/AdminViewSystemShowWorkflow/Transaction/Transfer/TransferReversal.php +++ b/tests/FragmentIsolation/Generated/Fragment/AdminViewSystemShowWorkflow/Transaction/Transfer/TransferReversal.php @@ -18,7 +18,9 @@ final class TransferReversal * @param array{ * 'transfer': array{ * 'metadata': scalar, + * ..., * }, + * ..., * } $data */ public function __construct( diff --git a/tests/FragmentIsolation/Generated/Fragment/AdminViewSystemTransferReversalRow.php b/tests/FragmentIsolation/Generated/Fragment/AdminViewSystemTransferReversalRow.php index abbc809..2bf62c7 100644 --- a/tests/FragmentIsolation/Generated/Fragment/AdminViewSystemTransferReversalRow.php +++ b/tests/FragmentIsolation/Generated/Fragment/AdminViewSystemTransferReversalRow.php @@ -18,7 +18,9 @@ final class AdminViewSystemTransferReversalRow * @param array{ * 'transfer': array{ * 'metadata': scalar, + * ..., * }, + * ..., * } $data */ public function __construct( diff --git a/tests/FragmentIsolation/Generated/Fragment/AdminViewSystemTransferReversalRow/Transfer.php b/tests/FragmentIsolation/Generated/Fragment/AdminViewSystemTransferReversalRow/Transfer.php index 045d06f..6033c68 100644 --- a/tests/FragmentIsolation/Generated/Fragment/AdminViewSystemTransferReversalRow/Transfer.php +++ b/tests/FragmentIsolation/Generated/Fragment/AdminViewSystemTransferReversalRow/Transfer.php @@ -15,6 +15,7 @@ final class Transfer /** * @param array{ * 'metadata': scalar, + * ..., * } $data */ public function __construct( diff --git a/tests/FragmentIsolation/Generated/Fragment/AdminViewSystemTransferRow.php b/tests/FragmentIsolation/Generated/Fragment/AdminViewSystemTransferRow.php index aa04a3b..580edc0 100644 --- a/tests/FragmentIsolation/Generated/Fragment/AdminViewSystemTransferRow.php +++ b/tests/FragmentIsolation/Generated/Fragment/AdminViewSystemTransferRow.php @@ -21,7 +21,9 @@ final class AdminViewSystemTransferRow * 'canBeCollected': bool, * 'transferReversals': list, * }>, + * ..., * } $data */ public function __construct( diff --git a/tests/FragmentIsolation/Generated/Fragment/AdminViewSystemTransferState.php b/tests/FragmentIsolation/Generated/Fragment/AdminViewSystemTransferState.php index f28fd47..47bd579 100644 --- a/tests/FragmentIsolation/Generated/Fragment/AdminViewSystemTransferState.php +++ b/tests/FragmentIsolation/Generated/Fragment/AdminViewSystemTransferState.php @@ -21,7 +21,9 @@ final class AdminViewSystemTransferState * @param array{ * 'transferReversals': list, * }>, + * ..., * } $data */ public function __construct( diff --git a/tests/FragmentIsolation/Generated/Fragment/AdminViewSystemTransferState/TransferReversal.php b/tests/FragmentIsolation/Generated/Fragment/AdminViewSystemTransferState/TransferReversal.php index 08b5523..06f981a 100644 --- a/tests/FragmentIsolation/Generated/Fragment/AdminViewSystemTransferState/TransferReversal.php +++ b/tests/FragmentIsolation/Generated/Fragment/AdminViewSystemTransferState/TransferReversal.php @@ -15,6 +15,7 @@ final class TransferReversal /** * @param array{ * 'id': scalar, + * ..., * } $data */ public function __construct( diff --git a/tests/FragmentIsolation/Generated/Query/GetWorkflowForAdmin/Data.php b/tests/FragmentIsolation/Generated/Query/GetWorkflowForAdmin/Data.php index 312ce69..cbd3680 100644 --- a/tests/FragmentIsolation/Generated/Query/GetWorkflowForAdmin/Data.php +++ b/tests/FragmentIsolation/Generated/Query/GetWorkflowForAdmin/Data.php @@ -28,22 +28,30 @@ final class Data * 'canBeCollected': bool, * 'customer': array{ * 'id': scalar, + * ..., * }, * 'id': scalar, * 'transferReversals': list, * }, + * ..., * }>, + * ..., * }>, + * ..., * }, + * ..., * }, + * ..., * } $data * @param list, * }> $errors */ public function __construct( diff --git a/tests/FragmentIsolation/Generated/Query/GetWorkflowForAdmin/Data/Workflow.php b/tests/FragmentIsolation/Generated/Query/GetWorkflowForAdmin/Data/Workflow.php index f0a84e1..6a0616b 100644 --- a/tests/FragmentIsolation/Generated/Query/GetWorkflowForAdmin/Data/Workflow.php +++ b/tests/FragmentIsolation/Generated/Query/GetWorkflowForAdmin/Data/Workflow.php @@ -27,16 +27,22 @@ final class Workflow * 'canBeCollected': bool, * 'customer': array{ * 'id': scalar, + * ..., * }, * 'id': scalar, * 'transferReversals': list, * }, + * ..., * }>, + * ..., * }>, + * ..., * }, + * ..., * } $data */ public function __construct( diff --git a/tests/FragmentIsolation/Generated/Query/GetWorkflowForAdmin/Data/Workflow/Transaction.php b/tests/FragmentIsolation/Generated/Query/GetWorkflowForAdmin/Data/Workflow/Transaction.php index 126d203..be97bd7 100644 --- a/tests/FragmentIsolation/Generated/Query/GetWorkflowForAdmin/Data/Workflow/Transaction.php +++ b/tests/FragmentIsolation/Generated/Query/GetWorkflowForAdmin/Data/Workflow/Transaction.php @@ -22,9 +22,12 @@ final class Transaction * 'transfers': list, * }, * 'id': scalar, + * ..., * }>, + * ..., * } $data */ public function __construct( diff --git a/tests/FragmentIsolation/Generated/Query/GetWorkflowForAdmin/Data/Workflow/Transaction/Transfer.php b/tests/FragmentIsolation/Generated/Query/GetWorkflowForAdmin/Data/Workflow/Transaction/Transfer.php index 2e9033e..846cc61 100644 --- a/tests/FragmentIsolation/Generated/Query/GetWorkflowForAdmin/Data/Workflow/Transaction/Transfer.php +++ b/tests/FragmentIsolation/Generated/Query/GetWorkflowForAdmin/Data/Workflow/Transaction/Transfer.php @@ -22,8 +22,10 @@ final class Transfer * @param array{ * 'customer': array{ * 'id': scalar, + * ..., * }, * 'id': scalar, + * ..., * } $data */ public function __construct( diff --git a/tests/FragmentIsolation/Generated/Query/GetWorkflowForAdmin/Data/Workflow/Transaction/Transfer/Customer.php b/tests/FragmentIsolation/Generated/Query/GetWorkflowForAdmin/Data/Workflow/Transaction/Transfer/Customer.php index b81db99..02e14e7 100644 --- a/tests/FragmentIsolation/Generated/Query/GetWorkflowForAdmin/Data/Workflow/Transaction/Transfer/Customer.php +++ b/tests/FragmentIsolation/Generated/Query/GetWorkflowForAdmin/Data/Workflow/Transaction/Transfer/Customer.php @@ -15,6 +15,7 @@ final class Customer /** * @param array{ * 'id': scalar, + * ..., * } $data */ public function __construct( diff --git a/tests/FragmentIsolation/Generated/Query/GetWorkflowForAdmin/Error.php b/tests/FragmentIsolation/Generated/Query/GetWorkflowForAdmin/Error.php index 5a96826..4440c19 100644 --- a/tests/FragmentIsolation/Generated/Query/GetWorkflowForAdmin/Error.php +++ b/tests/FragmentIsolation/Generated/Query/GetWorkflowForAdmin/Error.php @@ -14,6 +14,7 @@ * @param array{ * 'debugMessage'?: string, * 'message': string, + * ..., * } $error */ public function __construct(array $error) diff --git a/tests/FragmentSpreadBug/Generated/Fragment/TransferDetails.php b/tests/FragmentSpreadBug/Generated/Fragment/TransferDetails.php index 047d5b3..de525c7 100644 --- a/tests/FragmentSpreadBug/Generated/Fragment/TransferDetails.php +++ b/tests/FragmentSpreadBug/Generated/Fragment/TransferDetails.php @@ -37,6 +37,7 @@ final class TransferDetails * 'total': array{ * 'amount': string, * 'currency': string, + * ..., * }, * 'transferReversals': list, * }, + * ..., * }>, * 'returnMethod': null|string, * 'returnedAt': null|string, @@ -55,8 +58,11 @@ final class TransferDetails * 'total': array{ * 'amount': string, * 'currency': string, + * ..., * }, + * ..., * }>, + * ..., * } $data */ public function __construct( diff --git a/tests/FragmentSpreadBug/Generated/Fragment/TransferDetails/Total.php b/tests/FragmentSpreadBug/Generated/Fragment/TransferDetails/Total.php index ad0f1a2..d4281a1 100644 --- a/tests/FragmentSpreadBug/Generated/Fragment/TransferDetails/Total.php +++ b/tests/FragmentSpreadBug/Generated/Fragment/TransferDetails/Total.php @@ -20,6 +20,7 @@ final class Total * @param array{ * 'amount': string, * 'currency': string, + * ..., * } $data */ public function __construct( diff --git a/tests/FragmentSpreadBug/Generated/Fragment/TransferDetails/TransferReversal.php b/tests/FragmentSpreadBug/Generated/Fragment/TransferDetails/TransferReversal.php index 53a00d6..cdfa576 100644 --- a/tests/FragmentSpreadBug/Generated/Fragment/TransferDetails/TransferReversal.php +++ b/tests/FragmentSpreadBug/Generated/Fragment/TransferDetails/TransferReversal.php @@ -24,7 +24,9 @@ final class TransferReversal * 'total': array{ * 'amount': string, * 'currency': string, + * ..., * }, + * ..., * }>, * 'returnMethod': null|string, * 'returnedAt': null|string, @@ -32,7 +34,9 @@ final class TransferReversal * 'total': array{ * 'amount': string, * 'currency': string, + * ..., * }, + * ..., * } $data */ public function __construct( diff --git a/tests/FragmentSpreadBug/Generated/Fragment/TransferReversalDetails.php b/tests/FragmentSpreadBug/Generated/Fragment/TransferReversalDetails.php index 4a80702..a70f164 100644 --- a/tests/FragmentSpreadBug/Generated/Fragment/TransferReversalDetails.php +++ b/tests/FragmentSpreadBug/Generated/Fragment/TransferReversalDetails.php @@ -52,7 +52,9 @@ final class TransferReversalDetails * 'total': array{ * 'amount': string, * 'currency': string, + * ..., * }, + * ..., * }>, * 'returnMethod': null|string, * 'returnedAt': null|string, @@ -60,7 +62,9 @@ final class TransferReversalDetails * 'total': array{ * 'amount': string, * 'currency': string, + * ..., * }, + * ..., * } $data */ public function __construct( diff --git a/tests/FragmentSpreadBug/Generated/Fragment/TransferReversalDetails/Resolution.php b/tests/FragmentSpreadBug/Generated/Fragment/TransferReversalDetails/Resolution.php index 6ccb383..319050d 100644 --- a/tests/FragmentSpreadBug/Generated/Fragment/TransferReversalDetails/Resolution.php +++ b/tests/FragmentSpreadBug/Generated/Fragment/TransferReversalDetails/Resolution.php @@ -29,7 +29,9 @@ final class Resolution * 'total': array{ * 'amount': string, * 'currency': string, + * ..., * }, + * ..., * } $data */ public function __construct( diff --git a/tests/FragmentSpreadBug/Generated/Fragment/TransferReversalDetails/Resolution/Total.php b/tests/FragmentSpreadBug/Generated/Fragment/TransferReversalDetails/Resolution/Total.php index cd21838..c9ef451 100644 --- a/tests/FragmentSpreadBug/Generated/Fragment/TransferReversalDetails/Resolution/Total.php +++ b/tests/FragmentSpreadBug/Generated/Fragment/TransferReversalDetails/Resolution/Total.php @@ -20,6 +20,7 @@ final class Total * @param array{ * 'amount': string, * 'currency': string, + * ..., * } $data */ public function __construct( diff --git a/tests/FragmentSpreadBug/Generated/Fragment/TransferReversalDetails/Total.php b/tests/FragmentSpreadBug/Generated/Fragment/TransferReversalDetails/Total.php index 33bba85..b225901 100644 --- a/tests/FragmentSpreadBug/Generated/Fragment/TransferReversalDetails/Total.php +++ b/tests/FragmentSpreadBug/Generated/Fragment/TransferReversalDetails/Total.php @@ -20,6 +20,7 @@ final class Total * @param array{ * 'amount': string, * 'currency': string, + * ..., * } $data */ public function __construct( diff --git a/tests/FragmentSpreadBug/Generated/Query/GetTransactionDetails/Data.php b/tests/FragmentSpreadBug/Generated/Query/GetTransactionDetails/Data.php index d36fda0..d38624f 100644 --- a/tests/FragmentSpreadBug/Generated/Query/GetTransactionDetails/Data.php +++ b/tests/FragmentSpreadBug/Generated/Query/GetTransactionDetails/Data.php @@ -31,6 +31,7 @@ final class Data * 'total': array{ * 'amount': string, * 'currency': string, + * ..., * }, * 'transferReversals': list, * }, + * ..., * }>, * 'returnMethod': null|string, * 'returnedAt': null|string, @@ -49,15 +52,21 @@ final class Data * 'total': array{ * 'amount': string, * 'currency': string, + * ..., * }, + * ..., * }>, + * ..., * }>, + * ..., * }, + * ..., * } $data * @param list, * }> $errors */ public function __construct( diff --git a/tests/FragmentSpreadBug/Generated/Query/GetTransactionDetails/Data/Transaction.php b/tests/FragmentSpreadBug/Generated/Query/GetTransactionDetails/Data/Transaction.php index 6dbcdfa..3e02254 100644 --- a/tests/FragmentSpreadBug/Generated/Query/GetTransactionDetails/Data/Transaction.php +++ b/tests/FragmentSpreadBug/Generated/Query/GetTransactionDetails/Data/Transaction.php @@ -36,6 +36,7 @@ final class Transaction * 'total': array{ * 'amount': string, * 'currency': string, + * ..., * }, * 'transferReversals': list, * }, + * ..., * }>, * 'returnMethod': null|string, * 'returnedAt': null|string, @@ -54,9 +57,13 @@ final class Transaction * 'total': array{ * 'amount': string, * 'currency': string, + * ..., * }, + * ..., * }>, + * ..., * }>, + * ..., * } $data */ public function __construct( diff --git a/tests/FragmentSpreadBug/Generated/Query/GetTransactionDetails/Data/Transaction/Transfer.php b/tests/FragmentSpreadBug/Generated/Query/GetTransactionDetails/Data/Transaction/Transfer.php index e2a1d7d..d76d31f 100644 --- a/tests/FragmentSpreadBug/Generated/Query/GetTransactionDetails/Data/Transaction/Transfer.php +++ b/tests/FragmentSpreadBug/Generated/Query/GetTransactionDetails/Data/Transaction/Transfer.php @@ -38,6 +38,7 @@ final class Transfer * 'total': array{ * 'amount': string, * 'currency': string, + * ..., * }, * 'transferReversals': list, * }, + * ..., * }>, * 'returnMethod': null|string, * 'returnedAt': null|string, @@ -56,8 +59,11 @@ final class Transfer * 'total': array{ * 'amount': string, * 'currency': string, + * ..., * }, + * ..., * }>, + * ..., * } $data */ public function __construct( diff --git a/tests/FragmentSpreadBug/Generated/Query/GetTransactionDetails/Data/Transaction/Transfer/TransferReversal.php b/tests/FragmentSpreadBug/Generated/Query/GetTransactionDetails/Data/Transaction/Transfer/TransferReversal.php index 89608f9..07ca2bf 100644 --- a/tests/FragmentSpreadBug/Generated/Query/GetTransactionDetails/Data/Transaction/Transfer/TransferReversal.php +++ b/tests/FragmentSpreadBug/Generated/Query/GetTransactionDetails/Data/Transaction/Transfer/TransferReversal.php @@ -20,6 +20,7 @@ final class TransferReversal * @param array{ * 'id': string, * 'state': string, + * ..., * } $data */ public function __construct( diff --git a/tests/FragmentSpreadBug/Generated/Query/GetTransactionDetails/Error.php b/tests/FragmentSpreadBug/Generated/Query/GetTransactionDetails/Error.php index 7aa952b..f4444f8 100644 --- a/tests/FragmentSpreadBug/Generated/Query/GetTransactionDetails/Error.php +++ b/tests/FragmentSpreadBug/Generated/Query/GetTransactionDetails/Error.php @@ -14,6 +14,7 @@ * @param array{ * 'debugMessage'?: string, * 'message': string, + * ..., * } $error */ public function __construct(array $error) diff --git a/tests/Fragments/Generated/Fragment/ApplicationDetails.php b/tests/Fragments/Generated/Fragment/ApplicationDetails.php index 35ec68d..2e71d07 100644 --- a/tests/Fragments/Generated/Fragment/ApplicationDetails.php +++ b/tests/Fragments/Generated/Fragment/ApplicationDetails.php @@ -15,6 +15,7 @@ final class ApplicationDetails /** * @param array{ * 'url': string, + * ..., * } $data */ public function __construct( diff --git a/tests/Fragments/Generated/Fragment/ProjectStateView.php b/tests/Fragments/Generated/Fragment/ProjectStateView.php index 8e9d024..d46ea63 100644 --- a/tests/Fragments/Generated/Fragment/ProjectStateView.php +++ b/tests/Fragments/Generated/Fragment/ProjectStateView.php @@ -15,6 +15,7 @@ final class ProjectStateView /** * @param array{ * 'state': null|string, + * ..., * } $data */ public function __construct( diff --git a/tests/Fragments/Generated/Fragment/ProjectView.php b/tests/Fragments/Generated/Fragment/ProjectView.php index 75851d5..a01e964 100644 --- a/tests/Fragments/Generated/Fragment/ProjectView.php +++ b/tests/Fragments/Generated/Fragment/ProjectView.php @@ -25,6 +25,7 @@ final class ProjectView * 'description': null|string, * 'name': string, * 'state': null|string, + * ..., * } $data */ public function __construct( diff --git a/tests/Fragments/Generated/Fragment/UserDetails.php b/tests/Fragments/Generated/Fragment/UserDetails.php index 3b1df6a..11a76f6 100644 --- a/tests/Fragments/Generated/Fragment/UserDetails.php +++ b/tests/Fragments/Generated/Fragment/UserDetails.php @@ -15,6 +15,7 @@ final class UserDetails /** * @param array{ * 'login': string, + * ..., * } $data */ public function __construct( diff --git a/tests/Fragments/Generated/Fragment/ViewerName.php b/tests/Fragments/Generated/Fragment/ViewerName.php index f5793b9..8e686a9 100644 --- a/tests/Fragments/Generated/Fragment/ViewerName.php +++ b/tests/Fragments/Generated/Fragment/ViewerName.php @@ -15,6 +15,7 @@ final class ViewerName /** * @param array{ * 'name': string, + * ..., * } $data */ public function __construct( diff --git a/tests/Fragments/Generated/Query/Test/Data.php b/tests/Fragments/Generated/Query/Test/Data.php index 33e1473..5200d2f 100644 --- a/tests/Fragments/Generated/Query/Test/Data.php +++ b/tests/Fragments/Generated/Query/Test/Data.php @@ -33,18 +33,22 @@ final class Data * 'description': null|string, * 'name': string, * 'state': null|string, + * ..., * }>, * 'viewer': array{ * '__typename': string, * 'login'?: string, * 'name': string, * 'url'?: string, + * ..., * }, + * ..., * } $data * @param list, * }> $errors */ public function __construct( diff --git a/tests/Fragments/Generated/Query/Test/Data/Project.php b/tests/Fragments/Generated/Query/Test/Data/Project.php index 70ab4fb..d485a75 100644 --- a/tests/Fragments/Generated/Query/Test/Data/Project.php +++ b/tests/Fragments/Generated/Query/Test/Data/Project.php @@ -19,6 +19,7 @@ final class Project * 'description': null|string, * 'name': string, * 'state': null|string, + * ..., * } $data */ public function __construct( diff --git a/tests/Fragments/Generated/Query/Test/Data/Viewer.php b/tests/Fragments/Generated/Query/Test/Data/Viewer.php index cc14f95..b98c355 100644 --- a/tests/Fragments/Generated/Query/Test/Data/Viewer.php +++ b/tests/Fragments/Generated/Query/Test/Data/Viewer.php @@ -82,6 +82,7 @@ final class Viewer * 'login'?: string, * 'name': string, * 'url'?: string, + * ..., * } $data */ public function __construct( diff --git a/tests/Fragments/Generated/Query/Test/Error.php b/tests/Fragments/Generated/Query/Test/Error.php index d6165c9..6d22916 100644 --- a/tests/Fragments/Generated/Query/Test/Error.php +++ b/tests/Fragments/Generated/Query/Test/Error.php @@ -14,6 +14,7 @@ * @param array{ * 'debugMessage'?: string, * 'message': string, + * ..., * } $error */ public function __construct(array $error) diff --git a/tests/Hooks/Generated/Query/Test/Data.php b/tests/Hooks/Generated/Query/Test/Data.php index 7c13e39..2fffec1 100644 --- a/tests/Hooks/Generated/Query/Test/Data.php +++ b/tests/Hooks/Generated/Query/Test/Data.php @@ -27,19 +27,25 @@ final class Data * 'projects': list, * }, * 'description': null|string, * 'name': string, + * ..., * }>, + * ..., * }, + * ..., * } $data * @param list, * }> $errors * @param array{ * 'findUserById': FindUserByIdHook, + * ..., * } $hooks */ public function __construct( diff --git a/tests/Hooks/Generated/Query/Test/Data/Viewer.php b/tests/Hooks/Generated/Query/Test/Data/Viewer.php index ba8d17a..62aa051 100644 --- a/tests/Hooks/Generated/Query/Test/Data/Viewer.php +++ b/tests/Hooks/Generated/Query/Test/Data/Viewer.php @@ -28,13 +28,17 @@ final class Viewer * 'projects': list, * }, * 'description': null|string, * 'name': string, + * ..., * }>, + * ..., * } $data * @param array{ * 'findUserById': FindUserByIdHook, + * ..., * } $hooks */ public function __construct( diff --git a/tests/Hooks/Generated/Query/Test/Data/Viewer/Project.php b/tests/Hooks/Generated/Query/Test/Data/Viewer/Project.php index 2c5b828..b28e40b 100644 --- a/tests/Hooks/Generated/Query/Test/Data/Viewer/Project.php +++ b/tests/Hooks/Generated/Query/Test/Data/Viewer/Project.php @@ -32,12 +32,15 @@ final class Project * @param array{ * 'creator': array{ * 'id': string, + * ..., * }, * 'description': null|string, * 'name': string, + * ..., * } $data * @param array{ * 'findUserById': FindUserByIdHook, + * ..., * } $hooks */ public function __construct( diff --git a/tests/Hooks/Generated/Query/Test/Data/Viewer/Project/Creator.php b/tests/Hooks/Generated/Query/Test/Data/Viewer/Project/Creator.php index 8545a95..70c84a2 100644 --- a/tests/Hooks/Generated/Query/Test/Data/Viewer/Project/Creator.php +++ b/tests/Hooks/Generated/Query/Test/Data/Viewer/Project/Creator.php @@ -15,6 +15,7 @@ final class Creator /** * @param array{ * 'id': string, + * ..., * } $data */ public function __construct( diff --git a/tests/Hooks/Generated/Query/Test/Error.php b/tests/Hooks/Generated/Query/Test/Error.php index def4e5d..3d3d69f 100644 --- a/tests/Hooks/Generated/Query/Test/Error.php +++ b/tests/Hooks/Generated/Query/Test/Error.php @@ -14,6 +14,7 @@ * @param array{ * 'debugMessage'?: string, * 'message': string, + * ..., * } $error */ public function __construct(array $error) diff --git a/tests/Hooks/Generated/Query/Test/TestQuery.php b/tests/Hooks/Generated/Query/Test/TestQuery.php index 6af232b..3970d36 100644 --- a/tests/Hooks/Generated/Query/Test/TestQuery.php +++ b/tests/Hooks/Generated/Query/Test/TestQuery.php @@ -30,6 +30,7 @@ /** * @param array{ * 'findUserById': FindUserByIdHook, + * ..., * } $hooks */ public function __construct( diff --git a/tests/HooksBatched/Generated/HookLoader.php b/tests/HooksBatched/Generated/HookLoader.php index b6f54d6..35ed832 100644 --- a/tests/HooksBatched/Generated/HookLoader.php +++ b/tests/HooksBatched/Generated/HookLoader.php @@ -18,8 +18,8 @@ * instance. * * @internal - * @template TInput - * @template TResult + * @template-covariant TInput + * @template-covariant TResult */ final class HookLoader { diff --git a/tests/HooksBatched/Generated/Query/Test/Data.php b/tests/HooksBatched/Generated/Query/Test/Data.php index 939c6e7..d47992d 100644 --- a/tests/HooksBatched/Generated/Query/Test/Data.php +++ b/tests/HooksBatched/Generated/Query/Test/Data.php @@ -34,6 +34,7 @@ final class Data * findOrgPlan: HookLoader, * computeAccess: HookLoader, * findUserById: HookLoader, + * ..., mixed>>, * } */ private readonly array $loaders; @@ -48,18 +49,23 @@ final class Data * 'name': string, * 'ownerId': string, * 'reviewerId': string, + * ..., * }>, + * ..., * }>, + * ..., * } $data * @param list, * }> $errors * @param array{ * 'computeAccess': ComputeAccessHook, * 'findOrgPlan': FindOrgPlanHook, * 'findUserById': FindUserByIdHook, + * ..., * } $hooks */ public function __construct( diff --git a/tests/HooksBatched/Generated/Query/Test/Data/Organization.php b/tests/HooksBatched/Generated/Query/Test/Data/Organization.php index a981619..451aade 100644 --- a/tests/HooksBatched/Generated/Query/Test/Data/Organization.php +++ b/tests/HooksBatched/Generated/Query/Test/Data/Organization.php @@ -42,12 +42,15 @@ final class Organization * 'name': string, * 'ownerId': string, * 'reviewerId': string, + * ..., * }>, + * ..., * } $data * @param array{ * findOrgPlan: HookLoader, * computeAccess: HookLoader, * findUserById: HookLoader, + * ..., mixed>>, * } $loaders */ public function __construct( diff --git a/tests/HooksBatched/Generated/Query/Test/Data/Organization/Repository.php b/tests/HooksBatched/Generated/Query/Test/Data/Organization/Repository.php index 4ceb3e4..49f89a0 100644 --- a/tests/HooksBatched/Generated/Query/Test/Data/Organization/Repository.php +++ b/tests/HooksBatched/Generated/Query/Test/Data/Organization/Repository.php @@ -42,10 +42,12 @@ final class Repository * 'name': string, * 'ownerId': string, * 'reviewerId': string, + * ..., * } $data * @param array{ * computeAccess: HookLoader, * findUserById: HookLoader, + * ..., mixed>>, * } $loaders */ public function __construct( diff --git a/tests/HooksBatched/Generated/Query/Test/Error.php b/tests/HooksBatched/Generated/Query/Test/Error.php index fa0b1d3..d16d77d 100644 --- a/tests/HooksBatched/Generated/Query/Test/Error.php +++ b/tests/HooksBatched/Generated/Query/Test/Error.php @@ -14,6 +14,7 @@ * @param array{ * 'debugMessage'?: string, * 'message': string, + * ..., * } $error */ public function __construct(array $error) diff --git a/tests/HooksBatched/Generated/Query/Test/TestQuery.php b/tests/HooksBatched/Generated/Query/Test/TestQuery.php index 7eba3ee..79e88eb 100644 --- a/tests/HooksBatched/Generated/Query/Test/TestQuery.php +++ b/tests/HooksBatched/Generated/Query/Test/TestQuery.php @@ -34,6 +34,7 @@ * 'computeAccess': ComputeAccessHook, * 'findOrgPlan': FindOrgPlanHook, * 'findUserById': FindUserByIdHook, + * ..., * } $hooks */ public function __construct( diff --git a/tests/HooksInUnionVariant/Generated/Query/Test/Data.php b/tests/HooksInUnionVariant/Generated/Query/Test/Data.php index 484365e..15a2f60 100644 --- a/tests/HooksInUnionVariant/Generated/Query/Test/Data.php +++ b/tests/HooksInUnionVariant/Generated/Query/Test/Data.php @@ -30,15 +30,19 @@ final class Data * 'id': string, * 'realFieldA'?: string, * 'realFieldB'?: string, + * ..., * }>, + * ..., * } $data * @param list, * }> $errors * @param array{ * 'findUserById': FindUserByIdHook, + * ..., * } $hooks */ public function __construct( diff --git a/tests/HooksInUnionVariant/Generated/Query/Test/Data/Thing.php b/tests/HooksInUnionVariant/Generated/Query/Test/Data/Thing.php index 8e412a5..4e471cd 100644 --- a/tests/HooksInUnionVariant/Generated/Query/Test/Data/Thing.php +++ b/tests/HooksInUnionVariant/Generated/Query/Test/Data/Thing.php @@ -82,9 +82,11 @@ final class Thing * 'id': string, * 'realFieldA'?: string, * 'realFieldB'?: string, + * ..., * } $data * @param array{ * 'findUserById': FindUserByIdHook, + * ..., * } $hooks */ public function __construct( diff --git a/tests/HooksInUnionVariant/Generated/Query/Test/Data/Thing/AsVariantA.php b/tests/HooksInUnionVariant/Generated/Query/Test/Data/Thing/AsVariantA.php index 7ec4ae6..447cd27 100644 --- a/tests/HooksInUnionVariant/Generated/Query/Test/Data/Thing/AsVariantA.php +++ b/tests/HooksInUnionVariant/Generated/Query/Test/Data/Thing/AsVariantA.php @@ -28,9 +28,11 @@ final class AsVariantA * '__typename': 'VariantA', * 'id': string, * 'realFieldA': string, + * ..., * } $data * @param array{ * 'findUserById': FindUserByIdHook, + * ..., * } $hooks */ public function __construct( diff --git a/tests/HooksInUnionVariant/Generated/Query/Test/Data/Thing/AsVariantB.php b/tests/HooksInUnionVariant/Generated/Query/Test/Data/Thing/AsVariantB.php index 67ddf1b..8e1bd91 100644 --- a/tests/HooksInUnionVariant/Generated/Query/Test/Data/Thing/AsVariantB.php +++ b/tests/HooksInUnionVariant/Generated/Query/Test/Data/Thing/AsVariantB.php @@ -16,6 +16,7 @@ final class AsVariantB * @param array{ * '__typename': 'VariantB', * 'realFieldB': string, + * ..., * } $data */ public function __construct( diff --git a/tests/HooksInUnionVariant/Generated/Query/Test/Error.php b/tests/HooksInUnionVariant/Generated/Query/Test/Error.php index 3433059..84d322f 100644 --- a/tests/HooksInUnionVariant/Generated/Query/Test/Error.php +++ b/tests/HooksInUnionVariant/Generated/Query/Test/Error.php @@ -14,6 +14,7 @@ * @param array{ * 'debugMessage'?: string, * 'message': string, + * ..., * } $error */ public function __construct(array $error) diff --git a/tests/HooksInUnionVariant/Generated/Query/Test/TestQuery.php b/tests/HooksInUnionVariant/Generated/Query/Test/TestQuery.php index 59ce155..3867518 100644 --- a/tests/HooksInUnionVariant/Generated/Query/Test/TestQuery.php +++ b/tests/HooksInUnionVariant/Generated/Query/Test/TestQuery.php @@ -31,6 +31,7 @@ /** * @param array{ * 'findUserById': FindUserByIdHook, + * ..., * } $hooks */ public function __construct( diff --git a/tests/HooksThroughSoleFragmentSpread/Generated/Fragment/ShowPaymentFlow.php b/tests/HooksThroughSoleFragmentSpread/Generated/Fragment/ShowPaymentFlow.php index a27d336..64e8ef7 100644 --- a/tests/HooksThroughSoleFragmentSpread/Generated/Fragment/ShowPaymentFlow.php +++ b/tests/HooksThroughSoleFragmentSpread/Generated/Fragment/ShowPaymentFlow.php @@ -25,10 +25,13 @@ final class ShowPaymentFlow * 'order': array{ * 'discountId': string, * 'id': string, + * ..., * }, + * ..., * } $data * @param array{ * 'findDiscountCodeById': FindDiscountCodeByIdHook, + * ..., * } $hooks */ public function __construct( diff --git a/tests/HooksThroughSoleFragmentSpread/Generated/Fragment/ShowPaymentFlow/Order.php b/tests/HooksThroughSoleFragmentSpread/Generated/Fragment/ShowPaymentFlow/Order.php index fd25ef4..e3b3bf1 100644 --- a/tests/HooksThroughSoleFragmentSpread/Generated/Fragment/ShowPaymentFlow/Order.php +++ b/tests/HooksThroughSoleFragmentSpread/Generated/Fragment/ShowPaymentFlow/Order.php @@ -27,9 +27,11 @@ final class Order * @param array{ * 'discountId': string, * 'id': string, + * ..., * } $data * @param array{ * 'findDiscountCodeById': FindDiscountCodeByIdHook, + * ..., * } $hooks */ public function __construct( diff --git a/tests/HooksThroughSoleFragmentSpread/Generated/Query/Test/Data.php b/tests/HooksThroughSoleFragmentSpread/Generated/Query/Test/Data.php index db1aa07..0b0298b 100644 --- a/tests/HooksThroughSoleFragmentSpread/Generated/Query/Test/Data.php +++ b/tests/HooksThroughSoleFragmentSpread/Generated/Query/Test/Data.php @@ -31,16 +31,21 @@ final class Data * 'order': array{ * 'discountId': string, * 'id': string, + * ..., * }, + * ..., * }, + * ..., * } $data * @param list, * }> $errors * @param array{ * 'findDiscountCodeById': FindDiscountCodeByIdHook, + * ..., * } $hooks */ public function __construct( diff --git a/tests/HooksThroughSoleFragmentSpread/Generated/Query/Test/Data/PaymentFlow.php b/tests/HooksThroughSoleFragmentSpread/Generated/Query/Test/Data/PaymentFlow.php index ca2257d..a8493e0 100644 --- a/tests/HooksThroughSoleFragmentSpread/Generated/Query/Test/Data/PaymentFlow.php +++ b/tests/HooksThroughSoleFragmentSpread/Generated/Query/Test/Data/PaymentFlow.php @@ -21,10 +21,13 @@ final class PaymentFlow * 'order': array{ * 'discountId': string, * 'id': string, + * ..., * }, + * ..., * } $data * @param array{ * 'findDiscountCodeById': FindDiscountCodeByIdHook, + * ..., * } $hooks */ public function __construct( diff --git a/tests/HooksThroughSoleFragmentSpread/Generated/Query/Test/Error.php b/tests/HooksThroughSoleFragmentSpread/Generated/Query/Test/Error.php index db50fc7..a64593b 100644 --- a/tests/HooksThroughSoleFragmentSpread/Generated/Query/Test/Error.php +++ b/tests/HooksThroughSoleFragmentSpread/Generated/Query/Test/Error.php @@ -14,6 +14,7 @@ * @param array{ * 'debugMessage'?: string, * 'message': string, + * ..., * } $error */ public function __construct(array $error) diff --git a/tests/HooksThroughSoleFragmentSpread/Generated/Query/Test/TestQuery.php b/tests/HooksThroughSoleFragmentSpread/Generated/Query/Test/TestQuery.php index 6ccd497..5aed135 100644 --- a/tests/HooksThroughSoleFragmentSpread/Generated/Query/Test/TestQuery.php +++ b/tests/HooksThroughSoleFragmentSpread/Generated/Query/Test/TestQuery.php @@ -32,6 +32,7 @@ /** * @param array{ * 'findDiscountCodeById': FindDiscountCodeByIdHook, + * ..., * } $hooks */ public function __construct( diff --git a/tests/HooksWithCustomTypeInitializer/Generated/Query/Test/Data.php b/tests/HooksWithCustomTypeInitializer/Generated/Query/Test/Data.php index a341af8..444f3da 100644 --- a/tests/HooksWithCustomTypeInitializer/Generated/Query/Test/Data.php +++ b/tests/HooksWithCustomTypeInitializer/Generated/Query/Test/Data.php @@ -30,18 +30,24 @@ final class Data * 'projects': list, * }, * 'name': string, + * ..., * }>, + * ..., * }, + * ..., * } $data * @param list, * }> $errors * @param array{ * 'findUserById': FindUserByIdHook, + * ..., * } $hooks */ public function __construct( diff --git a/tests/HooksWithCustomTypeInitializer/Generated/Query/Test/Data/Viewer.php b/tests/HooksWithCustomTypeInitializer/Generated/Query/Test/Data/Viewer.php index b88fdaa..9ac11f4 100644 --- a/tests/HooksWithCustomTypeInitializer/Generated/Query/Test/Data/Viewer.php +++ b/tests/HooksWithCustomTypeInitializer/Generated/Query/Test/Data/Viewer.php @@ -36,12 +36,16 @@ final class Viewer * 'projects': list, * }, * 'name': string, + * ..., * }>, + * ..., * } $data * @param array{ * 'findUserById': FindUserByIdHook, + * ..., * } $hooks */ public function __construct( diff --git a/tests/HooksWithCustomTypeInitializer/Generated/Query/Test/Data/Viewer/Project.php b/tests/HooksWithCustomTypeInitializer/Generated/Query/Test/Data/Viewer/Project.php index e04351c..6c10751 100644 --- a/tests/HooksWithCustomTypeInitializer/Generated/Query/Test/Data/Viewer/Project.php +++ b/tests/HooksWithCustomTypeInitializer/Generated/Query/Test/Data/Viewer/Project.php @@ -28,11 +28,14 @@ final class Project * @param array{ * 'creator': array{ * 'id': string, + * ..., * }, * 'name': string, + * ..., * } $data * @param array{ * 'findUserById': FindUserByIdHook, + * ..., * } $hooks */ public function __construct( diff --git a/tests/HooksWithCustomTypeInitializer/Generated/Query/Test/Data/Viewer/Project/Creator.php b/tests/HooksWithCustomTypeInitializer/Generated/Query/Test/Data/Viewer/Project/Creator.php index d589afb..cb89dcc 100644 --- a/tests/HooksWithCustomTypeInitializer/Generated/Query/Test/Data/Viewer/Project/Creator.php +++ b/tests/HooksWithCustomTypeInitializer/Generated/Query/Test/Data/Viewer/Project/Creator.php @@ -15,6 +15,7 @@ final class Creator /** * @param array{ * 'id': string, + * ..., * } $data */ public function __construct( diff --git a/tests/HooksWithCustomTypeInitializer/Generated/Query/Test/Error.php b/tests/HooksWithCustomTypeInitializer/Generated/Query/Test/Error.php index 8728342..fa937a9 100644 --- a/tests/HooksWithCustomTypeInitializer/Generated/Query/Test/Error.php +++ b/tests/HooksWithCustomTypeInitializer/Generated/Query/Test/Error.php @@ -14,6 +14,7 @@ * @param array{ * 'debugMessage'?: string, * 'message': string, + * ..., * } $error */ public function __construct(array $error) diff --git a/tests/HooksWithCustomTypeInitializer/Generated/Query/Test/TestQuery.php b/tests/HooksWithCustomTypeInitializer/Generated/Query/Test/TestQuery.php index aab0a58..94214b7 100644 --- a/tests/HooksWithCustomTypeInitializer/Generated/Query/Test/TestQuery.php +++ b/tests/HooksWithCustomTypeInitializer/Generated/Query/Test/TestQuery.php @@ -32,6 +32,7 @@ /** * @param array{ * 'findUserById': FindUserByIdHook, + * ..., * } $hooks */ public function __construct( diff --git a/tests/HooksWithFragmentSpread/Generated/Fragment/ProjectListing.php b/tests/HooksWithFragmentSpread/Generated/Fragment/ProjectListing.php index 6e9b1e0..6ab5df4 100644 --- a/tests/HooksWithFragmentSpread/Generated/Fragment/ProjectListing.php +++ b/tests/HooksWithFragmentSpread/Generated/Fragment/ProjectListing.php @@ -22,12 +22,15 @@ final class ProjectListing * @param array{ * 'creator': array{ * 'id': string, + * ..., * }, * 'description': null|string, * 'name': string, + * ..., * } $data * @param array{ * 'findUserById': FindUserByIdHook, + * ..., * } $hooks */ public function __construct( diff --git a/tests/HooksWithFragmentSpread/Generated/Fragment/ProjectSummary.php b/tests/HooksWithFragmentSpread/Generated/Fragment/ProjectSummary.php index ffb2c37..e6b45a6 100644 --- a/tests/HooksWithFragmentSpread/Generated/Fragment/ProjectSummary.php +++ b/tests/HooksWithFragmentSpread/Generated/Fragment/ProjectSummary.php @@ -28,11 +28,14 @@ final class ProjectSummary * @param array{ * 'creator': array{ * 'id': string, + * ..., * }, * 'name': string, + * ..., * } $data * @param array{ * 'findUserById': FindUserByIdHook, + * ..., * } $hooks */ public function __construct( diff --git a/tests/HooksWithFragmentSpread/Generated/Fragment/ProjectSummary/Creator.php b/tests/HooksWithFragmentSpread/Generated/Fragment/ProjectSummary/Creator.php index 597b6de..02f4658 100644 --- a/tests/HooksWithFragmentSpread/Generated/Fragment/ProjectSummary/Creator.php +++ b/tests/HooksWithFragmentSpread/Generated/Fragment/ProjectSummary/Creator.php @@ -15,6 +15,7 @@ final class Creator /** * @param array{ * 'id': string, + * ..., * } $data */ public function __construct( diff --git a/tests/HooksWithFragmentSpread/Generated/Query/Test/Data.php b/tests/HooksWithFragmentSpread/Generated/Query/Test/Data.php index 272d583..ddc6320 100644 --- a/tests/HooksWithFragmentSpread/Generated/Query/Test/Data.php +++ b/tests/HooksWithFragmentSpread/Generated/Query/Test/Data.php @@ -27,19 +27,25 @@ final class Data * 'projects': list, * }, * 'description': null|string, * 'name': string, + * ..., * }>, + * ..., * }, + * ..., * } $data * @param list, * }> $errors * @param array{ * 'findUserById': FindUserByIdHook, + * ..., * } $hooks */ public function __construct( diff --git a/tests/HooksWithFragmentSpread/Generated/Query/Test/Data/Viewer.php b/tests/HooksWithFragmentSpread/Generated/Query/Test/Data/Viewer.php index 8b573be..735f1b3 100644 --- a/tests/HooksWithFragmentSpread/Generated/Query/Test/Data/Viewer.php +++ b/tests/HooksWithFragmentSpread/Generated/Query/Test/Data/Viewer.php @@ -28,13 +28,17 @@ final class Viewer * 'projects': list, * }, * 'description': null|string, * 'name': string, + * ..., * }>, + * ..., * } $data * @param array{ * 'findUserById': FindUserByIdHook, + * ..., * } $hooks */ public function __construct( diff --git a/tests/HooksWithFragmentSpread/Generated/Query/Test/Data/Viewer/Project.php b/tests/HooksWithFragmentSpread/Generated/Query/Test/Data/Viewer/Project.php index 45356ba..fd25551 100644 --- a/tests/HooksWithFragmentSpread/Generated/Query/Test/Data/Viewer/Project.php +++ b/tests/HooksWithFragmentSpread/Generated/Query/Test/Data/Viewer/Project.php @@ -19,12 +19,15 @@ final class Project * @param array{ * 'creator': array{ * 'id': string, + * ..., * }, * 'description': null|string, * 'name': string, + * ..., * } $data * @param array{ * 'findUserById': FindUserByIdHook, + * ..., * } $hooks */ public function __construct( diff --git a/tests/HooksWithFragmentSpread/Generated/Query/Test/Error.php b/tests/HooksWithFragmentSpread/Generated/Query/Test/Error.php index d8fdc24..66e285a 100644 --- a/tests/HooksWithFragmentSpread/Generated/Query/Test/Error.php +++ b/tests/HooksWithFragmentSpread/Generated/Query/Test/Error.php @@ -14,6 +14,7 @@ * @param array{ * 'debugMessage'?: string, * 'message': string, + * ..., * } $error */ public function __construct(array $error) diff --git a/tests/HooksWithFragmentSpread/Generated/Query/Test/TestQuery.php b/tests/HooksWithFragmentSpread/Generated/Query/Test/TestQuery.php index da90081..1aa1b78 100644 --- a/tests/HooksWithFragmentSpread/Generated/Query/Test/TestQuery.php +++ b/tests/HooksWithFragmentSpread/Generated/Query/Test/TestQuery.php @@ -39,6 +39,7 @@ /** * @param array{ * 'findUserById': FindUserByIdHook, + * ..., * } $hooks */ public function __construct( diff --git a/tests/HooksWithListReturn/Generated/Query/Test/Data.php b/tests/HooksWithListReturn/Generated/Query/Test/Data.php index 78032f5..9a6528b 100644 --- a/tests/HooksWithListReturn/Generated/Query/Test/Data.php +++ b/tests/HooksWithListReturn/Generated/Query/Test/Data.php @@ -27,16 +27,21 @@ final class Data * 'projects': list, * 'name': string, + * ..., * }>, + * ..., * }, + * ..., * } $data * @param list, * }> $errors * @param array{ * 'findUsersByIds': FindUsersByIdsHook, + * ..., * } $hooks */ public function __construct( diff --git a/tests/HooksWithListReturn/Generated/Query/Test/Data/Viewer.php b/tests/HooksWithListReturn/Generated/Query/Test/Data/Viewer.php index c4e316b..c74be75 100644 --- a/tests/HooksWithListReturn/Generated/Query/Test/Data/Viewer.php +++ b/tests/HooksWithListReturn/Generated/Query/Test/Data/Viewer.php @@ -28,10 +28,13 @@ final class Viewer * 'projects': list, * 'name': string, + * ..., * }>, + * ..., * } $data * @param array{ * 'findUsersByIds': FindUsersByIdsHook, + * ..., * } $hooks */ public function __construct( diff --git a/tests/HooksWithListReturn/Generated/Query/Test/Data/Viewer/Project.php b/tests/HooksWithListReturn/Generated/Query/Test/Data/Viewer/Project.php index eee8455..7c415b6 100644 --- a/tests/HooksWithListReturn/Generated/Query/Test/Data/Viewer/Project.php +++ b/tests/HooksWithListReturn/Generated/Query/Test/Data/Viewer/Project.php @@ -33,9 +33,11 @@ final class Project * @param array{ * 'contributorIds': list, * 'name': string, + * ..., * } $data * @param array{ * 'findUsersByIds': FindUsersByIdsHook, + * ..., * } $hooks */ public function __construct( diff --git a/tests/HooksWithListReturn/Generated/Query/Test/Error.php b/tests/HooksWithListReturn/Generated/Query/Test/Error.php index ed21b63..06ba31d 100644 --- a/tests/HooksWithListReturn/Generated/Query/Test/Error.php +++ b/tests/HooksWithListReturn/Generated/Query/Test/Error.php @@ -14,6 +14,7 @@ * @param array{ * 'debugMessage'?: string, * 'message': string, + * ..., * } $error */ public function __construct(array $error) diff --git a/tests/HooksWithListReturn/Generated/Query/Test/TestQuery.php b/tests/HooksWithListReturn/Generated/Query/Test/TestQuery.php index 45e256a..2922e3c 100644 --- a/tests/HooksWithListReturn/Generated/Query/Test/TestQuery.php +++ b/tests/HooksWithListReturn/Generated/Query/Test/TestQuery.php @@ -27,6 +27,7 @@ /** * @param array{ * 'findUsersByIds': FindUsersByIdsHook, + * ..., * } $hooks */ public function __construct( diff --git a/tests/HooksWithSymfonyAutowire/Generated/Query/Test/Data.php b/tests/HooksWithSymfonyAutowire/Generated/Query/Test/Data.php index b0d38ee..988f1d2 100644 --- a/tests/HooksWithSymfonyAutowire/Generated/Query/Test/Data.php +++ b/tests/HooksWithSymfonyAutowire/Generated/Query/Test/Data.php @@ -27,19 +27,25 @@ final class Data * 'projects': list, * }, * 'description': null|string, * 'name': string, + * ..., * }>, + * ..., * }, + * ..., * } $data * @param list, * }> $errors * @param array{ * 'findUserById': FindUserByIdHook, + * ..., * } $hooks */ public function __construct( diff --git a/tests/HooksWithSymfonyAutowire/Generated/Query/Test/Data/Viewer.php b/tests/HooksWithSymfonyAutowire/Generated/Query/Test/Data/Viewer.php index 97fa8d4..0ce0a3d 100644 --- a/tests/HooksWithSymfonyAutowire/Generated/Query/Test/Data/Viewer.php +++ b/tests/HooksWithSymfonyAutowire/Generated/Query/Test/Data/Viewer.php @@ -28,13 +28,17 @@ final class Viewer * 'projects': list, * }, * 'description': null|string, * 'name': string, + * ..., * }>, + * ..., * } $data * @param array{ * 'findUserById': FindUserByIdHook, + * ..., * } $hooks */ public function __construct( diff --git a/tests/HooksWithSymfonyAutowire/Generated/Query/Test/Data/Viewer/Project.php b/tests/HooksWithSymfonyAutowire/Generated/Query/Test/Data/Viewer/Project.php index e6b202b..00bed9c 100644 --- a/tests/HooksWithSymfonyAutowire/Generated/Query/Test/Data/Viewer/Project.php +++ b/tests/HooksWithSymfonyAutowire/Generated/Query/Test/Data/Viewer/Project.php @@ -32,12 +32,15 @@ final class Project * @param array{ * 'creator': array{ * 'id': string, + * ..., * }, * 'description': null|string, * 'name': string, + * ..., * } $data * @param array{ * 'findUserById': FindUserByIdHook, + * ..., * } $hooks */ public function __construct( diff --git a/tests/HooksWithSymfonyAutowire/Generated/Query/Test/Data/Viewer/Project/Creator.php b/tests/HooksWithSymfonyAutowire/Generated/Query/Test/Data/Viewer/Project/Creator.php index 13812ac..795080f 100644 --- a/tests/HooksWithSymfonyAutowire/Generated/Query/Test/Data/Viewer/Project/Creator.php +++ b/tests/HooksWithSymfonyAutowire/Generated/Query/Test/Data/Viewer/Project/Creator.php @@ -15,6 +15,7 @@ final class Creator /** * @param array{ * 'id': string, + * ..., * } $data */ public function __construct( diff --git a/tests/HooksWithSymfonyAutowire/Generated/Query/Test/Error.php b/tests/HooksWithSymfonyAutowire/Generated/Query/Test/Error.php index dc4f5c3..f180938 100644 --- a/tests/HooksWithSymfonyAutowire/Generated/Query/Test/Error.php +++ b/tests/HooksWithSymfonyAutowire/Generated/Query/Test/Error.php @@ -14,6 +14,7 @@ * @param array{ * 'debugMessage'?: string, * 'message': string, + * ..., * } $error */ public function __construct(array $error) diff --git a/tests/HooksWithSymfonyAutowire/Generated/Query/Test/TestQuery.php b/tests/HooksWithSymfonyAutowire/Generated/Query/Test/TestQuery.php index e8c4b03..edb345e 100644 --- a/tests/HooksWithSymfonyAutowire/Generated/Query/Test/TestQuery.php +++ b/tests/HooksWithSymfonyAutowire/Generated/Query/Test/TestQuery.php @@ -31,6 +31,7 @@ /** * @param array{ * 'findUserById': FindUserByIdHook, + * ..., * } $hooks */ public function __construct( diff --git a/tests/IncludeAndSkipDirective/Generated/Query/Test/Data.php b/tests/IncludeAndSkipDirective/Generated/Query/Test/Data.php index c5dd499..eb4234b 100644 --- a/tests/IncludeAndSkipDirective/Generated/Query/Test/Data.php +++ b/tests/IncludeAndSkipDirective/Generated/Query/Test/Data.php @@ -73,21 +73,27 @@ final class Data * @param array{ * 'admin'?: array{ * 'name': string, + * ..., * }, * 'admin2'?: array{ * 'name': string, + * ..., * }, * 'user2': array{ * 'name': string, + * ..., * }, * 'viewer': array{ * 'name': string, + * ..., * }, + * ..., * } $data * @param list, * }> $errors */ public function __construct( diff --git a/tests/IncludeAndSkipDirective/Generated/Query/Test/Data/Admin.php b/tests/IncludeAndSkipDirective/Generated/Query/Test/Data/Admin.php index a9230a3..420f83e 100644 --- a/tests/IncludeAndSkipDirective/Generated/Query/Test/Data/Admin.php +++ b/tests/IncludeAndSkipDirective/Generated/Query/Test/Data/Admin.php @@ -15,6 +15,7 @@ final class Admin /** * @param array{ * 'name': string, + * ..., * } $data */ public function __construct( diff --git a/tests/IncludeAndSkipDirective/Generated/Query/Test/Data/Admin2.php b/tests/IncludeAndSkipDirective/Generated/Query/Test/Data/Admin2.php index 56e7fc1..059871c 100644 --- a/tests/IncludeAndSkipDirective/Generated/Query/Test/Data/Admin2.php +++ b/tests/IncludeAndSkipDirective/Generated/Query/Test/Data/Admin2.php @@ -15,6 +15,7 @@ final class Admin2 /** * @param array{ * 'name': string, + * ..., * } $data */ public function __construct( diff --git a/tests/IncludeAndSkipDirective/Generated/Query/Test/Data/User2.php b/tests/IncludeAndSkipDirective/Generated/Query/Test/Data/User2.php index 502861e..92bd60a 100644 --- a/tests/IncludeAndSkipDirective/Generated/Query/Test/Data/User2.php +++ b/tests/IncludeAndSkipDirective/Generated/Query/Test/Data/User2.php @@ -15,6 +15,7 @@ final class User2 /** * @param array{ * 'name': string, + * ..., * } $data */ public function __construct( diff --git a/tests/IncludeAndSkipDirective/Generated/Query/Test/Data/Viewer.php b/tests/IncludeAndSkipDirective/Generated/Query/Test/Data/Viewer.php index 51c34c5..6b02d77 100644 --- a/tests/IncludeAndSkipDirective/Generated/Query/Test/Data/Viewer.php +++ b/tests/IncludeAndSkipDirective/Generated/Query/Test/Data/Viewer.php @@ -15,6 +15,7 @@ final class Viewer /** * @param array{ * 'name': string, + * ..., * } $data */ public function __construct( diff --git a/tests/IncludeAndSkipDirective/Generated/Query/Test/Error.php b/tests/IncludeAndSkipDirective/Generated/Query/Test/Error.php index 31e3625..093c66e 100644 --- a/tests/IncludeAndSkipDirective/Generated/Query/Test/Error.php +++ b/tests/IncludeAndSkipDirective/Generated/Query/Test/Error.php @@ -14,6 +14,7 @@ * @param array{ * 'debugMessage'?: string, * 'message': string, + * ..., * } $error */ public function __construct(array $error) diff --git a/tests/IndexByDirective/Generated/Query/Test/Data.php b/tests/IndexByDirective/Generated/Query/Test/Data.php index c84e5db..08d1052 100644 --- a/tests/IndexByDirective/Generated/Query/Test/Data.php +++ b/tests/IndexByDirective/Generated/Query/Test/Data.php @@ -48,22 +48,29 @@ final class Data * 'node': array{ * 'id': int, * 'name': string, + * ..., * }, + * ..., * }>, + * ..., * }, * 'issues': list, * }>, * 'projects': list, * }>, + * ..., * } $data * @param list, * }> $errors */ public function __construct( diff --git a/tests/IndexByDirective/Generated/Query/Test/Data/CustomerConnection.php b/tests/IndexByDirective/Generated/Query/Test/Data/CustomerConnection.php index 7f3a40c..f2e88bf 100644 --- a/tests/IndexByDirective/Generated/Query/Test/Data/CustomerConnection.php +++ b/tests/IndexByDirective/Generated/Query/Test/Data/CustomerConnection.php @@ -34,8 +34,11 @@ final class CustomerConnection * 'node': array{ * 'id': int, * 'name': string, + * ..., * }, + * ..., * }>, + * ..., * } $data */ public function __construct( diff --git a/tests/IndexByDirective/Generated/Query/Test/Data/CustomerConnection/CustomerEdge.php b/tests/IndexByDirective/Generated/Query/Test/Data/CustomerConnection/CustomerEdge.php index 0a65f8c..30b3eb8 100644 --- a/tests/IndexByDirective/Generated/Query/Test/Data/CustomerConnection/CustomerEdge.php +++ b/tests/IndexByDirective/Generated/Query/Test/Data/CustomerConnection/CustomerEdge.php @@ -19,7 +19,9 @@ final class CustomerEdge * 'node': array{ * 'id': int, * 'name': string, + * ..., * }, + * ..., * } $data */ public function __construct( diff --git a/tests/IndexByDirective/Generated/Query/Test/Data/CustomerConnection/CustomerEdge/Customer.php b/tests/IndexByDirective/Generated/Query/Test/Data/CustomerConnection/CustomerEdge/Customer.php index 3b20b5b..ef16b6f 100644 --- a/tests/IndexByDirective/Generated/Query/Test/Data/CustomerConnection/CustomerEdge/Customer.php +++ b/tests/IndexByDirective/Generated/Query/Test/Data/CustomerConnection/CustomerEdge/Customer.php @@ -20,6 +20,7 @@ final class Customer * @param array{ * 'id': int, * 'name': string, + * ..., * } $data */ public function __construct( diff --git a/tests/IndexByDirective/Generated/Query/Test/Data/Issue.php b/tests/IndexByDirective/Generated/Query/Test/Data/Issue.php index 6c357be..1c2f045 100644 --- a/tests/IndexByDirective/Generated/Query/Test/Data/Issue.php +++ b/tests/IndexByDirective/Generated/Query/Test/Data/Issue.php @@ -20,6 +20,7 @@ final class Issue * @param array{ * 'id': int, * 'name': string, + * ..., * } $data */ public function __construct( diff --git a/tests/IndexByDirective/Generated/Query/Test/Data/Project.php b/tests/IndexByDirective/Generated/Query/Test/Data/Project.php index 54345f9..5fef101 100644 --- a/tests/IndexByDirective/Generated/Query/Test/Data/Project.php +++ b/tests/IndexByDirective/Generated/Query/Test/Data/Project.php @@ -20,6 +20,7 @@ final class Project * @param array{ * 'id': string, * 'name': string, + * ..., * } $data */ public function __construct( diff --git a/tests/IndexByDirective/Generated/Query/Test/Error.php b/tests/IndexByDirective/Generated/Query/Test/Error.php index 8f0ad36..2219f32 100644 --- a/tests/IndexByDirective/Generated/Query/Test/Error.php +++ b/tests/IndexByDirective/Generated/Query/Test/Error.php @@ -14,6 +14,7 @@ * @param array{ * 'debugMessage'?: string, * 'message': string, + * ..., * } $error */ public function __construct(array $error) diff --git a/tests/IndexByDirective/Generated/Query/TestMultiField/Data.php b/tests/IndexByDirective/Generated/Query/TestMultiField/Data.php index 9701588..c7b908b 100644 --- a/tests/IndexByDirective/Generated/Query/TestMultiField/Data.php +++ b/tests/IndexByDirective/Generated/Query/TestMultiField/Data.php @@ -52,22 +52,29 @@ final class Data * 'node': array{ * 'id': int, * 'name': string, + * ..., * }, + * ..., * }>, + * ..., * }, * 'issues': list, * }>, * 'projects': list, * }>, + * ..., * } $data * @param list, * }> $errors */ public function __construct( diff --git a/tests/IndexByDirective/Generated/Query/TestMultiField/Data/CustomerConnection.php b/tests/IndexByDirective/Generated/Query/TestMultiField/Data/CustomerConnection.php index f719953..203e0a1 100644 --- a/tests/IndexByDirective/Generated/Query/TestMultiField/Data/CustomerConnection.php +++ b/tests/IndexByDirective/Generated/Query/TestMultiField/Data/CustomerConnection.php @@ -47,8 +47,11 @@ final class CustomerConnection * 'node': array{ * 'id': int, * 'name': string, + * ..., * }, + * ..., * }>, + * ..., * } $data */ public function __construct( diff --git a/tests/IndexByDirective/Generated/Query/TestMultiField/Data/CustomerConnection/CustomerEdge.php b/tests/IndexByDirective/Generated/Query/TestMultiField/Data/CustomerConnection/CustomerEdge.php index e5b7466..7e4d9bf 100644 --- a/tests/IndexByDirective/Generated/Query/TestMultiField/Data/CustomerConnection/CustomerEdge.php +++ b/tests/IndexByDirective/Generated/Query/TestMultiField/Data/CustomerConnection/CustomerEdge.php @@ -19,7 +19,9 @@ final class CustomerEdge * 'node': array{ * 'id': int, * 'name': string, + * ..., * }, + * ..., * } $data */ public function __construct( diff --git a/tests/IndexByDirective/Generated/Query/TestMultiField/Data/CustomerConnection/CustomerEdge/Customer.php b/tests/IndexByDirective/Generated/Query/TestMultiField/Data/CustomerConnection/CustomerEdge/Customer.php index 0d6e85b..ae5b8c0 100644 --- a/tests/IndexByDirective/Generated/Query/TestMultiField/Data/CustomerConnection/CustomerEdge/Customer.php +++ b/tests/IndexByDirective/Generated/Query/TestMultiField/Data/CustomerConnection/CustomerEdge/Customer.php @@ -20,6 +20,7 @@ final class Customer * @param array{ * 'id': int, * 'name': string, + * ..., * } $data */ public function __construct( diff --git a/tests/IndexByDirective/Generated/Query/TestMultiField/Data/Issue.php b/tests/IndexByDirective/Generated/Query/TestMultiField/Data/Issue.php index b01265c..31dcd13 100644 --- a/tests/IndexByDirective/Generated/Query/TestMultiField/Data/Issue.php +++ b/tests/IndexByDirective/Generated/Query/TestMultiField/Data/Issue.php @@ -20,6 +20,7 @@ final class Issue * @param array{ * 'id': int, * 'name': string, + * ..., * } $data */ public function __construct( diff --git a/tests/IndexByDirective/Generated/Query/TestMultiField/Data/Project.php b/tests/IndexByDirective/Generated/Query/TestMultiField/Data/Project.php index eeac726..a95921f 100644 --- a/tests/IndexByDirective/Generated/Query/TestMultiField/Data/Project.php +++ b/tests/IndexByDirective/Generated/Query/TestMultiField/Data/Project.php @@ -20,6 +20,7 @@ final class Project * @param array{ * 'id': string, * 'name': string, + * ..., * } $data */ public function __construct( diff --git a/tests/IndexByDirective/Generated/Query/TestMultiField/Error.php b/tests/IndexByDirective/Generated/Query/TestMultiField/Error.php index fc5dd54..7a51fc9 100644 --- a/tests/IndexByDirective/Generated/Query/TestMultiField/Error.php +++ b/tests/IndexByDirective/Generated/Query/TestMultiField/Error.php @@ -14,6 +14,7 @@ * @param array{ * 'debugMessage'?: string, * 'message': string, + * ..., * } $error */ public function __construct(array $error) diff --git a/tests/InlineFragment/Generated/Fragment/UserName56995d/UserName.php b/tests/InlineFragment/Generated/Fragment/UserName56995d/UserName.php index 882ed4b..ea9b329 100644 --- a/tests/InlineFragment/Generated/Fragment/UserName56995d/UserName.php +++ b/tests/InlineFragment/Generated/Fragment/UserName56995d/UserName.php @@ -33,6 +33,7 @@ final class UserName * 'firstName': string, * 'id': string, * 'lastName': string, + * ..., * } $data */ public function __construct( diff --git a/tests/InlineFragment/Generated/Query/FeaturedUsers5a9829/Data.php b/tests/InlineFragment/Generated/Query/FeaturedUsers5a9829/Data.php index 9f5237f..403068f 100644 --- a/tests/InlineFragment/Generated/Query/FeaturedUsers5a9829/Data.php +++ b/tests/InlineFragment/Generated/Query/FeaturedUsers5a9829/Data.php @@ -35,12 +35,15 @@ final class Data * 'firstName': string, * 'id': string, * 'lastName': string, + * ..., * }>, + * ..., * } $data * @param list, * }> $errors */ public function __construct( diff --git a/tests/InlineFragment/Generated/Query/FeaturedUsers5a9829/Data/FeaturedUser.php b/tests/InlineFragment/Generated/Query/FeaturedUsers5a9829/Data/FeaturedUser.php index 94c1622..a7964da 100644 --- a/tests/InlineFragment/Generated/Query/FeaturedUsers5a9829/Data/FeaturedUser.php +++ b/tests/InlineFragment/Generated/Query/FeaturedUsers5a9829/Data/FeaturedUser.php @@ -26,6 +26,7 @@ final class FeaturedUser * 'firstName': string, * 'id': string, * 'lastName': string, + * ..., * } $data */ public function __construct( diff --git a/tests/InlineFragment/Generated/Query/FeaturedUsers5a9829/Error.php b/tests/InlineFragment/Generated/Query/FeaturedUsers5a9829/Error.php index c511c1f..885cf06 100644 --- a/tests/InlineFragment/Generated/Query/FeaturedUsers5a9829/Error.php +++ b/tests/InlineFragment/Generated/Query/FeaturedUsers5a9829/Error.php @@ -14,6 +14,7 @@ * @param array{ * 'debugMessage'?: string, * 'message': string, + * ..., * } $error */ public function __construct(array $error) diff --git a/tests/InlineFragment/Generated/Query/ListUsers9908fe/Data.php b/tests/InlineFragment/Generated/Query/ListUsers9908fe/Data.php index e81343d..f11872b 100644 --- a/tests/InlineFragment/Generated/Query/ListUsers9908fe/Data.php +++ b/tests/InlineFragment/Generated/Query/ListUsers9908fe/Data.php @@ -35,12 +35,15 @@ final class Data * 'firstName': string, * 'id': string, * 'lastName': string, + * ..., * }>, + * ..., * } $data * @param list, * }> $errors */ public function __construct( diff --git a/tests/InlineFragment/Generated/Query/ListUsers9908fe/Data/User.php b/tests/InlineFragment/Generated/Query/ListUsers9908fe/Data/User.php index 298ca41..ed505ff 100644 --- a/tests/InlineFragment/Generated/Query/ListUsers9908fe/Data/User.php +++ b/tests/InlineFragment/Generated/Query/ListUsers9908fe/Data/User.php @@ -26,6 +26,7 @@ final class User * 'firstName': string, * 'id': string, * 'lastName': string, + * ..., * } $data */ public function __construct( diff --git a/tests/InlineFragment/Generated/Query/ListUsers9908fe/Error.php b/tests/InlineFragment/Generated/Query/ListUsers9908fe/Error.php index 74382b8..96a5875 100644 --- a/tests/InlineFragment/Generated/Query/ListUsers9908fe/Error.php +++ b/tests/InlineFragment/Generated/Query/ListUsers9908fe/Error.php @@ -14,6 +14,7 @@ * @param array{ * 'debugMessage'?: string, * 'message': string, + * ..., * } $error */ public function __construct(array $error) diff --git a/tests/InlineFragmentTypename/Generated/Mutation/Test/Data.php b/tests/InlineFragmentTypename/Generated/Mutation/Test/Data.php index 3d71ecd..fe2cbc7 100644 --- a/tests/InlineFragmentTypename/Generated/Mutation/Test/Data.php +++ b/tests/InlineFragmentTypename/Generated/Mutation/Test/Data.php @@ -29,12 +29,15 @@ final class Data * 'code'?: string, * 'id'?: string, * 'name'?: string, + * ..., * }, + * ..., * } $data * @param list, * }> $errors */ public function __construct( diff --git a/tests/InlineFragmentTypename/Generated/Mutation/Test/Data/AddCountry.php b/tests/InlineFragmentTypename/Generated/Mutation/Test/Data/AddCountry.php index 0d78cdb..b514c8d 100644 --- a/tests/InlineFragmentTypename/Generated/Mutation/Test/Data/AddCountry.php +++ b/tests/InlineFragmentTypename/Generated/Mutation/Test/Data/AddCountry.php @@ -86,6 +86,7 @@ final class AddCountry * 'code'?: string, * 'id'?: string, * 'name'?: string, + * ..., * } $data */ public function __construct( diff --git a/tests/InlineFragmentTypename/Generated/Mutation/Test/Data/AddCountry/AsCountry.php b/tests/InlineFragmentTypename/Generated/Mutation/Test/Data/AddCountry/AsCountry.php index b286988..ef26a21 100644 --- a/tests/InlineFragmentTypename/Generated/Mutation/Test/Data/AddCountry/AsCountry.php +++ b/tests/InlineFragmentTypename/Generated/Mutation/Test/Data/AddCountry/AsCountry.php @@ -21,6 +21,7 @@ final class AsCountry * '__typename': 'Country', * 'id': string, * 'name': string, + * ..., * } $data */ public function __construct( diff --git a/tests/InlineFragmentTypename/Generated/Mutation/Test/Data/AddCountry/AsSupportedCountryError.php b/tests/InlineFragmentTypename/Generated/Mutation/Test/Data/AddCountry/AsSupportedCountryError.php index 5071258..3526eef 100644 --- a/tests/InlineFragmentTypename/Generated/Mutation/Test/Data/AddCountry/AsSupportedCountryError.php +++ b/tests/InlineFragmentTypename/Generated/Mutation/Test/Data/AddCountry/AsSupportedCountryError.php @@ -18,6 +18,7 @@ final class AsSupportedCountryError /** * @param array{ * '__typename': 'SupportedCountryError', + * ..., * } $data */ public function __construct( diff --git a/tests/InlineFragmentTypename/Generated/Mutation/Test/Data/AddCountry/AsUnsupportedCountryError.php b/tests/InlineFragmentTypename/Generated/Mutation/Test/Data/AddCountry/AsUnsupportedCountryError.php index a53068b..f8cc60c 100644 --- a/tests/InlineFragmentTypename/Generated/Mutation/Test/Data/AddCountry/AsUnsupportedCountryError.php +++ b/tests/InlineFragmentTypename/Generated/Mutation/Test/Data/AddCountry/AsUnsupportedCountryError.php @@ -20,6 +20,7 @@ final class AsUnsupportedCountryError * @param array{ * '__typename': 'UnsupportedCountryError', * 'code': string, + * ..., * } $data */ public function __construct( diff --git a/tests/InlineFragmentTypename/Generated/Mutation/Test/Error.php b/tests/InlineFragmentTypename/Generated/Mutation/Test/Error.php index 6d1533e..124fc06 100644 --- a/tests/InlineFragmentTypename/Generated/Mutation/Test/Error.php +++ b/tests/InlineFragmentTypename/Generated/Mutation/Test/Error.php @@ -14,6 +14,7 @@ * @param array{ * 'debugMessage'?: string, * 'message': string, + * ..., * } $error */ public function __construct(array $error) diff --git a/tests/InlineFragments/Generated/Query/Test/Data.php b/tests/InlineFragments/Generated/Query/Test/Data.php index 7c2b29a..256048c 100644 --- a/tests/InlineFragments/Generated/Query/Test/Data.php +++ b/tests/InlineFragments/Generated/Query/Test/Data.php @@ -33,18 +33,22 @@ final class Data * 'description': null|string, * 'name': string, * 'state': null|string, + * ..., * }>, * 'viewer': array{ * '__typename': string, * 'login'?: string, * 'name': string, * 'url'?: string, + * ..., * }, + * ..., * } $data * @param list, * }> $errors */ public function __construct( diff --git a/tests/InlineFragments/Generated/Query/Test/Data/Project.php b/tests/InlineFragments/Generated/Query/Test/Data/Project.php index 732eb1f..7592b1e 100644 --- a/tests/InlineFragments/Generated/Query/Test/Data/Project.php +++ b/tests/InlineFragments/Generated/Query/Test/Data/Project.php @@ -25,6 +25,7 @@ final class Project * 'description': null|string, * 'name': string, * 'state': null|string, + * ..., * } $data */ public function __construct( diff --git a/tests/InlineFragments/Generated/Query/Test/Data/Viewer.php b/tests/InlineFragments/Generated/Query/Test/Data/Viewer.php index d460b14..517df95 100644 --- a/tests/InlineFragments/Generated/Query/Test/Data/Viewer.php +++ b/tests/InlineFragments/Generated/Query/Test/Data/Viewer.php @@ -73,6 +73,7 @@ final class Viewer * 'login'?: string, * 'name': string, * 'url'?: string, + * ..., * } $data */ public function __construct( diff --git a/tests/InlineFragments/Generated/Query/Test/Data/Viewer/AsApplication.php b/tests/InlineFragments/Generated/Query/Test/Data/Viewer/AsApplication.php index a6995d7..9dccd58 100644 --- a/tests/InlineFragments/Generated/Query/Test/Data/Viewer/AsApplication.php +++ b/tests/InlineFragments/Generated/Query/Test/Data/Viewer/AsApplication.php @@ -16,6 +16,7 @@ final class AsApplication * @param array{ * '__typename': 'Application', * 'url': string, + * ..., * } $data */ public function __construct( diff --git a/tests/InlineFragments/Generated/Query/Test/Data/Viewer/AsUser.php b/tests/InlineFragments/Generated/Query/Test/Data/Viewer/AsUser.php index f9ed801..980d59d 100644 --- a/tests/InlineFragments/Generated/Query/Test/Data/Viewer/AsUser.php +++ b/tests/InlineFragments/Generated/Query/Test/Data/Viewer/AsUser.php @@ -16,6 +16,7 @@ final class AsUser * @param array{ * '__typename': 'User', * 'login': string, + * ..., * } $data */ public function __construct( diff --git a/tests/InlineFragments/Generated/Query/Test/Error.php b/tests/InlineFragments/Generated/Query/Test/Error.php index fd696b0..978ee68 100644 --- a/tests/InlineFragments/Generated/Query/Test/Error.php +++ b/tests/InlineFragments/Generated/Query/Test/Error.php @@ -14,6 +14,7 @@ * @param array{ * 'debugMessage'?: string, * 'message': string, + * ..., * } $error */ public function __construct(array $error) diff --git a/tests/InlineProcessing/Generated/Query/ViewerProjects1d8480/Data.php b/tests/InlineProcessing/Generated/Query/ViewerProjects1d8480/Data.php index 72049c1..4870bc2 100644 --- a/tests/InlineProcessing/Generated/Query/ViewerProjects1d8480/Data.php +++ b/tests/InlineProcessing/Generated/Query/ViewerProjects1d8480/Data.php @@ -33,13 +33,17 @@ final class Data * 'projects': list, * }>, + * ..., * }, + * ..., * } $data * @param list, * }> $errors */ public function __construct( diff --git a/tests/InlineProcessing/Generated/Query/ViewerProjects1d8480/Data/Viewer.php b/tests/InlineProcessing/Generated/Query/ViewerProjects1d8480/Data/Viewer.php index cf5f47d..cf01495 100644 --- a/tests/InlineProcessing/Generated/Query/ViewerProjects1d8480/Data/Viewer.php +++ b/tests/InlineProcessing/Generated/Query/ViewerProjects1d8480/Data/Viewer.php @@ -34,7 +34,9 @@ final class Viewer * 'projects': list, * }>, + * ..., * } $data */ public function __construct( diff --git a/tests/InlineProcessing/Generated/Query/ViewerProjects1d8480/Data/Viewer/Project.php b/tests/InlineProcessing/Generated/Query/ViewerProjects1d8480/Data/Viewer/Project.php index 9ba7cc5..f7addb9 100644 --- a/tests/InlineProcessing/Generated/Query/ViewerProjects1d8480/Data/Viewer/Project.php +++ b/tests/InlineProcessing/Generated/Query/ViewerProjects1d8480/Data/Viewer/Project.php @@ -36,6 +36,7 @@ final class Project * @param array{ * 'description': null|string, * 'name': string, + * ..., * } $data */ public function __construct( diff --git a/tests/InlineProcessing/Generated/Query/ViewerProjects1d8480/Error.php b/tests/InlineProcessing/Generated/Query/ViewerProjects1d8480/Error.php index 8df7e74..cdedcc8 100644 --- a/tests/InlineProcessing/Generated/Query/ViewerProjects1d8480/Error.php +++ b/tests/InlineProcessing/Generated/Query/ViewerProjects1d8480/Error.php @@ -14,6 +14,7 @@ * @param array{ * 'debugMessage'?: string, * 'message': string, + * ..., * } $error */ public function __construct(array $error) diff --git a/tests/Input/Generated/Mutation/Test/Data.php b/tests/Input/Generated/Mutation/Test/Data.php index cdd3858..6067053 100644 --- a/tests/Input/Generated/Mutation/Test/Data.php +++ b/tests/Input/Generated/Mutation/Test/Data.php @@ -31,11 +31,13 @@ final class Data * @param array{ * 'createUser': bool, * 'sayHello': string, + * ..., * } $data * @param list, * }> $errors */ public function __construct( diff --git a/tests/Input/Generated/Mutation/Test/Error.php b/tests/Input/Generated/Mutation/Test/Error.php index 3a0de55..fd9784d 100644 --- a/tests/Input/Generated/Mutation/Test/Error.php +++ b/tests/Input/Generated/Mutation/Test/Error.php @@ -14,6 +14,7 @@ * @param array{ * 'debugMessage'?: string, * 'message': string, + * ..., * } $error */ public function __construct(array $error) diff --git a/tests/ListScalar/Generated/Query/Test/Data.php b/tests/ListScalar/Generated/Query/Test/Data.php index a4f0114..146581e 100644 --- a/tests/ListScalar/Generated/Query/Test/Data.php +++ b/tests/ListScalar/Generated/Query/Test/Data.php @@ -33,12 +33,15 @@ final class Data * 'wallet': array{ * 'currencies': list, * 'name': string, + * ..., * }, + * ..., * } $data * @param list, * }> $errors */ public function __construct( diff --git a/tests/ListScalar/Generated/Query/Test/Data/Wallet.php b/tests/ListScalar/Generated/Query/Test/Data/Wallet.php index ad02de8..6ac325e 100644 --- a/tests/ListScalar/Generated/Query/Test/Data/Wallet.php +++ b/tests/ListScalar/Generated/Query/Test/Data/Wallet.php @@ -25,6 +25,7 @@ final class Wallet * @param array{ * 'currencies': list, * 'name': string, + * ..., * } $data */ public function __construct( diff --git a/tests/ListScalar/Generated/Query/Test/Error.php b/tests/ListScalar/Generated/Query/Test/Error.php index 6e0a888..5d6db18 100644 --- a/tests/ListScalar/Generated/Query/Test/Error.php +++ b/tests/ListScalar/Generated/Query/Test/Error.php @@ -14,6 +14,7 @@ * @param array{ * 'debugMessage'?: string, * 'message': string, + * ..., * } $error */ public function __construct(array $error) diff --git a/tests/ListTypename/Generated/Query/Test/Data.php b/tests/ListTypename/Generated/Query/Test/Data.php index 2c28f60..0124716 100644 --- a/tests/ListTypename/Generated/Query/Test/Data.php +++ b/tests/ListTypename/Generated/Query/Test/Data.php @@ -25,19 +25,25 @@ final class Data * 'multiList': list, * }>, * 'single': array{ * '__typename': string, + * ..., * }, * 'soleList': list, * }>, + * ..., * }, + * ..., * } $data * @param list, * }> $errors */ public function __construct( diff --git a/tests/ListTypename/Generated/Query/Test/Data/Field.php b/tests/ListTypename/Generated/Query/Test/Data/Field.php index 3a58167..4717b52 100644 --- a/tests/ListTypename/Generated/Query/Test/Data/Field.php +++ b/tests/ListTypename/Generated/Query/Test/Data/Field.php @@ -35,13 +35,17 @@ final class Field * 'multiList': list, * }>, * 'single': array{ * '__typename': string, + * ..., * }, * 'soleList': list, * }>, + * ..., * } $data */ public function __construct( diff --git a/tests/ListTypename/Generated/Query/Test/Data/Field/MultiList.php b/tests/ListTypename/Generated/Query/Test/Data/Field/MultiList.php index 72d9b6b..61b5f1c 100644 --- a/tests/ListTypename/Generated/Query/Test/Data/Field/MultiList.php +++ b/tests/ListTypename/Generated/Query/Test/Data/Field/MultiList.php @@ -20,6 +20,7 @@ final class MultiList * @param array{ * '__typename': string, * 'id': string, + * ..., * } $data */ public function __construct( diff --git a/tests/ListTypename/Generated/Query/Test/Data/Field/Single.php b/tests/ListTypename/Generated/Query/Test/Data/Field/Single.php index 9a906b1..77bedd2 100644 --- a/tests/ListTypename/Generated/Query/Test/Data/Field/Single.php +++ b/tests/ListTypename/Generated/Query/Test/Data/Field/Single.php @@ -18,6 +18,7 @@ final class Single /** * @param array{ * '__typename': string, + * ..., * } $data */ public function __construct( diff --git a/tests/ListTypename/Generated/Query/Test/Data/Field/SoleList.php b/tests/ListTypename/Generated/Query/Test/Data/Field/SoleList.php index 7c5ce1e..9457d99 100644 --- a/tests/ListTypename/Generated/Query/Test/Data/Field/SoleList.php +++ b/tests/ListTypename/Generated/Query/Test/Data/Field/SoleList.php @@ -18,6 +18,7 @@ final class SoleList /** * @param array{ * '__typename': string, + * ..., * } $data */ public function __construct( diff --git a/tests/ListTypename/Generated/Query/Test/Error.php b/tests/ListTypename/Generated/Query/Test/Error.php index adbfde7..6efea9c 100644 --- a/tests/ListTypename/Generated/Query/Test/Error.php +++ b/tests/ListTypename/Generated/Query/Test/Error.php @@ -14,6 +14,7 @@ * @param array{ * 'debugMessage'?: string, * 'message': string, + * ..., * } $error */ public function __construct(array $error) diff --git a/tests/Money/Generated/Fragment/Converter.php b/tests/Money/Generated/Fragment/Converter.php index ee7067d..3cae3e8 100644 --- a/tests/Money/Generated/Fragment/Converter.php +++ b/tests/Money/Generated/Fragment/Converter.php @@ -35,6 +35,7 @@ final class Converter * 'amount': numeric-string, * 'currency': string, * }, + * ..., * } $data */ public function __construct( diff --git a/tests/Money/Generated/Query/ConvertMoney/Data.php b/tests/Money/Generated/Query/ConvertMoney/Data.php index 2edb59b..49a43b3 100644 --- a/tests/Money/Generated/Query/ConvertMoney/Data.php +++ b/tests/Money/Generated/Query/ConvertMoney/Data.php @@ -42,11 +42,13 @@ final class Data * 'amount': numeric-string, * 'currency': string, * }, + * ..., * } $data * @param list, * }> $errors */ public function __construct( diff --git a/tests/Money/Generated/Query/ConvertMoney/Error.php b/tests/Money/Generated/Query/ConvertMoney/Error.php index 1d4b470..8f31c82 100644 --- a/tests/Money/Generated/Query/ConvertMoney/Error.php +++ b/tests/Money/Generated/Query/ConvertMoney/Error.php @@ -14,6 +14,7 @@ * @param array{ * 'debugMessage'?: string, * 'message': string, + * ..., * } $error */ public function __construct(array $error) diff --git a/tests/MutationTypename/Generated/Mutation/Test/Data.php b/tests/MutationTypename/Generated/Mutation/Test/Data.php index b9a5901..6242701 100644 --- a/tests/MutationTypename/Generated/Mutation/Test/Data.php +++ b/tests/MutationTypename/Generated/Mutation/Test/Data.php @@ -42,21 +42,27 @@ final class Data * @param array{ * 'fireAndForget': array{ * '__typename': string, + * ..., * }, * 'nested': array{ * 'inner': array{ * '__typename': string, + * ..., * }, + * ..., * }, * 'withExtraFields': array{ * '__typename': string, * 'name': string, + * ..., * }, + * ..., * } $data * @param list, * }> $errors */ public function __construct( diff --git a/tests/MutationTypename/Generated/Mutation/Test/Data/FireAndForget.php b/tests/MutationTypename/Generated/Mutation/Test/Data/FireAndForget.php index f32d317..0dc1d68 100644 --- a/tests/MutationTypename/Generated/Mutation/Test/Data/FireAndForget.php +++ b/tests/MutationTypename/Generated/Mutation/Test/Data/FireAndForget.php @@ -18,6 +18,7 @@ final class FireAndForget /** * @param array{ * '__typename': string, + * ..., * } $data */ public function __construct( diff --git a/tests/MutationTypename/Generated/Mutation/Test/Data/Nested.php b/tests/MutationTypename/Generated/Mutation/Test/Data/Nested.php index c13e929..df65bd6 100644 --- a/tests/MutationTypename/Generated/Mutation/Test/Data/Nested.php +++ b/tests/MutationTypename/Generated/Mutation/Test/Data/Nested.php @@ -18,7 +18,9 @@ final class Nested * @param array{ * 'inner': array{ * '__typename': string, + * ..., * }, + * ..., * } $data */ public function __construct( diff --git a/tests/MutationTypename/Generated/Mutation/Test/Data/Nested/Inner.php b/tests/MutationTypename/Generated/Mutation/Test/Data/Nested/Inner.php index 0e9f6fb..c6414a6 100644 --- a/tests/MutationTypename/Generated/Mutation/Test/Data/Nested/Inner.php +++ b/tests/MutationTypename/Generated/Mutation/Test/Data/Nested/Inner.php @@ -18,6 +18,7 @@ final class Inner /** * @param array{ * '__typename': string, + * ..., * } $data */ public function __construct( diff --git a/tests/MutationTypename/Generated/Mutation/Test/Data/WithExtraFields.php b/tests/MutationTypename/Generated/Mutation/Test/Data/WithExtraFields.php index bb5c518..8a97c0f 100644 --- a/tests/MutationTypename/Generated/Mutation/Test/Data/WithExtraFields.php +++ b/tests/MutationTypename/Generated/Mutation/Test/Data/WithExtraFields.php @@ -20,6 +20,7 @@ final class WithExtraFields * @param array{ * '__typename': string, * 'name': string, + * ..., * } $data */ public function __construct( diff --git a/tests/MutationTypename/Generated/Mutation/Test/Error.php b/tests/MutationTypename/Generated/Mutation/Test/Error.php index 3486862..6a10ed4 100644 --- a/tests/MutationTypename/Generated/Mutation/Test/Error.php +++ b/tests/MutationTypename/Generated/Mutation/Test/Error.php @@ -14,6 +14,7 @@ * @param array{ * 'debugMessage'?: string, * 'message': string, + * ..., * } $error */ public function __construct(array $error) diff --git a/tests/NoIndexBy/Generated/Query/Test/Data.php b/tests/NoIndexBy/Generated/Query/Test/Data.php index 3b0d299..a79e841 100644 --- a/tests/NoIndexBy/Generated/Query/Test/Data.php +++ b/tests/NoIndexBy/Generated/Query/Test/Data.php @@ -33,17 +33,25 @@ final class Data * 'items': list, * }>, + * ..., * }, + * ..., * }, + * ..., * }, + * ..., * }>, + * ..., * }, + * ..., * } $data * @param list, * }> $errors */ public function __construct( diff --git a/tests/NoIndexBy/Generated/Query/Test/Data/Transactions.php b/tests/NoIndexBy/Generated/Query/Test/Data/Transactions.php index 1d2853d..9084564 100644 --- a/tests/NoIndexBy/Generated/Query/Test/Data/Transactions.php +++ b/tests/NoIndexBy/Generated/Query/Test/Data/Transactions.php @@ -41,11 +41,17 @@ final class Transactions * 'items': list, * }>, + * ..., * }, + * ..., * }, + * ..., * }, + * ..., * }>, + * ..., * } $data */ public function __construct( diff --git a/tests/NoIndexBy/Generated/Query/Test/Data/Transactions/Edge.php b/tests/NoIndexBy/Generated/Query/Test/Data/Transactions/Edge.php index a5c44df..b77f32d 100644 --- a/tests/NoIndexBy/Generated/Query/Test/Data/Transactions/Edge.php +++ b/tests/NoIndexBy/Generated/Query/Test/Data/Transactions/Edge.php @@ -26,10 +26,15 @@ final class Edge * 'items': list, * }>, + * ..., * }, + * ..., * }, + * ..., * }, + * ..., * } $data */ public function __construct( diff --git a/tests/NoIndexBy/Generated/Query/Test/Data/Transactions/Edge/Node.php b/tests/NoIndexBy/Generated/Query/Test/Data/Transactions/Edge/Node.php index f4fba00..d0d358c 100644 --- a/tests/NoIndexBy/Generated/Query/Test/Data/Transactions/Edge/Node.php +++ b/tests/NoIndexBy/Generated/Query/Test/Data/Transactions/Edge/Node.php @@ -29,9 +29,13 @@ final class Node * 'items': list, * }>, + * ..., * }, + * ..., * }, + * ..., * } $data */ public function __construct( diff --git a/tests/NoIndexBy/Generated/Query/Test/Data/Transactions/Edge/Node/Workflow.php b/tests/NoIndexBy/Generated/Query/Test/Data/Transactions/Edge/Node/Workflow.php index e411870..01ecf41 100644 --- a/tests/NoIndexBy/Generated/Query/Test/Data/Transactions/Edge/Node/Workflow.php +++ b/tests/NoIndexBy/Generated/Query/Test/Data/Transactions/Edge/Node/Workflow.php @@ -23,8 +23,11 @@ final class Workflow * 'items': list, * }>, + * ..., * }, + * ..., * } $data */ public function __construct( diff --git a/tests/NoIndexBy/Generated/Query/Test/Data/Transactions/Edge/Node/Workflow/Request.php b/tests/NoIndexBy/Generated/Query/Test/Data/Transactions/Edge/Node/Workflow/Request.php index 5d67d30..eeb7877 100644 --- a/tests/NoIndexBy/Generated/Query/Test/Data/Transactions/Edge/Node/Workflow/Request.php +++ b/tests/NoIndexBy/Generated/Query/Test/Data/Transactions/Edge/Node/Workflow/Request.php @@ -29,7 +29,9 @@ final class Request * 'items': list, * }>, + * ..., * } $data */ public function __construct( diff --git a/tests/NoIndexBy/Generated/Query/Test/Data/Transactions/Edge/Node/Workflow/Request/Item.php b/tests/NoIndexBy/Generated/Query/Test/Data/Transactions/Edge/Node/Workflow/Request/Item.php index f7b0cc6..14ac92f 100644 --- a/tests/NoIndexBy/Generated/Query/Test/Data/Transactions/Edge/Node/Workflow/Request/Item.php +++ b/tests/NoIndexBy/Generated/Query/Test/Data/Transactions/Edge/Node/Workflow/Request/Item.php @@ -23,6 +23,7 @@ final class Item * @param array{ * '__typename': string, * 'id': string, + * ..., * } $data */ public function __construct( diff --git a/tests/NoIndexBy/Generated/Query/Test/Error.php b/tests/NoIndexBy/Generated/Query/Test/Error.php index 1121080..8ddc7f8 100644 --- a/tests/NoIndexBy/Generated/Query/Test/Error.php +++ b/tests/NoIndexBy/Generated/Query/Test/Error.php @@ -17,6 +17,7 @@ * @param array{ * 'debugMessage'?: string, * 'message': string, + * ..., * } $error */ public function __construct(array $error) diff --git a/tests/NullableConnections/Generated/Query/Test/Data.php b/tests/NullableConnections/Generated/Query/Test/Data.php index 31ae488..1f1e53f 100644 --- a/tests/NullableConnections/Generated/Query/Test/Data.php +++ b/tests/NullableConnections/Generated/Query/Test/Data.php @@ -27,14 +27,19 @@ final class Data * 'node': array{ * 'id': string, * 'name': string, + * ..., * }, + * ..., * }>, + * ..., * }, + * ..., * } $data * @param list, * }> $errors */ public function __construct( diff --git a/tests/NullableConnections/Generated/Query/Test/Data/ProjectConnection.php b/tests/NullableConnections/Generated/Query/Test/Data/ProjectConnection.php index a4b1b39..fcb195b 100644 --- a/tests/NullableConnections/Generated/Query/Test/Data/ProjectConnection.php +++ b/tests/NullableConnections/Generated/Query/Test/Data/ProjectConnection.php @@ -24,8 +24,11 @@ final class ProjectConnection * 'node': array{ * 'id': string, * 'name': string, + * ..., * }, + * ..., * }>, + * ..., * } $data */ public function __construct( diff --git a/tests/NullableConnections/Generated/Query/Test/Data/ProjectConnection/ProjectEdge.php b/tests/NullableConnections/Generated/Query/Test/Data/ProjectConnection/ProjectEdge.php index 41538f5..718307b 100644 --- a/tests/NullableConnections/Generated/Query/Test/Data/ProjectConnection/ProjectEdge.php +++ b/tests/NullableConnections/Generated/Query/Test/Data/ProjectConnection/ProjectEdge.php @@ -24,7 +24,9 @@ final class ProjectEdge * 'node': array{ * 'id': string, * 'name': string, + * ..., * }, + * ..., * } $data */ public function __construct( diff --git a/tests/NullableConnections/Generated/Query/Test/Data/ProjectConnection/ProjectEdge/Project.php b/tests/NullableConnections/Generated/Query/Test/Data/ProjectConnection/ProjectEdge/Project.php index 57077b6..2e1171f 100644 --- a/tests/NullableConnections/Generated/Query/Test/Data/ProjectConnection/ProjectEdge/Project.php +++ b/tests/NullableConnections/Generated/Query/Test/Data/ProjectConnection/ProjectEdge/Project.php @@ -20,6 +20,7 @@ final class Project * @param array{ * 'id': string, * 'name': string, + * ..., * } $data */ public function __construct( diff --git a/tests/NullableConnections/Generated/Query/Test/Error.php b/tests/NullableConnections/Generated/Query/Test/Error.php index 1ce5a10..1e4501f 100644 --- a/tests/NullableConnections/Generated/Query/Test/Error.php +++ b/tests/NullableConnections/Generated/Query/Test/Error.php @@ -14,6 +14,7 @@ * @param array{ * 'debugMessage'?: string, * 'message': string, + * ..., * } $error */ public function __construct(array $error) diff --git a/tests/OneOfDirective/Generated/Query/Test/Data.php b/tests/OneOfDirective/Generated/Query/Test/Data.php index 0626194..874293e 100644 --- a/tests/OneOfDirective/Generated/Query/Test/Data.php +++ b/tests/OneOfDirective/Generated/Query/Test/Data.php @@ -24,12 +24,15 @@ final class Data * 'user': null|array{ * 'email': string, * 'id': string, + * ..., * }, + * ..., * } $data * @param list, * }> $errors */ public function __construct( diff --git a/tests/OneOfDirective/Generated/Query/Test/Data/User.php b/tests/OneOfDirective/Generated/Query/Test/Data/User.php index 0b62d7e..cf49ff5 100644 --- a/tests/OneOfDirective/Generated/Query/Test/Data/User.php +++ b/tests/OneOfDirective/Generated/Query/Test/Data/User.php @@ -20,6 +20,7 @@ final class User * @param array{ * 'email': string, * 'id': string, + * ..., * } $data */ public function __construct( diff --git a/tests/OneOfDirective/Generated/Query/Test/Error.php b/tests/OneOfDirective/Generated/Query/Test/Error.php index dfb32d4..7ec830a 100644 --- a/tests/OneOfDirective/Generated/Query/Test/Error.php +++ b/tests/OneOfDirective/Generated/Query/Test/Error.php @@ -14,6 +14,7 @@ * @param array{ * 'debugMessage'?: string, * 'message': string, + * ..., * } $error */ public function __construct(array $error) diff --git a/tests/Optimization/Generated/Fragment/AppName.php b/tests/Optimization/Generated/Fragment/AppName.php index fd77b87..a83c728 100644 --- a/tests/Optimization/Generated/Fragment/AppName.php +++ b/tests/Optimization/Generated/Fragment/AppName.php @@ -15,6 +15,7 @@ final class AppName /** * @param array{ * 'name': string, + * ..., * } $data */ public function __construct( diff --git a/tests/Optimization/Generated/Fragment/AppUrl.php b/tests/Optimization/Generated/Fragment/AppUrl.php index 4aacd62..ac2d82e 100644 --- a/tests/Optimization/Generated/Fragment/AppUrl.php +++ b/tests/Optimization/Generated/Fragment/AppUrl.php @@ -20,6 +20,7 @@ final class AppUrl * @param array{ * 'name': string, * 'url': string, + * ..., * } $data */ public function __construct( diff --git a/tests/Optimization/Generated/Query/Test/Data.php b/tests/Optimization/Generated/Query/Test/Data.php index e1b828c..94be75e 100644 --- a/tests/Optimization/Generated/Query/Test/Data.php +++ b/tests/Optimization/Generated/Query/Test/Data.php @@ -33,6 +33,7 @@ final class Data * 'description': null|string, * 'name': string, * 'state': null|string, + * ..., * }>, * 'viewer': array{ * '__typename': string, @@ -41,12 +42,15 @@ final class Data * 'login'?: string, * 'name': string, * 'url'?: string, + * ..., * }, + * ..., * } $data * @param list, * }> $errors */ public function __construct( diff --git a/tests/Optimization/Generated/Query/Test/Data/Project.php b/tests/Optimization/Generated/Query/Test/Data/Project.php index 68f673b..0f65386 100644 --- a/tests/Optimization/Generated/Query/Test/Data/Project.php +++ b/tests/Optimization/Generated/Query/Test/Data/Project.php @@ -25,6 +25,7 @@ final class Project * 'description': null|string, * 'name': string, * 'state': null|string, + * ..., * } $data */ public function __construct( diff --git a/tests/Optimization/Generated/Query/Test/Data/Viewer.php b/tests/Optimization/Generated/Query/Test/Data/Viewer.php index 8b0f6cc..be8ea94 100644 --- a/tests/Optimization/Generated/Query/Test/Data/Viewer.php +++ b/tests/Optimization/Generated/Query/Test/Data/Viewer.php @@ -91,6 +91,7 @@ final class Viewer * 'login'?: string, * 'name': string, * 'url'?: string, + * ..., * } $data */ public function __construct( diff --git a/tests/Optimization/Generated/Query/Test/Data/Viewer/AsUser.php b/tests/Optimization/Generated/Query/Test/Data/Viewer/AsUser.php index 6bfa06e..a143f9c 100644 --- a/tests/Optimization/Generated/Query/Test/Data/Viewer/AsUser.php +++ b/tests/Optimization/Generated/Query/Test/Data/Viewer/AsUser.php @@ -21,6 +21,7 @@ final class AsUser * '__typename': 'User', * 'login': string, * 'name': string, + * ..., * } $data */ public function __construct( diff --git a/tests/Optimization/Generated/Query/Test/Error.php b/tests/Optimization/Generated/Query/Test/Error.php index c8f0383..e860576 100644 --- a/tests/Optimization/Generated/Query/Test/Error.php +++ b/tests/Optimization/Generated/Query/Test/Error.php @@ -14,6 +14,7 @@ * @param array{ * 'debugMessage'?: string, * 'message': string, + * ..., * } $error */ public function __construct(array $error) diff --git a/tests/Planner/PayloadShapeBuilderTest.php b/tests/Planner/PayloadShapeBuilderTest.php index a3f6f46..bb83f44 100644 --- a/tests/Planner/PayloadShapeBuilderTest.php +++ b/tests/Planner/PayloadShapeBuilderTest.php @@ -186,6 +186,7 @@ public function testSimpleDirectSelection() : void <<<'PHPDOC' array{ 'id': string, + ..., } PHPDOC, TypeDumper::dump($shape->toArrayShape()), @@ -217,7 +218,9 @@ public function testNestedSelection() : void 'user': null|array{ 'email': null|string, 'name': string, + ..., }, + ..., } PHPDOC, TypeDumper::dump($shape->toArrayShape()), @@ -247,7 +250,9 @@ public function testListField() : void 'users': list, }>, + ..., } PHPDOC, TypeDumper::dump($shape->toArrayShape()), @@ -318,12 +323,16 @@ public function testDirectSelectionAndFragmentWithSameField() : void 'canBeCollected': bool, 'customer': null|array{ 'id': string, + ..., }, 'id': string, 'transferReversals': list, }>, + ..., }>, + ..., } PHPDOC, TypeDumper::dump($shape->toArrayShape()), @@ -363,6 +372,7 @@ public function testInlineFragmentsOnInterface() : void 'email'?: string, 'id': string, 'role'?: string, + ..., } PHPDOC, TypeDumper::dump($shape->toArrayShape()), @@ -424,7 +434,9 @@ public function testMultipleFragmentsSelectingSameField() : void 'age': null|int, 'email': null|string, 'name': string, + ..., }, + ..., } PHPDOC, TypeDumper::dump($shape->toArrayShape()), @@ -451,6 +463,7 @@ public function testTypenameField() : void array{ '__typename': string, 'id': string, + ..., } PHPDOC, TypeDumper::dump($shape->toArrayShape()), @@ -486,7 +499,9 @@ public function testCustomScalars() : void 'lastSeen': null|scalar, 'metadata': null|scalar, 'name': string, + ..., }, + ..., } PHPDOC, TypeDumper::dump($shape->toArrayShape()), @@ -555,10 +570,13 @@ public function testComplexNestedMerging() : void 'createdAt': string, 'customer': null|array{ 'name': string, + ..., }, 'id': string, 'state': string, + ..., }>, + ..., } PHPDOC, TypeDumper::dump($shape->toArrayShape()), @@ -626,8 +644,11 @@ public function testUnionWithFragmentSpreads() : void 'canBeCollected': bool, 'id': string, 'state': string, + ..., }>, + ..., }>, + ..., } PHPDOC, TypeDumper::dump($shape->toArrayShape()), @@ -770,13 +791,17 @@ public function testDeeplyNestedWithLists() : void 'customer': null|array{ 'id': string, 'name': string, + ..., }, 'id': string, 'state': string, 'transferReversals': list, }>, + ..., }>, + ..., }>, 'transaction': null|array{ 'id': string, @@ -786,24 +811,31 @@ public function testDeeplyNestedWithLists() : void 'customer': null|array{ 'id': string, 'name': string, + ..., }, 'id': string, 'state': string, 'transferReversals': list, }>, + ..., }>, + ..., }, 'user': null|array{ 'email': null|string, 'id': string, 'name': string, + ..., }, 'users': list, }>, + ..., } PHPDOC, TypeDumper::dump($shape->toArrayShape()), @@ -865,13 +897,17 @@ public function testIncludeDirective() : void 'transfers'?: list, }>, + ..., }, 'user'?: null|array{ 'email': null|string, 'id': string, 'name': string, + ..., }, + ..., } PHPDOC, TypeDumper::dump($shape->toArrayShape()), @@ -928,11 +964,14 @@ public function testSkipDirective() : void 'email'?: null|string, 'id': string, 'name': string, + ..., }, 'users'?: list, }>, + ..., } PHPDOC, TypeDumper::dump($shape->toArrayShape()), @@ -1003,13 +1042,17 @@ public function testDirectivesWithFragments() : void 'transfers': list, }>, + ..., }, 'user': null|array{ 'email'?: null|string, 'id': string, 'name'?: string, + ..., }, + ..., } PHPDOC, TypeDumper::dump($shape->toArrayShape()), @@ -1161,10 +1204,13 @@ public function testComplexQueryWithAllFeatures() : void 'canBeCollected': bool, 'customer': null|array{ 'id': string, + ..., }, 'id': string, 'state': string, + ..., }>, + ..., }>, 'user': null|array{ 'email': null|string, @@ -1176,14 +1222,18 @@ public function testComplexQueryWithAllFeatures() : void 'age': null|int, 'email': null|string, 'name': string, + ..., }, + ..., }, 'viewer': null|array{ 'address'?: null|string, 'email'?: string, 'id': string, 'role'?: string, + ..., }, + ..., } PHPDOC, TypeDumper::dump($shape->toArrayShape()), @@ -1240,7 +1290,9 @@ public function testInterfaceInheritance() : void 'lastName'?: string, 'role'?: string, 'teamSize'?: int, + ..., }>, + ..., } PHPDOC, TypeDumper::dump($shape->toArrayShape()), @@ -1331,7 +1383,9 @@ public function testNestedInterfaceInheritanceWithFragments() : void 'lastName'?: string, 'role'?: string, 'teamSize'?: int, + ..., }>, + ..., } PHPDOC, TypeDumper::dump($shape->toArrayShape()), @@ -1376,7 +1430,9 @@ public function testMixedInterfaceAndDirectSelection() : void 'lastName'?: string, 'role'?: string, 'teamSize'?: int, + ..., }>, + ..., } PHPDOC, TypeDumper::dump($shape->toArrayShape()), @@ -1468,7 +1524,9 @@ public function testComplexInterfaceInheritanceWithConditionalFragments() : void 'lastName'?: string, 'role'?: string, 'teamSize'?: int, + ..., }>, + ..., } PHPDOC, TypeDumper::dump($shape->toArrayShape()), @@ -1529,7 +1587,9 @@ public function testNestedFragmentSpreadMerging() : void 'canBeCollected': bool, 'transferReversals': list, }>, + ..., } PHPDOC, TypeDumper::dump($shape->toArrayShape()), @@ -1588,9 +1648,12 @@ public function testFragmentSpreadIncludedInPayloadShape() : void 'transfers': list, }, 'id': string, + ..., }>, + ..., } PHPDOC, TypeDumper::dump($shape->toArrayShape()), @@ -1619,9 +1682,12 @@ public function testFragmentSpreadIncludedInPayloadShape() : void 'canBeCollected': bool, 'customer': null|array{ 'id': string, + ..., }, 'id': string, + ..., }>, + ..., } PHPDOC, TypeDumper::dump($shape2->toArrayShape()), diff --git a/tests/QueryObjectTypename/Generated/Query/Test/Data.php b/tests/QueryObjectTypename/Generated/Query/Test/Data.php index ab9eda9..36bf029 100644 --- a/tests/QueryObjectTypename/Generated/Query/Test/Data.php +++ b/tests/QueryObjectTypename/Generated/Query/Test/Data.php @@ -30,22 +30,29 @@ final class Data * '__typename': string, * 'fxFee'?: null|array{ * '__typename': string, + * ..., * }, * 'id'?: string, + * ..., * }, * 'supportedCountry': array{ * 'error': null|array{ * '__typename': string, + * ..., * }, * 'info': null|array{ * 'name': string, + * ..., * }, + * ..., * }, + * ..., * } $data * @param list, * }> $errors */ public function __construct( diff --git a/tests/QueryObjectTypename/Generated/Query/Test/Data/Order.php b/tests/QueryObjectTypename/Generated/Query/Test/Data/Order.php index 7722a94..9015496 100644 --- a/tests/QueryObjectTypename/Generated/Query/Test/Data/Order.php +++ b/tests/QueryObjectTypename/Generated/Query/Test/Data/Order.php @@ -45,8 +45,10 @@ final class Order * '__typename': string, * 'fxFee'?: null|array{ * '__typename': string, + * ..., * }, * 'id'?: string, + * ..., * } $data */ public function __construct( diff --git a/tests/QueryObjectTypename/Generated/Query/Test/Data/Order/AsMarketPlaceOrderItem.php b/tests/QueryObjectTypename/Generated/Query/Test/Data/Order/AsMarketPlaceOrderItem.php index 53f2c1c..56cc031 100644 --- a/tests/QueryObjectTypename/Generated/Query/Test/Data/Order/AsMarketPlaceOrderItem.php +++ b/tests/QueryObjectTypename/Generated/Query/Test/Data/Order/AsMarketPlaceOrderItem.php @@ -23,8 +23,10 @@ final class AsMarketPlaceOrderItem * '__typename': 'MarketPlaceOrderItem', * 'fxFee': null|array{ * '__typename': string, + * ..., * }, * 'id': string, + * ..., * } $data */ public function __construct( diff --git a/tests/QueryObjectTypename/Generated/Query/Test/Data/Order/AsMarketPlaceOrderItem/FxFee.php b/tests/QueryObjectTypename/Generated/Query/Test/Data/Order/AsMarketPlaceOrderItem/FxFee.php index e726c55..4e0787d 100644 --- a/tests/QueryObjectTypename/Generated/Query/Test/Data/Order/AsMarketPlaceOrderItem/FxFee.php +++ b/tests/QueryObjectTypename/Generated/Query/Test/Data/Order/AsMarketPlaceOrderItem/FxFee.php @@ -18,6 +18,7 @@ final class FxFee /** * @param array{ * '__typename': string, + * ..., * } $data */ public function __construct( diff --git a/tests/QueryObjectTypename/Generated/Query/Test/Data/SupportedCountry.php b/tests/QueryObjectTypename/Generated/Query/Test/Data/SupportedCountry.php index eda922e..4d8b6fd 100644 --- a/tests/QueryObjectTypename/Generated/Query/Test/Data/SupportedCountry.php +++ b/tests/QueryObjectTypename/Generated/Query/Test/Data/SupportedCountry.php @@ -23,10 +23,13 @@ final class SupportedCountry * @param array{ * 'error': null|array{ * '__typename': string, + * ..., * }, * 'info': null|array{ * 'name': string, + * ..., * }, + * ..., * } $data */ public function __construct( diff --git a/tests/QueryObjectTypename/Generated/Query/Test/Data/SupportedCountry/Error.php b/tests/QueryObjectTypename/Generated/Query/Test/Data/SupportedCountry/Error.php index d22b193..319d462 100644 --- a/tests/QueryObjectTypename/Generated/Query/Test/Data/SupportedCountry/Error.php +++ b/tests/QueryObjectTypename/Generated/Query/Test/Data/SupportedCountry/Error.php @@ -18,6 +18,7 @@ final class Error /** * @param array{ * '__typename': string, + * ..., * } $data */ public function __construct( diff --git a/tests/QueryObjectTypename/Generated/Query/Test/Data/SupportedCountry/Info.php b/tests/QueryObjectTypename/Generated/Query/Test/Data/SupportedCountry/Info.php index 288e80e..efcc050 100644 --- a/tests/QueryObjectTypename/Generated/Query/Test/Data/SupportedCountry/Info.php +++ b/tests/QueryObjectTypename/Generated/Query/Test/Data/SupportedCountry/Info.php @@ -15,6 +15,7 @@ final class Info /** * @param array{ * 'name': string, + * ..., * } $data */ public function __construct( diff --git a/tests/QueryObjectTypename/Generated/Query/Test/Error.php b/tests/QueryObjectTypename/Generated/Query/Test/Error.php index a09cc12..d275719 100644 --- a/tests/QueryObjectTypename/Generated/Query/Test/Error.php +++ b/tests/QueryObjectTypename/Generated/Query/Test/Error.php @@ -14,6 +14,7 @@ * @param array{ * 'debugMessage'?: string, * 'message': string, + * ..., * } $error */ public function __construct(array $error) diff --git a/tests/Simple/Generated/Query/Test/Data.php b/tests/Simple/Generated/Query/Test/Data.php index 2373c68..1cc5d58 100644 --- a/tests/Simple/Generated/Query/Test/Data.php +++ b/tests/Simple/Generated/Query/Test/Data.php @@ -26,13 +26,17 @@ final class Data * 'projects': list, * }>, + * ..., * }, + * ..., * } $data * @param list, * }> $errors */ public function __construct( diff --git a/tests/Simple/Generated/Query/Test/Data/Viewer.php b/tests/Simple/Generated/Query/Test/Data/Viewer.php index ee6d068..65b49c7 100644 --- a/tests/Simple/Generated/Query/Test/Data/Viewer.php +++ b/tests/Simple/Generated/Query/Test/Data/Viewer.php @@ -27,7 +27,9 @@ final class Viewer * 'projects': list, * }>, + * ..., * } $data */ public function __construct( diff --git a/tests/Simple/Generated/Query/Test/Data/Viewer/Project.php b/tests/Simple/Generated/Query/Test/Data/Viewer/Project.php index 0b054aa..51974b1 100644 --- a/tests/Simple/Generated/Query/Test/Data/Viewer/Project.php +++ b/tests/Simple/Generated/Query/Test/Data/Viewer/Project.php @@ -20,6 +20,7 @@ final class Project * @param array{ * 'description': null|string, * 'name': string, + * ..., * } $data */ public function __construct( diff --git a/tests/Simple/Generated/Query/Test/Error.php b/tests/Simple/Generated/Query/Test/Error.php index 62104c2..250cf96 100644 --- a/tests/Simple/Generated/Query/Test/Error.php +++ b/tests/Simple/Generated/Query/Test/Error.php @@ -14,6 +14,7 @@ * @param array{ * 'debugMessage'?: string, * 'message': string, + * ..., * } $error */ public function __construct(array $error) diff --git a/tests/StaleImportRemoval/Generated/Query/GetViewer6b9a6d/Data.php b/tests/StaleImportRemoval/Generated/Query/GetViewer6b9a6d/Data.php index 81dab9d..d809a3a 100644 --- a/tests/StaleImportRemoval/Generated/Query/GetViewer6b9a6d/Data.php +++ b/tests/StaleImportRemoval/Generated/Query/GetViewer6b9a6d/Data.php @@ -23,12 +23,15 @@ final class Data * @param array{ * 'viewer': array{ * 'login': string, + * ..., * }, + * ..., * } $data * @param list, * }> $errors */ public function __construct( diff --git a/tests/StaleImportRemoval/Generated/Query/GetViewer6b9a6d/Data/Viewer.php b/tests/StaleImportRemoval/Generated/Query/GetViewer6b9a6d/Data/Viewer.php index 6fa9210..5013909 100644 --- a/tests/StaleImportRemoval/Generated/Query/GetViewer6b9a6d/Data/Viewer.php +++ b/tests/StaleImportRemoval/Generated/Query/GetViewer6b9a6d/Data/Viewer.php @@ -15,6 +15,7 @@ final class Viewer /** * @param array{ * 'login': string, + * ..., * } $data */ public function __construct( diff --git a/tests/StaleImportRemoval/Generated/Query/GetViewer6b9a6d/Error.php b/tests/StaleImportRemoval/Generated/Query/GetViewer6b9a6d/Error.php index 31fe268..a319b1e 100644 --- a/tests/StaleImportRemoval/Generated/Query/GetViewer6b9a6d/Error.php +++ b/tests/StaleImportRemoval/Generated/Query/GetViewer6b9a6d/Error.php @@ -14,6 +14,7 @@ * @param array{ * 'debugMessage'?: string, * 'message': string, + * ..., * } $error */ public function __construct(array $error) diff --git a/tests/SymfonyExclude/Generated/Query/Test/Data.php b/tests/SymfonyExclude/Generated/Query/Test/Data.php index 57ecc9f..02ee000 100644 --- a/tests/SymfonyExclude/Generated/Query/Test/Data.php +++ b/tests/SymfonyExclude/Generated/Query/Test/Data.php @@ -28,13 +28,17 @@ final class Data * 'projects': list, * }>, + * ..., * }, + * ..., * } $data * @param list, * }> $errors */ public function __construct( diff --git a/tests/SymfonyExclude/Generated/Query/Test/Data/Viewer.php b/tests/SymfonyExclude/Generated/Query/Test/Data/Viewer.php index aea3af4..9190469 100644 --- a/tests/SymfonyExclude/Generated/Query/Test/Data/Viewer.php +++ b/tests/SymfonyExclude/Generated/Query/Test/Data/Viewer.php @@ -29,7 +29,9 @@ final class Viewer * 'projects': list, * }>, + * ..., * } $data */ public function __construct( diff --git a/tests/SymfonyExclude/Generated/Query/Test/Data/Viewer/Project.php b/tests/SymfonyExclude/Generated/Query/Test/Data/Viewer/Project.php index ac6c769..fa866b8 100644 --- a/tests/SymfonyExclude/Generated/Query/Test/Data/Viewer/Project.php +++ b/tests/SymfonyExclude/Generated/Query/Test/Data/Viewer/Project.php @@ -23,6 +23,7 @@ final class Project * @param array{ * 'description': null|string, * 'name': string, + * ..., * } $data */ public function __construct( diff --git a/tests/SymfonyExclude/Generated/Query/Test/Error.php b/tests/SymfonyExclude/Generated/Query/Test/Error.php index 5b19c9d..599c980 100644 --- a/tests/SymfonyExclude/Generated/Query/Test/Error.php +++ b/tests/SymfonyExclude/Generated/Query/Test/Error.php @@ -17,6 +17,7 @@ * @param array{ * 'debugMessage'?: string, * 'message': string, + * ..., * } $error */ public function __construct(array $error) diff --git a/tests/TestClient.php b/tests/TestClient.php index 017c26b..b60408d 100644 --- a/tests/TestClient.php +++ b/tests/TestClient.php @@ -41,7 +41,7 @@ public function graphql(string $query, array $variables = [], ?string $operation ); $response = $this->client->sendRequest($request); Assert::same(200, $response->getStatusCode(), 'GraphQL server responded with a %2$s status code.'); - $data = json_decode((string) $response->getBody(), true, JSON_THROW_ON_ERROR); + $data = json_decode((string) $response->getBody(), true, 512, JSON_THROW_ON_ERROR); Assert::isArray($data, 'GraphQL server did not return an array.'); return $data; diff --git a/tests/ThrowWhenNullDirective/Generated/Query/Test/Data.php b/tests/ThrowWhenNullDirective/Generated/Query/Test/Data.php index ef4c37b..91b211c 100644 --- a/tests/ThrowWhenNullDirective/Generated/Query/Test/Data.php +++ b/tests/ThrowWhenNullDirective/Generated/Query/Test/Data.php @@ -31,13 +31,17 @@ final class Data * 'project': null|array{ * 'id': string, * 'name': string, + * ..., * }, + * ..., * }, + * ..., * } $data * @param list, * }> $errors */ public function __construct( diff --git a/tests/ThrowWhenNullDirective/Generated/Query/Test/Data/Viewer.php b/tests/ThrowWhenNullDirective/Generated/Query/Test/Data/Viewer.php index 79dad48..657929f 100644 --- a/tests/ThrowWhenNullDirective/Generated/Query/Test/Data/Viewer.php +++ b/tests/ThrowWhenNullDirective/Generated/Query/Test/Data/Viewer.php @@ -36,7 +36,9 @@ final class Viewer * 'project': null|array{ * 'id': string, * 'name': string, + * ..., * }, + * ..., * } $data */ public function __construct( diff --git a/tests/ThrowWhenNullDirective/Generated/Query/Test/Data/Viewer/Project.php b/tests/ThrowWhenNullDirective/Generated/Query/Test/Data/Viewer/Project.php index ab5a397..687dcd7 100644 --- a/tests/ThrowWhenNullDirective/Generated/Query/Test/Data/Viewer/Project.php +++ b/tests/ThrowWhenNullDirective/Generated/Query/Test/Data/Viewer/Project.php @@ -20,6 +20,7 @@ final class Project * @param array{ * 'id': string, * 'name': string, + * ..., * } $data */ public function __construct( diff --git a/tests/ThrowWhenNullDirective/Generated/Query/Test/Error.php b/tests/ThrowWhenNullDirective/Generated/Query/Test/Error.php index 26e7f7c..0eb680e 100644 --- a/tests/ThrowWhenNullDirective/Generated/Query/Test/Error.php +++ b/tests/ThrowWhenNullDirective/Generated/Query/Test/Error.php @@ -14,6 +14,7 @@ * @param array{ * 'debugMessage'?: string, * 'message': string, + * ..., * } $error */ public function __construct(array $error) diff --git a/tests/Twig/Generated/Fragment/AdminProjectList.php b/tests/Twig/Generated/Fragment/AdminProjectList.php index 2fb442e..d75b5b1 100644 --- a/tests/Twig/Generated/Fragment/AdminProjectList.php +++ b/tests/Twig/Generated/Fragment/AdminProjectList.php @@ -35,10 +35,13 @@ final class AdminProjectList * 'id': string, * 'name': string, * 'state': null|string, + * ..., * }>, * 'viewer': array{ * 'name': string, + * ..., * }, + * ..., * } $data */ public function __construct( diff --git a/tests/Twig/Generated/Fragment/AdminProjectList/Project.php b/tests/Twig/Generated/Fragment/AdminProjectList/Project.php index d7238bd..3a9fe84 100644 --- a/tests/Twig/Generated/Fragment/AdminProjectList/Project.php +++ b/tests/Twig/Generated/Fragment/AdminProjectList/Project.php @@ -26,6 +26,7 @@ final class Project * 'id': string, * 'name': string, * 'state': null|string, + * ..., * } $data */ public function __construct( diff --git a/tests/Twig/Generated/Fragment/AdminProjectList/Viewer.php b/tests/Twig/Generated/Fragment/AdminProjectList/Viewer.php index 630229e..275a44f 100644 --- a/tests/Twig/Generated/Fragment/AdminProjectList/Viewer.php +++ b/tests/Twig/Generated/Fragment/AdminProjectList/Viewer.php @@ -22,6 +22,7 @@ final class Viewer /** * @param array{ * 'name': string, + * ..., * } $data */ public function __construct( diff --git a/tests/Twig/Generated/Fragment/AdminProjectOptions.php b/tests/Twig/Generated/Fragment/AdminProjectOptions.php index eb1c910..444a6e8 100644 --- a/tests/Twig/Generated/Fragment/AdminProjectOptions.php +++ b/tests/Twig/Generated/Fragment/AdminProjectOptions.php @@ -31,6 +31,7 @@ final class AdminProjectOptions /** * @param array{ * 'state': null|string, + * ..., * } $data */ public function __construct( diff --git a/tests/Twig/Generated/Fragment/AdminProjectRow.php b/tests/Twig/Generated/Fragment/AdminProjectRow.php index 90a5995..501fb78 100644 --- a/tests/Twig/Generated/Fragment/AdminProjectRow.php +++ b/tests/Twig/Generated/Fragment/AdminProjectRow.php @@ -45,6 +45,7 @@ final class AdminProjectRow * 'id': string, * 'name': string, * 'state': null|string, + * ..., * } $data */ public function __construct( diff --git a/tests/Twig/Generated/Query/Projectsd4cba6/Data.php b/tests/Twig/Generated/Query/Projectsd4cba6/Data.php index bb84cd2..d6f6f2b 100644 --- a/tests/Twig/Generated/Query/Projectsd4cba6/Data.php +++ b/tests/Twig/Generated/Query/Projectsd4cba6/Data.php @@ -33,15 +33,19 @@ final class Data * 'id': string, * 'name': string, * 'state': null|string, + * ..., * }>, * 'viewer': array{ * 'name': string, + * ..., * }, + * ..., * } $data * @param list, * }> $errors */ public function __construct( diff --git a/tests/Twig/Generated/Query/Projectsd4cba6/Error.php b/tests/Twig/Generated/Query/Projectsd4cba6/Error.php index df2926d..75cb34c 100644 --- a/tests/Twig/Generated/Query/Projectsd4cba6/Error.php +++ b/tests/Twig/Generated/Query/Projectsd4cba6/Error.php @@ -14,6 +14,7 @@ * @param array{ * 'debugMessage'?: string, * 'message': string, + * ..., * } $error */ public function __construct(array $error)