Skip to content

[general] Remove unnecessary dependencies (#329) #48

[general] Remove unnecessary dependencies (#329)

[general] Remove unnecessary dependencies (#329) #48

Triggered via push November 26, 2024 10:46
Status Success
Total duration 12m 18s
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/Discover.php#L73
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ private DateTimeInterface|null $executedTime = null; public function __construct(private readonly Helpers\Devices\SubDevice $subDeviceHelper, private readonly DevicesModels\Configuration\Connectors\Repository $connectorsConfigurationRepository, private readonly DevicesModels\Configuration\Devices\Repository $devicesConfigurationRepository, private readonly DateTimeFactory\Clock $clock, 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/Discover.php#L81
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ */ protected function configure() : void { - $this->setName(self::NAME)->setDescription('NS Panel connector discovery')->setDefinition(new Input\InputDefinition([new Input\InputOption('connector', 'c', Input\InputOption::VALUE_OPTIONAL, 'Connector ID or identifier', true), new Input\InputOption('device', 'd', Input\InputOption::VALUE_OPTIONAL, 'Device ID or identifier', true)])); + } /** * @throws ApplicationExceptions\InvalidArgument
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2): src/Commands/Discover.php#L85
Escaped Mutant for Mutator "ArrayItemRemoval": --- Original +++ New @@ @@ */ protected function configure() : void { - $this->setName(self::NAME)->setDescription('NS Panel connector discovery')->setDefinition(new Input\InputDefinition([new Input\InputOption('connector', 'c', Input\InputOption::VALUE_OPTIONAL, 'Connector ID or identifier', true), new Input\InputOption('device', 'd', Input\InputOption::VALUE_OPTIONAL, 'Device ID or identifier', true)])); + $this->setName(self::NAME)->setDescription('NS Panel connector discovery')->setDefinition(new Input\InputDefinition([new Input\InputOption('device', 'd', Input\InputOption::VALUE_OPTIONAL, 'Device ID or identifier', true)])); } /** * @throws ApplicationExceptions\InvalidArgument
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2): src/Commands/Discover.php#L91
Escaped Mutant for Mutator "TrueValue": --- Original +++ New @@ @@ */ protected function configure() : void { - $this->setName(self::NAME)->setDescription('NS Panel connector discovery')->setDefinition(new Input\InputDefinition([new Input\InputOption('connector', 'c', Input\InputOption::VALUE_OPTIONAL, 'Connector ID or identifier', true), new Input\InputOption('device', 'd', Input\InputOption::VALUE_OPTIONAL, 'Device ID or identifier', true)])); + $this->setName(self::NAME)->setDescription('NS Panel connector discovery')->setDefinition(new Input\InputDefinition([new Input\InputOption('connector', 'c', Input\InputOption::VALUE_OPTIONAL, 'Connector ID or identifier', false), new Input\InputOption('device', 'd', Input\InputOption::VALUE_OPTIONAL, 'Device ID or identifier', true)])); } /** * @throws ApplicationExceptions\InvalidArgument
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2): src/Commands/Discover.php#L98
Escaped Mutant for Mutator "TrueValue": --- Original +++ New @@ @@ */ protected function configure() : void { - $this->setName(self::NAME)->setDescription('NS Panel connector discovery')->setDefinition(new Input\InputDefinition([new Input\InputOption('connector', 'c', Input\InputOption::VALUE_OPTIONAL, 'Connector ID or identifier', true), new Input\InputOption('device', 'd', Input\InputOption::VALUE_OPTIONAL, 'Device ID or identifier', true)])); + $this->setName(self::NAME)->setDescription('NS Panel connector discovery')->setDefinition(new Input\InputDefinition([new Input\InputOption('connector', 'c', Input\InputOption::VALUE_OPTIONAL, 'Connector ID or identifier', true), new Input\InputOption('device', 'd', Input\InputOption::VALUE_OPTIONAL, 'Device ID or identifier', false)])); } /** * @throws ApplicationExceptions\InvalidArgument
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2): src/Commands/Execute.php#L60
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ public const NAME = 'fb:ns-panel-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
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2): src/Commands/Execute.php#L68
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ */ protected function configure() : void { - $this->setName(self::NAME)->setDescription('NS Panel 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#L72
Escaped Mutant for Mutator "ArrayItemRemoval": --- Original +++ New @@ @@ */ protected function configure() : void { - $this->setName(self::NAME)->setDescription('NS Panel 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('NS Panel 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#L78
Escaped Mutant for Mutator "TrueValue": --- Original +++ New @@ @@ */ protected function configure() : void { - $this->setName(self::NAME)->setDescription('NS Panel 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('NS Panel 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#L126
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ private Output\OutputInterface|null $output = null; public function __construct(private readonly API\LanApiFactory $lanApiFactory, private readonly Mapping\Builder $mappingBuilder, private readonly NsPanel\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 DateTimeFactory\Clock $clock, private readonly Localization\Translator $translator, string|null $name = null) { - parent::__construct($name); + } /** * @throws Console\Exception\InvalidArgumentException
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.81 MB