Skip to content

Added missing config to composer (#245) #105

Added missing config to composer (#245)

Added missing config to composer (#245) #105

Triggered via push February 25, 2024 18:58
Status Success
Total duration 4m 44s
Artifacts 1

ci.yaml

on: push
Matrix: Code quality assurance
Matrix: Code static analysis
Matrix: Code linting
Matrix: Test for mutants
Matrix: Code tests
Matrix: Code tests with code coverage
Fit to window
Zoom out
Zoom in

Annotations

16 warnings
Code linting (8.2, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Code quality assurance (8.2, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Code static analysis (8.2, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Code tests (8.2, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Test for mutants (8.2, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Test for mutants (8.2, ubuntu-latest): src/Commands/Execute.php#L60
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ public const NAME = 'fb:virtual-connector:execute'; public function __construct(private readonly DevicesModels\Configuration\Connectors\Repository $connectorsConfigurationRepository, private readonly Localization\Translator $translator, string|null $name = null) { - parent::__construct($name); + } /** * @throws Console\Exception\InvalidArgumentException
Test for mutants (8.2, ubuntu-latest): src/Commands/Execute.php#L68
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ */ protected function configure() : void { - $this->setName(self::NAME)->setDescription('Virtual connector service')->setDefinition(new Input\InputDefinition([new Input\InputOption('connector', 'c', Input\InputOption::VALUE_OPTIONAL, 'Run devices module connector', true)])); + } /** * @throws Console\Exception\ExceptionInterface
Test for mutants (8.2, ubuntu-latest): src/Commands/Execute.php#L72
Escaped Mutant for Mutator "ArrayItemRemoval": --- Original +++ New @@ @@ */ protected function configure() : void { - $this->setName(self::NAME)->setDescription('Virtual connector service')->setDefinition(new Input\InputDefinition([new Input\InputOption('connector', 'c', Input\InputOption::VALUE_OPTIONAL, 'Run devices module connector', true)])); + $this->setName(self::NAME)->setDescription('Virtual connector service')->setDefinition(new Input\InputDefinition([])); } /** * @throws Console\Exception\ExceptionInterface
Test for mutants (8.2, ubuntu-latest): src/Commands/Execute.php#L78
Escaped Mutant for Mutator "TrueValue": --- Original +++ New @@ @@ */ protected function configure() : void { - $this->setName(self::NAME)->setDescription('Virtual connector service')->setDefinition(new Input\InputDefinition([new Input\InputOption('connector', 'c', Input\InputOption::VALUE_OPTIONAL, 'Run devices module connector', true)])); + $this->setName(self::NAME)->setDescription('Virtual connector service')->setDefinition(new Input\InputDefinition([new Input\InputOption('connector', 'c', Input\InputOption::VALUE_OPTIONAL, 'Run devices module connector', false)])); } /** * @throws Console\Exception\ExceptionInterface
Test for mutants (8.2, ubuntu-latest): src/Commands/Install.php#L73
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ private Output\OutputInterface|null $output = null; public function __construct(private readonly Virtual\Logger $logger, private readonly DevicesModels\Entities\Connectors\ConnectorsRepository $connectorsRepository, private readonly DevicesModels\Entities\Connectors\ConnectorsManager $connectorsManager, private readonly DevicesModels\Entities\Devices\DevicesRepository $devicesRepository, private readonly DevicesModels\Entities\Devices\DevicesManager $devicesManager, private readonly ApplicationHelpers\Database $databaseHelper, private readonly Localization\Translator $translator, string|null $name = null) { - parent::__construct($name); + } /** * @throws Console\Exception\InvalidArgumentException
Test for mutants (8.2, ubuntu-latest): src/Commands/Install.php#L81
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ */ protected function configure() : void { - $this->setName(self::NAME)->setDescription('Virtual connector installer'); + } /** * @throws ApplicationExceptions\InvalidState
Test for mutants (8.2, ubuntu-latest): src/Connector/Connector.php#L171
Escaped Mutant for Mutator "LogicalNot": --- Original +++ New @@ @@ } public function hasUnfinishedTasks() : bool { - return !$this->queue->isEmpty() && $this->consumersTimer !== null; + return $this->queue->isEmpty() && $this->consumersTimer !== null; } }
Test for mutants (8.2, ubuntu-latest): src/Connector/Connector.php#L171
Escaped Mutant for Mutator "NotIdentical": --- Original +++ New @@ @@ } public function hasUnfinishedTasks() : bool { - return !$this->queue->isEmpty() && $this->consumersTimer !== null; + return !$this->queue->isEmpty() && $this->consumersTimer === null; } }
Test for mutants (8.2, ubuntu-latest): src/Connector/Connector.php#L171
Escaped Mutant for Mutator "LogicalAnd": --- Original +++ New @@ @@ } public function hasUnfinishedTasks() : bool { - return !$this->queue->isEmpty() && $this->consumersTimer !== null; + return !$this->queue->isEmpty() || $this->consumersTimer !== null; } }
Test for mutants (8.2, ubuntu-latest): src/DI/VirtualExtension.php#L91
Escaped Mutant for Mutator "FalseValue": --- Original +++ New @@ @@ * WRITERS */ $builder->addFactoryDefinition($this->prefix('writers.event'))->setImplement(Writers\EventFactory::class)->getResultDefinition()->setType(Writers\Event::class); - $builder->addFactoryDefinition($this->prefix('writers.exchange'))->setImplement(Writers\ExchangeFactory::class)->getResultDefinition()->setType(Writers\Exchange::class)->addTag(ExchangeDI\ExchangeExtension::CONSUMER_STATE, false); + $builder->addFactoryDefinition($this->prefix('writers.exchange'))->setImplement(Writers\ExchangeFactory::class)->getResultDefinition()->setType(Writers\Exchange::class)->addTag(ExchangeDI\ExchangeExtension::CONSUMER_STATE, true); /** * DRIVERS */
Code tests with code coverage (8.2, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.

Artifacts

Produced during runtime
Name Size
Logs - Mutations Expired
1.76 MB