Bump infection/infection from 0.29.6 to 0.29.7 #1246
Annotations
12 warnings
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Mutation tests:
src/Exception/Value/InvalidValue.php#L18
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 tests:
src/Exception/Value/InvalidValue.php#L18
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 tests:
src/Exception/Value/InvalidValue.php#L26
Escaped Mutant for Mutator "InstanceOf_":
@@ @@
if (\is_array($rawValue)) {
return 'list';
}
- if ($rawValue instanceof \stdClass) {
+ if (true) {
return 'object';
}
return $rawValue::class;
}
}
|
Mutation tests:
src/Exception/Value/InvalidValue.php#L26
Escaped Mutant for Mutator "InstanceOf_":
@@ @@
if (\is_array($rawValue)) {
return 'list';
}
- if ($rawValue instanceof \stdClass) {
+ if (false) {
return 'object';
}
return $rawValue::class;
}
}
|
Mutation tests:
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 tests:
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 tests:
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 tests:
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 tests:
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 tests:
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;
}
}
|
Loading