Skip to content

Bump symfony/process from 6.4.7 to 6.4.14 #137

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.


Unchanged files with check annotations Beta

$exactlyOne instanceof ListValue && self::resolveExactly($value, $exactlyOne->getRawValue());
$atLeast instanceof InputValue && self::resolveAtLeast(
$value,
$atLeast->from->getValue()->getRawValue(),

Check failure on line 105 in src/ObjectConstraintDirective.php

GitHub Actions / phpstan

Access to an undefined property Graphpinator\Value\InputValue::$from.
$atLeast->count->getValue()->getRawValue(),

Check failure on line 106 in src/ObjectConstraintDirective.php

GitHub Actions / phpstan

Access to an undefined property Graphpinator\Value\InputValue::$count.
);
$atMost instanceof InputValue && self::resolveAtMost(
$value,
$atMost->from->getValue()->getRawValue(),

Check failure on line 110 in src/ObjectConstraintDirective.php

GitHub Actions / phpstan

Access to an undefined property Graphpinator\Value\InputValue::$from.
$atMost->count->getValue()->getRawValue(),

Check failure on line 111 in src/ObjectConstraintDirective.php

GitHub Actions / phpstan

Access to an undefined property Graphpinator\Value\InputValue::$count.
);
$exactly instanceof InputValue && self::resolveExactly(
$value,
$exactly->from->getValue()->getRawValue(),

Check failure on line 115 in src/ObjectConstraintDirective.php

GitHub Actions / phpstan

Access to an undefined property Graphpinator\Value\InputValue::$from.
$exactly->count->getValue()->getRawValue(),

Check failure on line 116 in src/ObjectConstraintDirective.php

GitHub Actions / phpstan

Access to an undefined property Graphpinator\Value\InputValue::$count.
);
}
private static function validateObjectInput(FieldSet|ArgumentSet $fields, InputValue $object) : bool
{
return $object->count->getValue()->getRawValue() <= \count($object->from->getValue())

Check failure on line 133 in src/ObjectConstraintDirective.php

GitHub Actions / phpstan

Access to an undefined property Graphpinator\Value\InputValue::$count.

Check failure on line 133 in src/ObjectConstraintDirective.php

GitHub Actions / phpstan

Access to an undefined property Graphpinator\Value\InputValue::$from.
&& self::validateFieldsArePresent($fields, $object->from->getValue());

Check failure on line 134 in src/ObjectConstraintDirective.php

GitHub Actions / phpstan

Access to an undefined property Graphpinator\Value\InputValue::$from.
}
private static function resolveAtLeast(TypeValue|InputValue $value, array $atLeast, int $count = 1) : void
if ($value instanceof TypeValue) {
[$currentCount, $notRequested] = self::countFieldsType($value, $atLeast);
if (($currentCount + $notRequested) < $count) {

Check failure on line 142 in src/ObjectConstraintDirective.php

GitHub Actions / phpstan

Comparison operation "<" between (array|float|int) and int results in an error.
throw new Exception\AtLeastConstraintNotSatisfied();
}
{
final public function isOutputable() : bool
{
return true;

Check warning on line 11 in src/Exception/ConstraintError.php

GitHub Actions / mutation

Escaped Mutant for Mutator "TrueValue": --- Original +++ New @@ @@ { final public function isOutputable(): bool { - return true; + return false; } }
}
}
\Graphpinator\Value\ArgumentValueSet $arguments,
) : bool
{
return $field->getType()->getNamedType() instanceof \Graphpinator\Typesystem\Spec\FloatType;

Check warning on line 22 in src/FloatConstraintDirective.php

GitHub Actions / mutation

Escaped Mutant for Mutator "InstanceOf_": --- Original +++ New @@ @@ protected const DESCRIPTION = 'Graphpinator floatConstraint directive.'; public function validateFieldUsage(\Graphpinator\Typesystem\Field\Field $field, \Graphpinator\Value\ArgumentValueSet $arguments): bool { - return $field->getType()->getNamedType() instanceof \Graphpinator\Typesystem\Spec\FloatType; + return true; } public function validateArgumentUsage(\Graphpinator\Typesystem\Argument\Argument $argument, \Graphpinator\Value\ArgumentValueSet $arguments): bool {
}
public function validateArgumentUsage(
\Graphpinator\Value\ArgumentValueSet $arguments,
) : bool
{
return $variable->getType()->getNamedType() instanceof \Graphpinator\Typesystem\Spec\FloatType;

Check warning on line 38 in src/FloatConstraintDirective.php

GitHub Actions / mutation

Escaped Mutant for Mutator "InstanceOf_": --- Original +++ New @@ @@ } public function validateVariableUsage(\Graphpinator\Normalizer\Variable\Variable $variable, \Graphpinator\Value\ArgumentValueSet $arguments): bool { - return $variable->getType()->getNamedType() instanceof \Graphpinator\Typesystem\Spec\FloatType; + return true; } protected function getFieldDefinition(): \Graphpinator\Typesystem\Argument\ArgumentSet {

Check warning on line 38 in src/FloatConstraintDirective.php

GitHub Actions / mutation

Escaped Mutant for Mutator "InstanceOf_": --- Original +++ New @@ @@ } public function validateVariableUsage(\Graphpinator\Normalizer\Variable\Variable $variable, \Graphpinator\Value\ArgumentValueSet $arguments): bool { - return $variable->getType()->getNamedType() instanceof \Graphpinator\Typesystem\Spec\FloatType; + return false; } protected function getFieldDefinition(): \Graphpinator\Typesystem\Argument\ArgumentSet {
}
protected function getFieldDefinition() : \Graphpinator\Typesystem\Argument\ArgumentSet
protected function afterGetFieldDefinition() : void
{
$this->arguments['oneOf']->addDirective(

Check warning on line 52 in src/FloatConstraintDirective.php

GitHub Actions / mutation

Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ } protected function afterGetFieldDefinition(): void { - $this->arguments['oneOf']->addDirective($this->constraintDirectiveAccessor->getList(), ['minItems' => 1]); + } protected function specificValidateValue(\Graphpinator\Value\Value $value, \Graphpinator\Value\ArgumentValueSet $arguments): void {
$this->constraintDirectiveAccessor->getList(),
['minItems' => 1],

Check warning on line 54 in src/FloatConstraintDirective.php

GitHub Actions / mutation

Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ } protected function afterGetFieldDefinition(): void { - $this->arguments['oneOf']->addDirective($this->constraintDirectiveAccessor->getList(), ['minItems' => 1]); + $this->arguments['oneOf']->addDirective($this->constraintDirectiveAccessor->getList(), ['minItems' => 0]); } protected function specificValidateValue(\Graphpinator\Value\Value $value, \Graphpinator\Value\ArgumentValueSet $arguments): void {

Check warning on line 54 in src/FloatConstraintDirective.php

GitHub Actions / mutation

Escaped Mutant for Mutator "IncrementInteger": --- Original +++ New @@ @@ } protected function afterGetFieldDefinition(): void { - $this->arguments['oneOf']->addDirective($this->constraintDirectiveAccessor->getList(), ['minItems' => 1]); + $this->arguments['oneOf']->addDirective($this->constraintDirectiveAccessor->getList(), ['minItems' => 2]); } protected function specificValidateValue(\Graphpinator\Value\Value $value, \Graphpinator\Value\ArgumentValueSet $arguments): void {

Check warning on line 54 in src/FloatConstraintDirective.php

GitHub Actions / mutation

Escaped Mutant for Mutator "ArrayItemRemoval": --- Original +++ New @@ @@ } protected function afterGetFieldDefinition(): void { - $this->arguments['oneOf']->addDirective($this->constraintDirectiveAccessor->getList(), ['minItems' => 1]); + $this->arguments['oneOf']->addDirective($this->constraintDirectiveAccessor->getList(), []); } protected function specificValidateValue(\Graphpinator\Value\Value $value, \Graphpinator\Value\ArgumentValueSet $arguments): void {
);
}
protected function specificValidateValue(

Check warning on line 58 in src/FloatConstraintDirective.php

GitHub Actions / mutation

Escaped Mutant for Mutator "ProtectedVisibility": --- Original +++ New @@ @@ { $this->arguments['oneOf']->addDirective($this->constraintDirectiveAccessor->getList(), ['minItems' => 1]); } - protected function specificValidateValue(\Graphpinator\Value\Value $value, \Graphpinator\Value\ArgumentValueSet $arguments): void + private function specificValidateValue(\Graphpinator\Value\Value $value, \Graphpinator\Value\ArgumentValueSet $arguments): void { $rawValue = $value->getRawValue(); $min = $arguments->offsetGet('min')->getValue()->getRawValue();
\Graphpinator\Value\Value $value,
\Graphpinator\Value\ArgumentValueSet $arguments,
) : void
}
}
protected function specificValidateVariance(

Check warning on line 81 in src/FloatConstraintDirective.php

GitHub Actions / mutation

Escaped Mutant for Mutator "ProtectedVisibility": --- Original +++ New @@ @@ throw new Exception\OneOfConstraintNotSatisfied(); } } - protected function specificValidateVariance(\Graphpinator\Value\ArgumentValueSet $biggerSet, \Graphpinator\Value\ArgumentValueSet $smallerSet): void + private function specificValidateVariance(\Graphpinator\Value\ArgumentValueSet $biggerSet, \Graphpinator\Value\ArgumentValueSet $smallerSet): void { $lhs = $biggerSet->getValuesForResolver(); $rhs = $smallerSet->getValuesForResolver();
\Graphpinator\Value\ArgumentValueSet $biggerSet,
\Graphpinator\Value\ArgumentValueSet $smallerSet,
) : void