Skip to content

Remove Context::withNameContext() #18

Remove Context::withNameContext()

Remove Context::withNameContext() #18

Triggered via push October 27, 2024 01:30
Status Failure
Total duration 1m 46s
Artifacts

check.yml

on: push
Matrix: psalm
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

17 errors and 10 warnings
test (8.1, locked)
Process completed with exit code 255.
test (8.1, highest)
The job was canceled because "_8_1_locked" failed.
test (8.1, highest)
The operation was canceled.
test (8.3, locked)
The job was canceled because "_8_1_locked" failed.
test (8.3, locked)
The operation was canceled.
test (8.3, lowest)
The job was canceled because "_8_1_locked" failed.
test (8.3, lowest)
The operation was canceled.
test (8.2, highest)
The job was canceled because "_8_1_locked" failed.
test (8.2, highest)
The operation was canceled.
test (8.1, lowest)
The job was canceled because "_8_1_locked" failed.
test (8.1, lowest)
The operation was canceled.
test (8.2, locked)
The job was canceled because "_8_1_locked" failed.
test (8.2, locked)
The operation was canceled.
test (8.2, lowest)
The job was canceled because "_8_1_locked" failed.
test (8.2, lowest)
The operation was canceled.
test (8.3, highest)
The job was canceled because "_8_1_locked" failed.
test (8.3, highest)
The operation was canceled.
infection: src/Internal/PhpDoc/PhpDocTypeReflector.php#L219
Escaped Mutant for Mutator "MatchArmRemoval": @@ @@ default => match ($class = $this->context->resolveClassName($name)) { \Traversable::class, \Iterator::class, \IteratorAggregate::class => match ($number = \count($typeArguments)) { 1 => types::object($class, [types::mixed, $typeArguments[0]]), - 0, 2 => types::object($class, $typeArguments), + 0 => types::object($class, $typeArguments), default => throw new InvalidPhpDocType(\sprintf('%s type should have at most 2 type arguments, got %d', $class, $number)), }, \Generator::class => match ($number = \count($typeArguments)) {
infection: src/Internal/PhpDoc/PhpDocTypeReflector.php#L221
Escaped Mutant for Mutator "DecrementInteger": @@ @@ default => match ($class = $this->context->resolveClassName($name)) { \Traversable::class, \Iterator::class, \IteratorAggregate::class => match ($number = \count($typeArguments)) { 1 => types::object($class, [types::mixed, $typeArguments[0]]), - 0, 2 => types::object($class, $typeArguments), + 0, 1 => types::object($class, $typeArguments), default => throw new InvalidPhpDocType(\sprintf('%s type should have at most 2 type arguments, got %d', $class, $number)), }, \Generator::class => match ($number = \count($typeArguments)) {
infection: src/Internal/PhpDoc/PhpDocTypeReflector.php#L224
Escaped Mutant for Mutator "MatchArmRemoval": @@ @@ }, \Generator::class => match ($number = \count($typeArguments)) { 1 => types::Generator(value: $typeArguments[0]), - 0, 2, 3, 4 => types::Generator(...$typeArguments), + 0, 3, 4 => types::Generator(...$typeArguments), default => throw new InvalidPhpDocType(\sprintf('Generator type should have at most 4 type arguments, got %d', $number)), }, default => $this->context->resolveNameAsType($name, $typeArguments),
infection: src/Internal/PhpDoc/PhpDocTypeReflector.php#L224
Escaped Mutant for Mutator "MatchArmRemoval": @@ @@ }, \Generator::class => match ($number = \count($typeArguments)) { 1 => types::Generator(value: $typeArguments[0]), - 0, 2, 3, 4 => types::Generator(...$typeArguments), + 0, 2, 4 => types::Generator(...$typeArguments), default => throw new InvalidPhpDocType(\sprintf('Generator type should have at most 4 type arguments, got %d', $number)), }, default => $this->context->resolveNameAsType($name, $typeArguments),
infection: src/Internal/PhpDoc/PhpDocTypeReflector.php#L224
Escaped Mutant for Mutator "MatchArmRemoval": @@ @@ }, \Generator::class => match ($number = \count($typeArguments)) { 1 => types::Generator(value: $typeArguments[0]), - 0, 2, 3, 4 => types::Generator(...$typeArguments), + 0, 2, 3 => types::Generator(...$typeArguments), default => throw new InvalidPhpDocType(\sprintf('Generator type should have at most 4 type arguments, got %d', $number)), }, default => $this->context->resolveNameAsType($name, $typeArguments),
infection: src/Internal/PhpDoc/PhpDocTypeReflector.php#L226
Escaped Mutant for Mutator "DecrementInteger": @@ @@ }, \Generator::class => match ($number = \count($typeArguments)) { 1 => types::Generator(value: $typeArguments[0]), - 0, 2, 3, 4 => types::Generator(...$typeArguments), + 0, 1, 3, 4 => types::Generator(...$typeArguments), default => throw new InvalidPhpDocType(\sprintf('Generator type should have at most 4 type arguments, got %d', $number)), }, default => $this->context->resolveNameAsType($name, $typeArguments),
infection: src/Internal/PhpDoc/PhpDocTypeReflector.php#L226
Escaped Mutant for Mutator "IncrementInteger": @@ @@ }, \Generator::class => match ($number = \count($typeArguments)) { 1 => types::Generator(value: $typeArguments[0]), - 0, 2, 3, 4 => types::Generator(...$typeArguments), + 0, 3, 3, 4 => types::Generator(...$typeArguments), default => throw new InvalidPhpDocType(\sprintf('Generator type should have at most 4 type arguments, got %d', $number)), }, default => $this->context->resolveNameAsType($name, $typeArguments),
infection: src/Internal/PhpDoc/PhpDocTypeReflector.php#L226
Escaped Mutant for Mutator "DecrementInteger": @@ @@ }, \Generator::class => match ($number = \count($typeArguments)) { 1 => types::Generator(value: $typeArguments[0]), - 0, 2, 3, 4 => types::Generator(...$typeArguments), + 0, 2, 2, 4 => types::Generator(...$typeArguments), default => throw new InvalidPhpDocType(\sprintf('Generator type should have at most 4 type arguments, got %d', $number)), }, default => $this->context->resolveNameAsType($name, $typeArguments),
infection: src/Internal/PhpDoc/PhpDocTypeReflector.php#L226
Escaped Mutant for Mutator "IncrementInteger": @@ @@ }, \Generator::class => match ($number = \count($typeArguments)) { 1 => types::Generator(value: $typeArguments[0]), - 0, 2, 3, 4 => types::Generator(...$typeArguments), + 0, 2, 4, 4 => types::Generator(...$typeArguments), default => throw new InvalidPhpDocType(\sprintf('Generator type should have at most 4 type arguments, got %d', $number)), }, default => $this->context->resolveNameAsType($name, $typeArguments),
infection: src/Internal/PhpDoc/PhpDocTypeReflector.php#L226
Escaped Mutant for Mutator "DecrementInteger": @@ @@ }, \Generator::class => match ($number = \count($typeArguments)) { 1 => types::Generator(value: $typeArguments[0]), - 0, 2, 3, 4 => types::Generator(...$typeArguments), + 0, 2, 3, 3 => types::Generator(...$typeArguments), default => throw new InvalidPhpDocType(\sprintf('Generator type should have at most 4 type arguments, got %d', $number)), }, default => $this->context->resolveNameAsType($name, $typeArguments),