Skip to content

Made deprecation reason not nullable. #1338

Made deprecation reason not nullable.

Made deprecation reason not nullable. #1338

Triggered via push January 9, 2026 21:26
Status Failure
Total duration 2m 48s
Artifacts

php.yml

on: push
Matrix: tests-matrix
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
phpstan
Process completed with exit code 1.
phpstan: src/Resolver/Visitor/ResolveSelectionVisitor.php#L214
Parameter #1 $value of static method Graphpinator\Resolver\Visitor\ResolveSelectionVisitor::addToResultingSelection() expects Graphpinator\Value\ListValue|Graphpinator\Value\NullValue|Graphpinator\Value\TypeValue, Graphpinator\Value\Contract\Value given.
phpstan: src/Resolver/Visitor/ResolveSelectionVisitor.php#L58
Parameter #1 $value of static method Graphpinator\Resolver\Visitor\ResolveSelectionVisitor::addToResultingSelection() expects Graphpinator\Value\ListValue|Graphpinator\Value\NullValue|Graphpinator\Value\TypeValue, Graphpinator\Value\Contract\OutputValue given.
phpstan: src/Resolver/Resolver.php#L94
Parameter #1 $data of class Graphpinator\Resolver\Result constructor expects Graphpinator\Value\TypeValue|null, Graphpinator\Value\Contract\OutputValue given.
phpstan: src/Resolver/Resolver.php#L91
Parameter #2 $typeValue of method Graphpinator\Typesystem\Location\SubscriptionLocation::resolveSubscriptionAfter() expects Graphpinator\Value\TypeValue, Graphpinator\Value\Contract\OutputValue given.
phpstan: src/Resolver/Resolver.php#L70
Parameter #1 $data of class Graphpinator\Resolver\Result constructor expects Graphpinator\Value\TypeValue|null, Graphpinator\Value\Contract\OutputValue given.
phpstan: src/Resolver/Resolver.php#L67
Parameter #2 $typeValue of method Graphpinator\Typesystem\Location\MutationLocation::resolveMutationAfter() expects Graphpinator\Value\TypeValue, Graphpinator\Value\Contract\OutputValue given.
phpstan: src/Resolver/Resolver.php#L50
Parameter #1 $data of class Graphpinator\Resolver\Result constructor expects Graphpinator\Value\TypeValue|null, Graphpinator\Value\Contract\OutputValue given.
phpstan: src/Resolver/Resolver.php#L47
Parameter #2 $typeValue of method Graphpinator\Typesystem\Location\QueryLocation::resolveQueryAfter() expects Graphpinator\Value\TypeValue, Graphpinator\Value\Contract\OutputValue given.
codestyle
Process completed with exit code 1.
mutation: src/Graphpinator.php#L93
Escaped Mutant for Mutator "Break_": @@ @@ foreach ($this->modules as $module) { $result = $module->processNormalized($result); if (!$result instanceof NormalizedRequest) { - break; + continue; } } }
mutation: src/Graphpinator.php#L92
Escaped Mutant for Mutator "LogicalNot": @@ @@ $result = $this->normalizer->normalize($result); foreach ($this->modules as $module) { $result = $module->processNormalized($result); - if (!$result instanceof NormalizedRequest) { + if ($result instanceof NormalizedRequest) { break; } }
mutation: src/Graphpinator.php#L92
Escaped Mutant for Mutator "InstanceOf_": @@ @@ $result = $this->normalizer->normalize($result); foreach ($this->modules as $module) { $result = $module->processNormalized($result); - if (!$result instanceof NormalizedRequest) { + if ($result instanceof NormalizedRequest) { break; } }
mutation: src/Graphpinator.php#L81
Escaped Mutant for Mutator "Break_": @@ @@ foreach ($this->modules as $module) { $result = $module->processParsed($result); if (!$result instanceof ParsedRequest) { - break; + continue; } } }
mutation: src/Graphpinator.php#L80
Escaped Mutant for Mutator "LogicalNot": @@ @@ $result = $this->parser->parse(new StringSource($request->query)); foreach ($this->modules as $module) { $result = $module->processParsed($result); - if (!$result instanceof ParsedRequest) { + if ($result instanceof ParsedRequest) { break; } }
mutation: src/Graphpinator.php#L80
Escaped Mutant for Mutator "InstanceOf_": @@ @@ $result = $this->parser->parse(new StringSource($request->query)); foreach ($this->modules as $module) { $result = $module->processParsed($result); - if (!$result instanceof ParsedRequest) { + if ($result instanceof ParsedRequest) { break; } }
mutation: src/Graphpinator.php#L70
Escaped Mutant for Mutator "Break_": @@ @@ foreach ($this->modules as $module) { $result = $module->processRequest($request); if (!$result instanceof Request) { - break; + continue; } } if ($result instanceof Request) {
mutation: src/Graphpinator.php#L69
Escaped Mutant for Mutator "LogicalNot": @@ @@ $this->logger->debug($request->query); foreach ($this->modules as $module) { $result = $module->processRequest($request); - if (!$result instanceof Request) { + if ($result instanceof Request) { break; } }
mutation: src/Graphpinator.php#L69
Escaped Mutant for Mutator "InstanceOf_": @@ @@ $this->logger->debug($request->query); foreach ($this->modules as $module) { $result = $module->processRequest($request); - if (!$result instanceof Request) { + if ($result instanceof Request) { break; } }
mutation: src/Graphpinator.php#L57
Escaped Mutant for Mutator "MethodCallRemoval": @@ @@ public function run(RequestFactory $requestFactory): Result { if (self::$validateSchema) { - $this->schema->accept(new ValidateIntegrityVisitor()); + } try { $request = $requestFactory->create();