Decoupled exceptionHandler and made unit tests for it. #1317
php.yml
on: push
tests
20s
mutation
1m 52s
Matrix: tests-matrix
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;
}
}
|