[common] Updating NPM CI settings (#158) #29
Annotations
10 warnings
src/Commands/Devices.php#L110
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
public const NAME = 'fb:ns-panel-connector:devices';
public function __construct(private readonly API\LanApiFactory $lanApiFactory, private readonly Helpers\Loader $loader, private readonly Helpers\Entity $entityHelper, private readonly NsPanel\Logger $logger, private readonly DevicesModels\Connectors\ConnectorsRepository $connectorsRepository, private readonly DevicesModels\Devices\DevicesRepository $devicesRepository, private readonly DevicesModels\Devices\DevicesManager $devicesManager, private readonly DevicesModels\Devices\Properties\PropertiesRepository $devicesPropertiesRepository, private readonly DevicesModels\Devices\Properties\PropertiesManager $devicesPropertiesManager, private readonly DevicesModels\Channels\ChannelsRepository $channelsRepository, private readonly DevicesModels\Channels\ChannelsManager $channelsManager, private readonly DevicesModels\Channels\Properties\PropertiesRepository $channelsPropertiesRepository, private readonly DevicesModels\Channels\Properties\PropertiesManager $channelsPropertiesManager, private readonly Persistence\ManagerRegistry $managerRegistry, private readonly Localization\Translator $translator, string|null $name = null)
{
- parent::__construct($name);
+
}
/**
* @throws Console\Exception\InvalidArgumentException
|
src/Commands/Devices.php#L118
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
*/
protected function configure() : void
{
- $this->setName(self::NAME)->setDescription('NS Panel connector devices management');
+
}
/**
* @throws Console\Exception\InvalidArgumentException
|
src/Commands/Discovery.php#L66
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
private DateTimeInterface|null $executedTime = null;
public function __construct(private readonly DevicesModels\Connectors\ConnectorsRepository $connectorsRepository, private readonly DevicesModels\Devices\DevicesRepository $devicesRepository, private readonly DateTimeFactory\Factory $dateTimeFactory, private readonly Localization\Translator $translator, string|null $name = null)
{
- parent::__construct($name);
+
}
/**
* @throws Console\Exception\InvalidArgumentException
|
src/Commands/Discovery.php#L74
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
*/
protected function configure() : void
{
- $this->setName(self::NAME)->setDescription('NS Panel connector devices 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 Console\Exception\ExceptionInterface
|
src/Commands/Discovery.php#L78
Escaped Mutant for Mutator "ArrayItemRemoval":
--- Original
+++ New
@@ @@
*/
protected function configure() : void
{
- $this->setName(self::NAME)->setDescription('NS Panel connector devices 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 devices discovery')->setDefinition(new Input\InputDefinition([new Input\InputOption('device', 'd', Input\InputOption::VALUE_OPTIONAL, 'Device ID or identifier', true)]));
}
/**
* @throws Console\Exception\ExceptionInterface
|
src/Commands/Discovery.php#L84
Escaped Mutant for Mutator "TrueValue":
--- Original
+++ New
@@ @@
*/
protected function configure() : void
{
- $this->setName(self::NAME)->setDescription('NS Panel connector devices 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 devices 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 Console\Exception\ExceptionInterface
|
src/Commands/Discovery.php#L91
Escaped Mutant for Mutator "TrueValue":
--- Original
+++ New
@@ @@
*/
protected function configure() : void
{
- $this->setName(self::NAME)->setDescription('NS Panel connector devices 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 devices 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 Console\Exception\ExceptionInterface
|
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\Connectors\ConnectorsRepository $connectorsRepository, private readonly Localization\Translator $translator, string|null $name = null)
{
- parent::__construct($name);
+
}
/**
* @throws Console\Exception\InvalidArgumentException
|
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 Console\Exception\ExceptionInterface
|
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 Console\Exception\ExceptionInterface
|
The logs for this run have expired and are no longer available.
Loading