Skip to content

ListenCommand added to DI. #1001

ListenCommand added to DI.

ListenCommand added to DI. #1001

Triggered via pull request April 18, 2025 18:56
Status Success
Total duration 1m 28s
Artifacts

mutation.yml

on: pull_request
Matrix: mutation / roave-infection
Fit to window
Zoom out
Zoom in

Annotations

6 warnings
mutation / PHP 8.4-ubuntu-latest: src/Provider/ChannelNotFoundException.php#L19
Escaped Mutant for Mutator "IncrementInteger": @@ @@ */ final class ChannelNotFoundException extends LogicException implements QueueProviderException { - public function __construct(string|BackedEnum $channel, int $code = 0, ?Throwable $previous = null) + public function __construct(string|BackedEnum $channel, int $code = 1, ?Throwable $previous = null) { parent::__construct(sprintf('Channel "%s" not found.', ChannelNormalizer::normalize($channel)), $code, $previous); } }
mutation / PHP 8.4-ubuntu-latest: src/Provider/ChannelNotFoundException.php#L19
Escaped Mutant for Mutator "DecrementInteger": @@ @@ */ final class ChannelNotFoundException extends LogicException implements QueueProviderException { - public function __construct(string|BackedEnum $channel, int $code = 0, ?Throwable $previous = null) + public function __construct(string|BackedEnum $channel, int $code = -1, ?Throwable $previous = null) { parent::__construct(sprintf('Channel "%s" not found.', ChannelNormalizer::normalize($channel)), $code, $previous); } }
mutation / PHP 8.4-ubuntu-latest: src/Middleware/InvalidMiddlewareDefinitionException.php#L20
Escaped Mutant for Mutator "IncrementInteger": @@ @@ /** * @param array|callable|string $middlewareDefinition */ - public function __construct($middlewareDefinition, int $code = 0, ?Throwable $previous = null) + public function __construct($middlewareDefinition, int $code = 1, ?Throwable $previous = null) { $message = 'Parameter should be either middleware class name or a callable.'; $definitionString = $this->convertDefinitionToString($middlewareDefinition);
mutation / PHP 8.4-ubuntu-latest: src/Middleware/InvalidMiddlewareDefinitionException.php#L20
Escaped Mutant for Mutator "DecrementInteger": @@ @@ /** * @param array|callable|string $middlewareDefinition */ - public function __construct($middlewareDefinition, int $code = 0, ?Throwable $previous = null) + public function __construct($middlewareDefinition, int $code = -1, ?Throwable $previous = null) { $message = 'Parameter should be either middleware class name or a callable.'; $definitionString = $this->convertDefinitionToString($middlewareDefinition);
mutation / PHP 8.4-ubuntu-latest: src/Message/EnvelopeTrait.php#L58
Escaped Mutant for Mutator "PublicVisibility": @@ @@ { return array_merge($this->message->getMetadata(), [EnvelopeInterface::ENVELOPE_STACK_KEY => array_merge($this->message->getMetadata()[EnvelopeInterface::ENVELOPE_STACK_KEY] ?? [], [self::class])], $this->getEnvelopeMetadata()); } - public function getEnvelopeMetadata(): array + protected function getEnvelopeMetadata(): array { return []; } }
mutation / PHP 8.4-ubuntu-latest: src/Cli/SoftLimitTrait.php#L18
Escaped Mutant for Mutator "GreaterThanOrEqualTo": @@ @@ $limit = $this->getMemoryLimit(); if ($limit !== 0) { $usage = memory_get_usage(true); - if ($usage >= $limit) { + if ($usage > $limit) { return true; } }