Skip to content

Another dependencies updates (#330) #55

Another dependencies updates (#330)

Another dependencies updates (#330) #55

Triggered via push November 26, 2024 12:12
Status Success
Total duration 11m 49s
Artifacts 1

tests.yaml

on: push
Matrix: PHP Tests
Matrix: PHP Tests With Code Coverage
Matrix: PHP Tests For Mutants
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2): src/Commands/Execute.php#L69
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ public const NAME = 'fb:homekit-connector:execute'; public function __construct(private readonly Helpers\Connector $connectorHelper, private readonly HomeKit\Logger $logger, private readonly DevicesModels\Configuration\Connectors\Repository $connectorsConfigurationRepository, private readonly Localization\Translator $translator, string|null $name = null) { - parent::__construct($name); + } /** * @throws Console\Exception\InvalidArgumentException
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2): src/Commands/Execute.php#L77
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ */ protected function configure() : void { - $this->setName(self::NAME)->setDescription('HomeKit connector service')->setDefinition(new Input\InputDefinition([new Input\InputOption('connector', 'c', Input\InputOption::VALUE_OPTIONAL, 'Connector ID or identifier', true)])); + } /** * @throws ApplicationExceptions\InvalidArgument
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2): src/Commands/Execute.php#L81
Escaped Mutant for Mutator "ArrayItemRemoval": --- Original +++ New @@ @@ */ protected function configure() : void { - $this->setName(self::NAME)->setDescription('HomeKit connector service')->setDefinition(new Input\InputDefinition([new Input\InputOption('connector', 'c', Input\InputOption::VALUE_OPTIONAL, 'Connector ID or identifier', true)])); + $this->setName(self::NAME)->setDescription('HomeKit connector service')->setDefinition(new Input\InputDefinition([])); } /** * @throws ApplicationExceptions\InvalidArgument
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2): src/Commands/Execute.php#L87
Escaped Mutant for Mutator "TrueValue": --- Original +++ New @@ @@ */ protected function configure() : void { - $this->setName(self::NAME)->setDescription('HomeKit connector service')->setDefinition(new Input\InputDefinition([new Input\InputOption('connector', 'c', Input\InputOption::VALUE_OPTIONAL, 'Connector ID or identifier', true)])); + $this->setName(self::NAME)->setDescription('HomeKit connector service')->setDefinition(new Input\InputDefinition([new Input\InputOption('connector', 'c', Input\InputOption::VALUE_OPTIONAL, 'Connector ID or identifier', false)])); } /** * @throws ApplicationExceptions\InvalidArgument
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2): src/Commands/Install.php#L115
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ public const NAME = 'fb:homekit-connector:install'; public function __construct(private readonly Helpers\Loader $loader, private readonly HomeKit\Logger $logger, private readonly DevicesModels\Entities\Connectors\ConnectorsRepository $connectorsRepository, private readonly DevicesModels\Entities\Connectors\ConnectorsManager $connectorsManager, private readonly DevicesModels\Entities\Connectors\Properties\PropertiesRepository $connectorsPropertiesRepository, private readonly DevicesModels\Entities\Connectors\Properties\PropertiesManager $connectorsPropertiesManager, private readonly DevicesModels\Entities\Devices\DevicesRepository $devicesRepository, private readonly DevicesModels\Entities\Devices\DevicesManager $devicesManager, private readonly DevicesModels\Entities\Devices\Properties\PropertiesRepository $devicesPropertiesRepository, private readonly DevicesModels\Entities\Devices\Properties\PropertiesManager $devicesPropertiesManager, private readonly DevicesModels\Entities\Channels\ChannelsRepository $channelsRepository, private readonly DevicesModels\Entities\Channels\ChannelsManager $channelsManager, private readonly DevicesModels\Entities\Channels\Properties\PropertiesRepository $channelsPropertiesRepository, private readonly DevicesModels\Entities\Channels\Properties\PropertiesManager $channelsPropertiesManager, private readonly ToolsHelpers\Database $databaseHelper, private readonly Localization\Translator $translator, string|null $name = null) { - parent::__construct($name); + } /** * @throws Console\Exception\InvalidArgumentException
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2): src/Commands/Install.php#L123
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ */ protected function configure() : void { - $this->setName(self::NAME)->setDescription('HomeKit connector installer'); + } /** * @throws ApplicationExceptions\InvalidArgument
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2): src/Controllers/AccessoriesController.php#L72
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ */ public function index(Message\ServerRequestInterface $request, Message\ResponseInterface $response) : Message\ResponseInterface { - $this->logger->debug('Requested list of all registered accessories', ['source' => MetadataTypes\Sources\Connector::HOMEKIT->value, 'type' => 'accessories-controller', 'request' => ['address' => $request->getServerParams()['REMOTE_ADDR'], 'path' => $request->getUri()->getPath()]]); + $connectorId = strval($request->getAttribute(Servers\Http::REQUEST_ATTRIBUTE_CONNECTOR)); if (!Uuid\Uuid::isValid($connectorId)) { throw new Exceptions\InvalidState('Connector id could not be determined');
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2): src/Controllers/AccessoriesController.php#L74
Escaped Mutant for Mutator "ArrayItemRemoval": --- Original +++ New @@ @@ */ public function index(Message\ServerRequestInterface $request, Message\ResponseInterface $response) : Message\ResponseInterface { - $this->logger->debug('Requested list of all registered accessories', ['source' => MetadataTypes\Sources\Connector::HOMEKIT->value, 'type' => 'accessories-controller', 'request' => ['address' => $request->getServerParams()['REMOTE_ADDR'], 'path' => $request->getUri()->getPath()]]); + $this->logger->debug('Requested list of all registered accessories', ['type' => 'accessories-controller', 'request' => ['address' => $request->getServerParams()['REMOTE_ADDR'], 'path' => $request->getUri()->getPath()]]); $connectorId = strval($request->getAttribute(Servers\Http::REQUEST_ATTRIBUTE_CONNECTOR)); if (!Uuid\Uuid::isValid($connectorId)) { throw new Exceptions\InvalidState('Connector id could not be determined');
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2): src/Controllers/AccessoriesController.php#L75
Escaped Mutant for Mutator "ArrayItem": --- Original +++ New @@ @@ */ public function index(Message\ServerRequestInterface $request, Message\ResponseInterface $response) : Message\ResponseInterface { - $this->logger->debug('Requested list of all registered accessories', ['source' => MetadataTypes\Sources\Connector::HOMEKIT->value, 'type' => 'accessories-controller', 'request' => ['address' => $request->getServerParams()['REMOTE_ADDR'], 'path' => $request->getUri()->getPath()]]); + $this->logger->debug('Requested list of all registered accessories', ['source' > MetadataTypes\Sources\Connector::HOMEKIT->value, 'type' => 'accessories-controller', 'request' => ['address' => $request->getServerParams()['REMOTE_ADDR'], 'path' => $request->getUri()->getPath()]]); $connectorId = strval($request->getAttribute(Servers\Http::REQUEST_ATTRIBUTE_CONNECTOR)); if (!Uuid\Uuid::isValid($connectorId)) { throw new Exceptions\InvalidState('Connector id could not be determined');
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2): src/Controllers/AccessoriesController.php#L77
Escaped Mutant for Mutator "ArrayItemRemoval": --- Original +++ New @@ @@ */ public function index(Message\ServerRequestInterface $request, Message\ResponseInterface $response) : Message\ResponseInterface { - $this->logger->debug('Requested list of all registered accessories', ['source' => MetadataTypes\Sources\Connector::HOMEKIT->value, 'type' => 'accessories-controller', 'request' => ['address' => $request->getServerParams()['REMOTE_ADDR'], 'path' => $request->getUri()->getPath()]]); + $this->logger->debug('Requested list of all registered accessories', ['source' => MetadataTypes\Sources\Connector::HOMEKIT->value, 'type' => 'accessories-controller', 'request' => ['path' => $request->getUri()->getPath()]]); $connectorId = strval($request->getAttribute(Servers\Http::REQUEST_ATTRIBUTE_CONNECTOR)); if (!Uuid\Uuid::isValid($connectorId)) { throw new Exceptions\InvalidState('Connector id could not be determined');
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "Logs - Mutations". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size
Logs - Mutations
6.23 MB