[general] Use global date provider for doctrine timestampable (#310) #31
Annotations
11 warnings
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
src/Commands/Execute.php#L60
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
public const NAME = 'fb:zigbee2mqtt-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
|
src/Commands/Execute.php#L68
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
*/
protected function configure() : void
{
- $this->setName(self::NAME)->setDescription('Zigbee2MQTT connector service')->setDefinition(new Input\InputDefinition([new Input\InputOption('connector', 'c', Input\InputOption::VALUE_OPTIONAL, 'Run devices module connector', 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('Zigbee2MQTT 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('Zigbee2MQTT connector service')->setDefinition(new Input\InputDefinition([]));
}
/**
* @throws Console\Exception\ExceptionInterface
|
src/Commands/Execute.php#L78
Escaped Mutant for Mutator "TrueValue":
--- Original
+++ New
@@ @@
*/
protected function configure() : void
{
- $this->setName(self::NAME)->setDescription('Zigbee2MQTT 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('Zigbee2MQTT connector service')->setDefinition(new Input\InputDefinition([new Input\InputOption('connector', 'c', Input\InputOption::VALUE_OPTIONAL, 'Run devices module connector', false)]));
}
/**
* @throws Console\Exception\ExceptionInterface
|
src/Commands/Install.php#L87
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
private Output\OutputInterface|null $output = null;
public function __construct(private readonly Zigbee2Mqtt\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 ApplicationHelpers\Database $databaseHelper, private readonly DateTimeFactory\Factory $dateTimeFactory, private readonly Localization\Translator $translator, string|null $name = null)
{
- parent::__construct($name);
+
}
/**
* @throws Console\Exception\InvalidArgumentException
|
src/Commands/Install.php#L95
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
*/
protected function configure() : void
{
- $this->setName(self::NAME)->setDescription('Zigbee2MQTT connector installer');
+
}
/**
* @throws ApplicationExceptions\InvalidState
|
src/Hydrators/Channels/Channel.php#L52
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
{
public function __construct(protected readonly DevicesModels\Entities\Devices\DevicesRepository $devicesRepository, Persistence\ManagerRegistry $managerRegistry, Localization\Translator $translator, Helpers\CrudReader|null $crudReader = null)
{
- parent::__construct($managerRegistry, $translator, $crudReader);
+
}
public function getEntityName() : string
{
|
src/Hydrators/Devices/Device.php#L53
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
{
public function __construct(protected readonly DevicesModels\Entities\Connectors\ConnectorsRepository $connectorsRepository, Persistence\ManagerRegistry $managerRegistry, Localization\Translator $translator, Helpers\CrudReader|null $crudReader = null)
{
- parent::__construct($managerRegistry, $translator, $crudReader);
+
}
/**
* @throws ApplicationExceptions\InvalidState
|
src/Hydrators/Devices/SubDevice.php#L53
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
{
public function __construct(private readonly DevicesModels\Entities\Devices\DevicesRepository $devicesRepository, DevicesModels\Entities\Connectors\ConnectorsRepository $connectorsRepository, Persistence\ManagerRegistry $managerRegistry, Localization\Translator $translator, Helpers\CrudReader|null $crudReader = null)
{
- parent::__construct($connectorsRepository, $managerRegistry, $translator, $crudReader);
+
}
public function getEntityName() : string
{
|
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/
|
This job succeeded
Loading