chore(deps): update codecov/codecov-action action to v5 #329
Annotations
11 warnings
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Run Infection:
src/Builder/EnumBuilder.php#L44
Escaped Mutant for Mutator "CastString":
@@ @@
/** @return $this */
public function addValue(int|string $value, string|null $name = null, string|null $description = null, string|null $deprecationReason = null): self
{
- $name ??= (string) $value;
+ $name ??= $value;
if (preg_match(self::VALID_NAME_PATTERN, $name) !== 1) {
throw InvalidArgument::invalidNameFormat($name);
}
|
Run Infection:
src/Builder/EnumBuilder.php#L68
Escaped Mutant for Mutator "ArrayItem":
@@ @@
/** @phpstan-return EnumTypeConfig */
public function build(): array
{
- return ['name' => $this->name, 'description' => $this->description, 'values' => $this->values];
+ return ['name' => $this->name, 'description' > $this->description, 'values' => $this->values];
}
}
|
Run Infection:
src/Builder/FieldBuilder.php#L74
Escaped Mutant for Mutator "Identical":
@@ @@
*/
public function addArgument(string $name, $type, string|null $description = null, mixed $defaultValue = null, string|null $deprecationReason = null): self
{
- if ($this->args === null) {
+ if ($this->args !== null) {
$this->args = [];
}
$value = ['type' => $type];
|
Run Infection:
src/Builder/FieldBuilder.php#L122
Escaped Mutant for Mutator "CastString":
@@ @@
/** @phpstan-return FieldDefinitionConfig */
public function build(): array
{
- return ['args' => $this->args, 'name' => $this->name instanceof BackedEnum ? (string) $this->name->value : $this->name, 'description' => $this->description, 'deprecationReason' => $this->deprecationReason, 'resolve' => $this->resolve, 'type' => $this->type];
+ return ['args' => $this->args, 'name' => $this->name instanceof BackedEnum ? $this->name->value : $this->name, 'description' => $this->description, 'deprecationReason' => $this->deprecationReason, 'resolve' => $this->resolve, 'type' => $this->type];
}
}
|
Run Infection:
src/Builder/FieldBuilder.php#L126
Escaped Mutant for Mutator "ArrayItem":
@@ @@
/** @phpstan-return FieldDefinitionConfig */
public function build(): array
{
- return ['args' => $this->args, 'name' => $this->name instanceof BackedEnum ? (string) $this->name->value : $this->name, 'description' => $this->description, 'deprecationReason' => $this->deprecationReason, 'resolve' => $this->resolve, 'type' => $this->type];
+ return ['args' => $this->args, 'name' => $this->name instanceof BackedEnum ? (string) $this->name->value : $this->name, 'description' => $this->description, 'deprecationReason' => $this->deprecationReason, 'resolve' => $this->resolve, 'type' > $this->type];
}
}
|
Run Infection:
src/Builder/InputFieldBuilder.php#L80
Escaped Mutant for Mutator "ArrayItem":
@@ @@
/** @phpstan-return InputObjectFieldConfig */
public function build(): array
{
- $config = ['name' => $this->name, 'deprecationReason' => $this->deprecationReason, 'description' => $this->description, 'type' => $this->type];
+ $config = ['name' => $this->name, 'deprecationReason' => $this->deprecationReason, 'description' => $this->description, 'type' > $this->type];
$property = new ReflectionProperty($this, 'defaultValue');
if ($property->isInitialized($this)) {
$config['defaultValue'] = $this->defaultValue;
|
Run Infection:
src/Builder/InterfaceBuilder.php#L70
Escaped Mutant for Mutator "ArrayItem":
@@ @@
/** @phpstan-return InterfaceConfig */
public function build(): array
{
- return ['name' => $this->name, 'description' => $this->description, 'interfaces' => $this->interfaces, 'fields' => $this->fields, 'resolveType' => $this->resolveType];
+ return ['name' => $this->name, 'description' => $this->description, 'interfaces' > $this->interfaces, 'fields' => $this->fields, 'resolveType' => $this->resolveType];
}
}
|
Run Infection:
src/Builder/ObjectBuilder.php#L103
Escaped Mutant for Mutator "ArrayItem":
@@ @@
/** @phpstan-return ObjectConfig */
public function build(): array
{
- return ['name' => $this->name, 'description' => $this->description, 'interfaces' => $this->interfaces, 'fields' => $this->fields, 'resolveField' => $this->fieldResolver];
+ return ['name' => $this->name, 'description' => $this->description, 'interfaces' > $this->interfaces, 'fields' => $this->fields, 'resolveField' => $this->fieldResolver];
}
}
|
Run Infection:
src/Error/FormattedError.php#L17
Escaped Mutant for Mutator "InstanceOf_":
@@ @@
public static function createFromException(Throwable $exception, int $debugFlag = DebugFlag::NONE, string|null $internalErrorMessage = null): array
{
$arrayError = parent::createFromException($exception, $debugFlag, $internalErrorMessage);
- if ($exception instanceof \GraphQL\Error\Error && $exception->getPrevious() instanceof Error) {
+ if (true && $exception->getPrevious() instanceof Error) {
$arrayError['extensions']['type'] = $exception->getPrevious()->getType();
}
return $arrayError;
}
}
|
Run Infection:
src/Error/FormattedError.php#L17
Escaped Mutant for Mutator "InstanceOf_":
@@ @@
public static function createFromException(Throwable $exception, int $debugFlag = DebugFlag::NONE, string|null $internalErrorMessage = null): array
{
$arrayError = parent::createFromException($exception, $debugFlag, $internalErrorMessage);
- if ($exception instanceof \GraphQL\Error\Error && $exception->getPrevious() instanceof Error) {
+ if ($exception instanceof \GraphQL\Error\Error && true) {
$arrayError['extensions']['type'] = $exception->getPrevious()->getType();
}
return $arrayError;
}
}
|
Loading