Skip to content

Decoupled exceptionHandler and made unit tests for it. #1317

Decoupled exceptionHandler and made unit tests for it.

Decoupled exceptionHandler and made unit tests for it. #1317

Triggered via push December 17, 2025 14:14
Status Failure
Total duration 2m 17s
Artifacts

php.yml

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

Annotations

3 errors and 10 warnings
phpstan
Process completed with exit code 1.
phpstan: src/Resolver/Visitor/ResolveSelectionVisitor.php#L58
Parameter #1 $value of static method Graphpinator\Resolver\Visitor\ResolveSelectionVisitor::addToResultingSelection() expects Graphpinator\Value\ListResolvedValue|Graphpinator\Value\NullValue|Graphpinator\Value\TypeValue, Graphpinator\Value\ResolvedValue given.
codestyle
Process completed with exit code 1.
mutation: src/Graphpinator.php#L87
Escaped Mutant for Mutator "InstanceOf_": @@ @@ $result = $this->normalizer->normalize($result); foreach ($this->modules as $module) { $result = $module->processNormalized($result); - if (!$result instanceof NormalizedRequest) { + if (!false) { break; } }
mutation: src/Graphpinator.php#L87
Escaped Mutant for Mutator "InstanceOf_": @@ @@ $result = $this->normalizer->normalize($result); foreach ($this->modules as $module) { $result = $module->processNormalized($result); - if (!$result instanceof NormalizedRequest) { + if (!true) { break; } }
mutation: src/Graphpinator.php#L76
Escaped Mutant for Mutator "Break_": @@ @@ foreach ($this->modules as $module) { $result = $module->processParsed($result); if (!$result instanceof ParsedRequest) { - break; + continue; } } }
mutation: src/Graphpinator.php#L75
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#L75
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 (!false) { break; } }
mutation: src/Graphpinator.php#L75
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 (!true) { break; } }
mutation: src/Graphpinator.php#L65
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#L64
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#L64
Escaped Mutant for Mutator "InstanceOf_": @@ @@ $this->logger->debug($request->query); foreach ($this->modules as $module) { $result = $module->processRequest($request); - if (!$result instanceof Request) { + if (!false) { break; } }
mutation: src/Graphpinator.php#L64
Escaped Mutant for Mutator "InstanceOf_": @@ @@ $this->logger->debug($request->query); foreach ($this->modules as $module) { $result = $module->processRequest($request); - if (!$result instanceof Request) { + if (!true) { break; } }