Simplified interface implementor contract #1324
php.yml
on: push
tests
18s
mutation
1m 58s
Matrix: tests-matrix
Annotations
5 errors and 10 warnings
|
phpstan
Process completed with exit code 1.
|
|
phpstan:
src/Typesystem/Visitor/ValidateIntegrityVisitor.php#L451
Call to an undefined method Graphpinator\Typesystem\Contract\TypeSystemDirective::validateVariance().
|
|
phpstan:
src/Typesystem/Visitor/ValidateIntegrityVisitor.php#L445
Call to an undefined method Graphpinator\Typesystem\Contract\TypeSystemDirective::validateVariance().
|
|
codestyle
Process completed with exit code 1.
|
|
mutation
Process completed with exit code 1.
|
|
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 (!true) {
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 (!false) {
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 (!true) {
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 (!false) {
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 (!true) {
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();
|