Merge pull request #406 from graphpql/dependabot/composer/infection/i… #1252
php.yml
on: push
tests
17s
phpstan
19s
codestyle
0s
mutation
1m 53s
Matrix: tests-matrix
Annotations
3 errors and 17 warnings
phpstan:
src/Normalizer/Normalizer.php#L137
Match expression does not handle remaining value: string
|
phpstan:
src/Resolver/Resolver.php#L22
Match expression does not handle remaining value: string
|
phpstan
Process completed with exit code 1.
|
tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
phpstan
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
tests-matrix (8.3, 0)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
tests-matrix (8.2, 0)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
tests-matrix (8.2, 1)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
tests-matrix (8.3, 1)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
mutation
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
mutation:
src/Exception/Value/InvalidValue.php#L22
Escaped Mutant for Mutator "Identical":
@@ @@
}
private function printValue(mixed $rawValue): string
{
- if ($rawValue === null || \is_scalar($rawValue)) {
+ if ($rawValue !== null || \is_scalar($rawValue)) {
return \json_encode($rawValue, \JSON_THROW_ON_ERROR);
}
if (\is_array($rawValue)) {
|
mutation:
src/Exception/Value/InvalidValue.php#L22
Escaped Mutant for Mutator "LogicalOrAllSubExprNegation":
@@ @@
}
private function printValue(mixed $rawValue): string
{
- if ($rawValue === null || \is_scalar($rawValue)) {
+ if (!($rawValue === null) || !\is_scalar($rawValue)) {
return \json_encode($rawValue, \JSON_THROW_ON_ERROR);
}
if (\is_array($rawValue)) {
|
mutation:
src/Exception/Value/InvalidValue.php#L30
Escaped Mutant for Mutator "InstanceOf_":
@@ @@
if (\is_array($rawValue)) {
return 'list';
}
- if ($rawValue instanceof \stdClass) {
+ if (true) {
return 'object';
}
return $rawValue::class;
}
}
|
mutation:
src/Exception/Value/InvalidValue.php#L30
Escaped Mutant for Mutator "InstanceOf_":
@@ @@
if (\is_array($rawValue)) {
return 'list';
}
- if ($rawValue instanceof \stdClass) {
+ if (false) {
return 'object';
}
return $rawValue::class;
}
}
|
mutation:
src/Graphpinator.php#L65
Escaped Mutant for Mutator "InstanceOf_":
@@ @@
$this->logger->debug($request->getQuery());
foreach ($this->modules as $module) {
$result = $module->processRequest($request);
- if (!$result instanceof Request) {
+ if (!true) {
break;
}
}
|
mutation:
src/Graphpinator.php#L65
Escaped Mutant for Mutator "InstanceOf_":
@@ @@
$this->logger->debug($request->getQuery());
foreach ($this->modules as $module) {
$result = $module->processRequest($request);
- if (!$result instanceof Request) {
+ if (!false) {
break;
}
}
|
mutation:
src/Graphpinator.php#L65
Escaped Mutant for Mutator "LogicalNot":
@@ @@
$this->logger->debug($request->getQuery());
foreach ($this->modules as $module) {
$result = $module->processRequest($request);
- if (!$result instanceof Request) {
+ if ($result instanceof Request) {
break;
}
}
|
mutation:
src/Graphpinator.php#L66
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#L76
Escaped Mutant for Mutator "InstanceOf_":
@@ @@
$result = $this->parser->parse(new StringSource($request->getQuery()));
foreach ($this->modules as $module) {
$result = $module->processParsed($result);
- if (!$result instanceof ParsedRequest) {
+ if (!true) {
break;
}
}
|
mutation:
src/Graphpinator.php#L76
Escaped Mutant for Mutator "InstanceOf_":
@@ @@
$result = $this->parser->parse(new StringSource($request->getQuery()));
foreach ($this->modules as $module) {
$result = $module->processParsed($result);
- if (!$result instanceof ParsedRequest) {
+ if (!false) {
break;
}
}
|