Skip to content

Added documents into UI module (#282) #18

Added documents into UI module (#282)

Added documents into UI module (#282) #18

Triggered via push August 7, 2024 10:04
Status Success
Total duration 4m 5s
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

14 warnings
PHP Tests (8.2, ubuntu-latest) / Code Tests (PHP 8.2)
The following actions uses Node.js version which is deprecated 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/
PHP Tests With Code Coverage (8.2, ubuntu-latest) / Code Coverage (PHP 8.2)
The following actions uses Node.js version which is deprecated 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/
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2)
The following actions uses Node.js version which is deprecated 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/
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2): src/Clients/Client.php#L48
Escaped Mutant for Mutator "ArrayItemRemoval": --- Original +++ New @@ @@ private array $options; public function __construct(Connections\Configuration $connection) { - $this->options = ['scheme' => 'tcp', 'host' => $connection->getHost(), 'port' => $connection->getPort()]; + $this->options = ['host' => $connection->getHost(), 'port' => $connection->getPort()]; if ($connection->getUsername() !== null) { $this->options['username'] = $connection->getUsername(); }
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2): src/Clients/Client.php#L50
Escaped Mutant for Mutator "ArrayItem": --- Original +++ New @@ @@ private array $options; public function __construct(Connections\Configuration $connection) { - $this->options = ['scheme' => 'tcp', 'host' => $connection->getHost(), 'port' => $connection->getPort()]; + $this->options = ['scheme' => 'tcp', 'host' > $connection->getHost(), 'port' => $connection->getPort()]; if ($connection->getUsername() !== null) { $this->options['username'] = $connection->getUsername(); }
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2): src/Clients/Client.php#L51
Escaped Mutant for Mutator "ArrayItem": --- Original +++ New @@ @@ private array $options; public function __construct(Connections\Configuration $connection) { - $this->options = ['scheme' => 'tcp', 'host' => $connection->getHost(), 'port' => $connection->getPort()]; + $this->options = ['scheme' => 'tcp', 'host' => $connection->getHost(), 'port' > $connection->getPort()]; if ($connection->getUsername() !== null) { $this->options['username'] = $connection->getUsername(); }
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2): src/Clients/Client.php#L54
Escaped Mutant for Mutator "NotIdentical": --- Original +++ New @@ @@ public function __construct(Connections\Configuration $connection) { $this->options = ['scheme' => 'tcp', 'host' => $connection->getHost(), 'port' => $connection->getPort()]; - if ($connection->getUsername() !== null) { + if ($connection->getUsername() === null) { $this->options['username'] = $connection->getUsername(); } if ($connection->getPassword() !== null) {
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2): src/Clients/Client.php#L58
Escaped Mutant for Mutator "NotIdentical": --- Original +++ New @@ @@ if ($connection->getUsername() !== null) { $this->options['username'] = $connection->getUsername(); } - if ($connection->getPassword() !== null) { + if ($connection->getPassword() === null) { $this->options['password'] = $connection->getPassword(); } }
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2): src/Connections/Configuration.php#L35
Escaped Mutant for Mutator "IncrementInteger": --- Original +++ New @@ @@ final class Configuration { use Nette\SmartObject; - public function __construct(private readonly string $host = '127.0.0.1', private readonly int $port = 6379, private readonly string|null $username = null, private readonly string|null $password = null) + public function __construct(private readonly string $host = '127.0.0.1', private readonly int $port = 6380, private readonly string|null $username = null, private readonly string|null $password = null) { } public function getHost() : string
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2): src/Connections/Configuration.php#L35
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ final class Configuration { use Nette\SmartObject; - public function __construct(private readonly string $host = '127.0.0.1', private readonly int $port = 6379, private readonly string|null $username = null, private readonly string|null $password = null) + public function __construct(private readonly string $host = '127.0.0.1', private readonly int $port = 6378, private readonly string|null $username = null, private readonly string|null $password = null) { } public function getHost() : string
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2): src/DI/RedisDbExtension.php#L64
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ } public function getConfigSchema() : Schema\Schema { - return Schema\Expect::structure(['client' => Schema\Expect::structure(['host' => Schema\Expect::string()->default('127.0.0.1'), 'port' => Schema\Expect::int(6379), 'username' => Schema\Expect::string()->nullable(), 'password' => Schema\Expect::string()->nullable()]), 'exchange' => Schema\Expect::structure(['channel' => Schema\Expect::string()->default(Metadata\Constants::EXCHANGE_CHANNEL_NAME)])]); + return Schema\Expect::structure(['client' => Schema\Expect::structure(['host' => Schema\Expect::string()->default('127.0.0.1'), 'port' => Schema\Expect::int(6378), 'username' => Schema\Expect::string()->nullable(), 'password' => Schema\Expect::string()->nullable()]), 'exchange' => Schema\Expect::structure(['channel' => Schema\Expect::string()->default(Metadata\Constants::EXCHANGE_CHANNEL_NAME)])]); } public function loadConfiguration() : void {
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2): src/DI/RedisDbExtension.php#L64
Escaped Mutant for Mutator "IncrementInteger": --- Original +++ New @@ @@ } public function getConfigSchema() : Schema\Schema { - return Schema\Expect::structure(['client' => Schema\Expect::structure(['host' => Schema\Expect::string()->default('127.0.0.1'), 'port' => Schema\Expect::int(6379), 'username' => Schema\Expect::string()->nullable(), 'password' => Schema\Expect::string()->nullable()]), 'exchange' => Schema\Expect::structure(['channel' => Schema\Expect::string()->default(Metadata\Constants::EXCHANGE_CHANNEL_NAME)])]); + return Schema\Expect::structure(['client' => Schema\Expect::structure(['host' => Schema\Expect::string()->default('127.0.0.1'), 'port' => Schema\Expect::int(6380), 'username' => Schema\Expect::string()->nullable(), 'password' => Schema\Expect::string()->nullable()]), 'exchange' => Schema\Expect::structure(['channel' => Schema\Expect::string()->default(Metadata\Constants::EXCHANGE_CHANNEL_NAME)])]); } public function loadConfiguration() : void {
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2): src/DI/RedisDbExtension.php#L80
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ $builder = $this->getContainerBuilder(); $configuration = $this->getConfig(); assert($configuration instanceof stdClass); - $builder->addDefinition($this->prefix('publisher'), new DI\Definitions\ServiceDefinition())->setType(Publishers\Publisher::class)->setArguments(['channel' => $configuration->exchange->channel]); + $builder->addDefinition($this->prefix('publisher.async'), new DI\Definitions\ServiceDefinition())->setType(Publishers\Async\Publisher::class)->setArguments(['channel' => $configuration->exchange->channel]); $builder->addDefinition($this->prefix('redis.configuration'), new DI\Definitions\ServiceDefinition())->setType(Connections\Configuration::class)->setArguments(['host' => $configuration->client->host, 'port' => $configuration->client->port, 'username' => $configuration->client->username, 'password' => $configuration->client->password]); $builder->addDefinition($this->prefix('clients.sync'), new DI\Definitions\ServiceDefinition())->setType(Clients\Client::class);
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
300 KB