Skip to content

Fix minimum versions install #98

Fix minimum versions install

Fix minimum versions install #98

Triggered via pull request June 25, 2025 15:46
Status Failure
Total duration 2m 49s
Artifacts

ci.yml

on: pull_request
Matrix: Code style
Matrix: Code coverage
Matrix: Mutation testing
Matrix: Psalm
Matrix: Security check
Matrix: PhpStan
Matrix: unit
Fit to window
Zoom out
Zoom in

Annotations

23 errors and 4 warnings
Unit tests 8.1-ubuntu-latest-lowest
Process completed with exit code 2.
Unit tests 8.3-ubuntu-latest-lowest
Process completed with exit code 2.
Unit tests 8.3-ubuntu-latest-lowest
The strategy configuration was canceled because "unit.ubuntu-latest_8_1_lowest" failed
Unit tests 8.4-windows-latest-lowest
The strategy configuration was canceled because "unit.ubuntu-latest_8_1_lowest" failed
Unit tests 8.4-windows-latest-highest
The operation was canceled.
Unit tests 8.4-windows-latest-highest
The strategy configuration was canceled because "unit.ubuntu-latest_8_1_lowest" failed
Unit tests 8.1-ubuntu-latest-highest
The operation was canceled.
Unit tests 8.1-ubuntu-latest-highest
The strategy configuration was canceled because "unit.ubuntu-latest_8_1_lowest" failed
Unit tests 8.2-ubuntu-latest-lowest
The operation was canceled.
Unit tests 8.2-ubuntu-latest-lowest
The strategy configuration was canceled because "unit.ubuntu-latest_8_1_lowest" failed
Unit tests 8.1-windows-latest-highest
The operation was canceled.
Unit tests 8.1-windows-latest-highest
The strategy configuration was canceled because "unit.ubuntu-latest_8_1_lowest" failed
Unit tests 8.3-windows-latest-lowest
The operation was canceled.
Unit tests 8.3-windows-latest-lowest
The strategy configuration was canceled because "unit.ubuntu-latest_8_1_lowest" failed
Unit tests 8.2-windows-latest-highest
The operation was canceled.
Unit tests 8.2-windows-latest-highest
The strategy configuration was canceled because "unit.ubuntu-latest_8_1_lowest" failed
Unit tests 8.2-windows-latest-lowest
The operation was canceled.
Unit tests 8.2-windows-latest-lowest
The strategy configuration was canceled because "unit.ubuntu-latest_8_1_lowest" failed
Unit tests 8.1-windows-latest-lowest
The operation was canceled.
Unit tests 8.1-windows-latest-lowest
The strategy configuration was canceled because "unit.ubuntu-latest_8_1_lowest" failed
Unit tests 8.3-windows-latest-highest
The operation was canceled.
Unit tests 8.3-windows-latest-highest
The strategy configuration was canceled because "unit.ubuntu-latest_8_1_lowest" failed
Mutation testing (ubuntu-latest, 8.4)
Process completed with exit code 1.
Mutation testing (ubuntu-latest, 8.4): src/CodeGenerator/PhpParserGenerators/ServiceSubscriberCodeGenerator.php#L132
Escaped Mutant for Mutator "ArrayItemRemoval": @@ @@ } $getSubscribedServices = $this->factory->method('getSubscribedServices')->makePublic()->makeStatic()->setReturnType('array')->setDocComment('/** * @inheritdoc - */')->addStmt(new Return_(new Array_($services, ['kind' => Array_::KIND_SHORT]))); + */')->addStmt(new Return_(new Array_($services, []))); $getRequestHandler = $this->factory->method('get')->makePublic()->setReturnType('?' . $requestHandlerClass)->addParam($this->factory->param('interface')->setType('string'))->addStmt(new If_(new BooleanNot(new MethodCall(new Variable('this->locator'), 'has', [new Arg(new Variable('interface'))])), ['stmts' => [new Return_($this->factory->val(null))]]))->addStmt(new Return_(new MethodCall(new Variable('this->locator'), 'get', [new Arg(new Variable('interface'))]))); if ($this->fullDocs) { $docs = ['@param string $interface', '@return ' . $requestHandlerClass . '|null'];
Mutation testing (ubuntu-latest, 8.4): src/CodeGenerator/PhpParserGenerators/ServiceSubscriberCodeGenerator.php#L93
Escaped Mutant for Mutator "ArrayItemRemoval": @@ @@ $responseCodeMapper[] = new ArrayItem(new Array_($responseTypes, ['kind' => Array_::KIND_SHORT]), new ClassConstFetch(new Name($fileBuilder->getReference($operation->getRequestHandlerInterface())), 'class')); } } - $httpCodeMapper = $this->factory->classConst('HTTP_CODES', new Array_($responseCodeMapper, ['kind' => Array_::KIND_SHORT]))->makePrivate(); + $httpCodeMapper = $this->factory->classConst('HTTP_CODES', new Array_($responseCodeMapper, []))->makePrivate(); $property = $this->factory->property('locator')->makePrivate()->setType($containerInterfaceClass); if ($this->fullDocs) { $property->setDocComment('/** @var ' . $containerInterfaceClass . ' */');
Mutation testing (ubuntu-latest, 8.4): src/CodeGenerator/PhpParserGenerators/ServiceSubscriberCodeGenerator.php#L82
Escaped Mutant for Mutator "ArrayItemRemoval": @@ @@ $responseTypes[] = new ArrayItem(new Array_([new ArrayItem(new String_($response->getStatusCode()))], ['kind' => Array_::KIND_SHORT]), new ClassConstFetch(new Name($fileBuilder->getReference($response->getResponseBody())), 'class')); } } - $responseCodeMapper[] = new ArrayItem(new Array_($responseTypes, ['kind' => Array_::KIND_SHORT]), new ClassConstFetch(new Name($fileBuilder->getReference($operation->getRequestHandlerInterface())), 'class')); + $responseCodeMapper[] = new ArrayItem(new Array_($responseTypes, []), new ClassConstFetch(new Name($fileBuilder->getReference($operation->getRequestHandlerInterface())), 'class')); } } $httpCodeMapper = $this->factory->classConst('HTTP_CODES', new Array_($responseCodeMapper, ['kind' => Array_::KIND_SHORT]))->makePrivate();
Mutation testing (ubuntu-latest, 8.4): src/CodeGenerator/PhpParserGenerators/ServiceSubscriberCodeGenerator.php#L72
Escaped Mutant for Mutator "ArrayItemRemoval": @@ @@ $responseTypes[] = new ArrayItem(new Array_([new ArrayItem(new String_($operation->getSingleHttpCode()))], ['kind' => Array_::KIND_SHORT]), new String_('void')); } else { foreach ($operation->getResponses() as $response) { - $responseTypes[] = new ArrayItem(new Array_([new ArrayItem(new String_($response->getStatusCode()))], ['kind' => Array_::KIND_SHORT]), new ClassConstFetch(new Name($fileBuilder->getReference($response->getResponseBody())), 'class')); + $responseTypes[] = new ArrayItem(new Array_([new ArrayItem(new String_($response->getStatusCode()))], []), new ClassConstFetch(new Name($fileBuilder->getReference($response->getResponseBody())), 'class')); } } $responseCodeMapper[] = new ArrayItem(new Array_($responseTypes, ['kind' => Array_::KIND_SHORT]), new ClassConstFetch(new Name($fileBuilder->getReference($operation->getRequestHandlerInterface())), 'class'));