Bump infection/infection from 0.27.8 to 0.29.8 #193
php.yml
on: pull_request
tests
37s
phpstan
0s
codestyle
16s
mutation
19s
Annotations
12 warnings
codestyle
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/
|
codestyle
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/
|
tests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, codecov/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, codecov/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
mutation
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/
|
mutation
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:
src/Deserializer.php#L114
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
$typeCond = $this->deserializeType($fragmentSpread->typeCond);
$this->typeStack->push($typeCond);
$return = new \Graphpinator\Normalizer\Selection\FragmentSpread($fragmentSpread->fragmentName, $this->deserializeSelectionSet((object) $fragmentSpread->selectionSet), $this->deserializeDirectiveSet((object) $fragmentSpread->directiveSet), $typeCond);
- $this->typeStack->pop();
+
return $return;
}
private function deserializeInlineFragment(\stdClass $inlineSpread): \Graphpinator\Normalizer\Selection\InlineFragment
|
mutation:
src/Deserializer.php#L131
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
$typeCond = $this->deserializeType($inlineSpread->typeCond);
$this->typeStack->push($typeCond ?? $this->typeStack->top());
$return = new \Graphpinator\Normalizer\Selection\InlineFragment($this->deserializeSelectionSet((object) $inlineSpread->selectionSet), $this->deserializeDirectiveSet((object) $inlineSpread->directiveSet), $typeCond);
- $this->typeStack->pop();
+
return $return;
}
private function deserializeDirectiveSet(\stdClass $directiveSet): \Graphpinator\Normalizer\Directive\DirectiveSet
|
mutation:
src/Deserializer.php#L180
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
$argument = $this->currentArguments->offsetGet($argumentValue->argument);
$this->typeStack->push($argument->getType());
$return = new \Graphpinator\Value\ArgumentValue($argument, $this->deserializeInputedValue($argumentValue->value), true);
- $this->typeStack->pop();
+
return $return;
}
private function deserializeVariableSet(\stdClass $variableSet): \Graphpinator\Normalizer\Variable\VariableSet
|
mutation:
src/Deserializer.php#L224
Escaped Mutant for Mutator "FalseValue":
@@ @@
}
private function deserializeScalarValue(\stdClass $inputedValue): \Graphpinator\Value\ScalarValue
{
- $scalarValue = new \Graphpinator\Value\ScalarValue($this->deserializeType($inputedValue->type), $inputedValue->value, false);
+ $scalarValue = new \Graphpinator\Value\ScalarValue($this->deserializeType($inputedValue->type), $inputedValue->value, true);
if (isset($inputedValue->resolverValue)) {
$scalarValue->setResolverValue(\unserialize($inputedValue->resolverValue));
}
|
mutation:
src/Deserializer.php#L276
Escaped Mutant for Mutator "FalseValue":
@@ @@
return match ($inputedValue->valueType) {
\Graphpinator\Value\NullInputedValue::class => new \Graphpinator\Value\NullInputedValue($this->deserializeType($inputedValue->type)),
\Graphpinator\Value\ScalarValue::class => $this->deserializeScalarValue($inputedValue),
- \Graphpinator\Value\EnumValue::class => new \Graphpinator\Value\EnumValue($this->deserializeType($inputedValue->type), $inputedValue->value, false),
+ \Graphpinator\Value\EnumValue::class => new \Graphpinator\Value\EnumValue($this->deserializeType($inputedValue->type), $inputedValue->value, true),
\Graphpinator\Value\VariableValue::class => new \Graphpinator\Value\VariableValue($this->deserializeType($inputedValue->type), $this->currentVariableSet->offsetGet($inputedValue->variableName)),
\Graphpinator\Value\ListInputedValue::class => $this->deserializeListInputedValue($inputedValue),
\Graphpinator\Value\InputValue::class => $this->deserializeInputValue($inputedValue),
|
mutation:
src/Serializer.php#L123
Escaped Mutant for Mutator "InstanceOf_":
@@ @@
}
private function serializeInlineFragment(\Graphpinator\Normalizer\Selection\InlineFragment $inlineFragment): array
{
- return ['selectionType' => \Graphpinator\Normalizer\Selection\InlineFragment::class, 'selectionSet' => $this->serializeSelectionSet($inlineFragment->getSelections()), 'directiveSet' => $this->serializeDirectiveSet($inlineFragment->getDirectives()), 'typeCond' => $inlineFragment->getTypeCondition() instanceof \Graphpinator\Typesystem\Contract\TypeConditionable ? $this->serializeType($inlineFragment->getTypeCondition()) : null];
+ return ['selectionType' => \Graphpinator\Normalizer\Selection\InlineFragment::class, 'selectionSet' => $this->serializeSelectionSet($inlineFragment->getSelections()), 'directiveSet' => $this->serializeDirectiveSet($inlineFragment->getDirectives()), 'typeCond' => true ? $this->serializeType($inlineFragment->getTypeCondition()) : null];
}
private function serializeArgumentValueSet(\Graphpinator\Value\ArgumentValueSet $argumentValueSet): array
{
|