Skip to content

Raise minimum PHP version to ^8.1 and refactor code #321

Raise minimum PHP version to ^8.1 and refactor code

Raise minimum PHP version to ^8.1 and refactor code #321

Triggered via pull request September 13, 2024 18:16
@vjikvjik
opened #76
php-81
Status Success
Total duration 33s
Artifacts

mutation.yml

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

Annotations

2 warnings
mutation / PHP 8.3-ubuntu-latest: src/ListenerConfigurationChecker.php#L63
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ throw new InvalidListenerConfigurationException($this->createNotCallableMessage($listener)); } } catch (ContainerExceptionInterface $exception) { - throw new InvalidListenerConfigurationException('Could not instantiate event listener or listener class has invalid configuration. Got ' . $this->listenerDump($listener) . '.', 0, $exception); + throw new InvalidListenerConfigurationException('Could not instantiate event listener or listener class has invalid configuration. Got ' . $this->listenerDump($listener), 0, $exception); } } }
mutation / PHP 8.3-ubuntu-latest: src/ListenerConfigurationChecker.php#L109
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ return sprintf('"%s" method is not defined in "%s" class.', $definition[1], $definition[0]::class); } } - return 'Listener must be a callable. Got ' . $this->listenerDump($definition) . '.'; + return 'Listener must be a callable. Got ' . $this->listenerDump($definition); } /** * @throws ContainerExceptionInterface Error while retrieving the entry from container.