[general] Moving front-end interface from previous project (#251) #5
tests.yaml
on: push
Matrix: PHP Tests
Matrix: PHP Tests With Code Coverage
Matrix: PHP Tests For Mutants
Annotations
13 warnings
PHP Tests (8.2, ubuntu-latest) / Code Tests (PHP 8.2)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
PHP Tests With Code Coverage (8.2, ubuntu-latest) / Code Coverage (PHP 8.2)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2):
src/Commands/Connector.php#L110
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
*/
public function __construct(private readonly Connectors\ContainerFactory $serviceFactory, private readonly Models\Configuration\Connectors\Repository $connectorsConfigurationRepository, private readonly Models\Configuration\Connectors\Controls\Repository $connectorsControlsConfigurationRepository, private readonly Devices\Logger $logger, private readonly ApplicationHelpers\Database $database, private readonly EventLoop\LoopInterface $eventLoop, private readonly ExchangeConsumers\Container $consumer, private readonly DateTimeFactory\Factory $dateTimeFactory, private readonly Localization\Translator $translator, private readonly array $exchangeFactories = [], private readonly PsrEventDispatcher\EventDispatcherInterface|null $dispatcher = null, 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/Connector.php#L118
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
*/
protected function configure() : void
{
- $this->setName(self::NAME)->setDescription('Devices module connector')->setDefinition(new Input\InputDefinition([new Input\InputOption('connector', 'c', Input\InputOption::VALUE_REQUIRED, 'Connector ID or identifier'), new Input\InputOption('mode', 'm', Input\InputOption::VALUE_OPTIONAL, 'Connector mode', Types\ConnectorMode::EXECUTE->value)]));
+
}
/**
* @throws Console\Exception\InvalidArgumentException
|
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2):
src/Commands/Connector.php#L122
Escaped Mutant for Mutator "ArrayItemRemoval":
--- Original
+++ New
@@ @@
*/
protected function configure() : void
{
- $this->setName(self::NAME)->setDescription('Devices module connector')->setDefinition(new Input\InputDefinition([new Input\InputOption('connector', 'c', Input\InputOption::VALUE_REQUIRED, 'Connector ID or identifier'), new Input\InputOption('mode', 'm', Input\InputOption::VALUE_OPTIONAL, 'Connector mode', Types\ConnectorMode::EXECUTE->value)]));
+ $this->setName(self::NAME)->setDescription('Devices module connector')->setDefinition(new Input\InputDefinition([new Input\InputOption('mode', 'm', Input\InputOption::VALUE_OPTIONAL, 'Connector mode', Types\ConnectorMode::EXECUTE->value)]));
}
/**
* @throws Console\Exception\InvalidArgumentException
|
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2):
src/Commands/Exchange.php#L65
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
*/
public function __construct(private readonly Devices\Logger $logger, private readonly EventLoop\LoopInterface $eventLoop, private readonly ExchangeConsumers\Container $consumer, private readonly Localization\Translator $translator, private readonly array $exchangeFactories = [], private readonly EventDispatcher\EventDispatcherInterface|null $dispatcher = null, 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/Exchange.php#L73
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
*/
protected function configure() : void
{
- $this->setName(self::NAME)->setDescription('Devices module exchange');
+
}
/**
* @throws Console\Exception\InvalidArgumentException
|
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2):
src/Commands/Install.php#L47
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
public const NAME = 'fb:devices-module:install';
public function __construct(private readonly Devices\Logger $logger, 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#L55
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
*/
protected function configure() : void
{
- $this->setName(self::NAME)->setDescription('Devices module installer');
+
}
/**
* @throws Console\Exception\InvalidArgumentException
|
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2):
src/Documents/Channels/Properties/Dynamic.php#L104
Escaped Mutant for Mutator "PublicVisibility":
--- Original
+++ New
@@ @@
/**
* @return array<Uuid\UuidInterface>
*/
- public function getChildren() : array
+ protected function getChildren() : array
{
return $this->children;
}
|
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2):
src/Documents/Channels/Properties/Dynamic.php#L114
Escaped Mutant for Mutator "PublicVisibility":
--- Original
+++ New
@@ @@
{
return $this->settable;
}
- public function isQueryable() : bool
+ protected function isQueryable() : bool
{
return $this->queryable;
}
|
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2):
src/Documents/Channels/Properties/Dynamic.php#L132
Escaped Mutant for Mutator "UnwrapArrayMap":
--- Original
+++ New
@@ @@
*/
public function toArray() : array
{
- return array_merge(parent::toArray(), ['settable' => $this->isSettable(), 'queryable' => $this->isQueryable(), 'children' => array_map(static fn(Uuid\UuidInterface $id): string => $id->toString(), $this->getChildren())]);
+ return array_merge(parent::toArray(), ['settable' => $this->isSettable(), 'queryable' => $this->isQueryable(), 'children' => $this->getChildren()]);
}
}
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
Logs - Mutations
|
6.57 MB |
|