Raise minimum PHP version to ^8.1
and refactor code
#321
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.
|