Merge release 3.16.0 into 4.0.x #304
Open
Annotations
10 warnings
|
Infection:
src/DependencyInjection/HandlerServiceLocatorCompilerPass.php#L64
Escaped Mutant for Mutator "ConcatOperandRemoval":
@@ @@
continue; // skip first parameter (command)
}
- $key = $prefix . $parameter->getName();
+ $key = $prefix;
$attributes = $parameter->getAttributes(Inject::class);
|
|
Infection:
src/DependencyInjection/HandlerServiceLocatorCompilerPass.php#L64
Escaped Mutant for Mutator "ConcatOperandRemoval":
@@ @@
continue; // skip first parameter (command)
}
- $key = $prefix . $parameter->getName();
+ $key = $parameter->getName();
$attributes = $parameter->getAttributes(Inject::class);
|
|
Infection:
src/DependencyInjection/HandlerServiceLocatorCompilerPass.php#L64
Escaped Mutant for Mutator "Concat":
@@ @@
continue; // skip first parameter (command)
}
- $key = $prefix . $parameter->getName();
+ $key = $parameter->getName() . $prefix;
$attributes = $parameter->getAttributes(Inject::class);
|
|
Infection:
src/DependencyInjection/HandlerServiceLocatorCompilerPass.php#L61
Escaped Mutant for Mutator "Continue_":
@@ @@
foreach ($method->getParameters() as $index => $parameter) {
if ($index === 0) {
- continue; // skip first parameter (command)
+ break; // skip first parameter (command)
}
$key = $prefix . $parameter->getName();
|
|
Infection:
src/DependencyInjection/HandlerServiceLocatorCompilerPass.php#L60
Escaped Mutant for Mutator "Identical":
@@ @@
$prefix = strtolower($method->getName()) . '.';
foreach ($method->getParameters() as $index => $parameter) {
- if ($index === 0) {
+ if ($index !== 0) {
continue; // skip first parameter (command)
}
|
|
Infection:
src/DependencyInjection/HandlerServiceLocatorCompilerPass.php#L57
Escaped Mutant for Mutator "ConcatOperandRemoval":
@@ @@
private function services(ReflectionMethod $method, ContainerInterface $container): array
{
$services = [];
- $prefix = strtolower($method->getName()) . '.';
+ $prefix = strtolower($method->getName());
foreach ($method->getParameters() as $index => $parameter) {
if ($index === 0) {
|
|
Infection:
src/DependencyInjection/HandlerServiceLocatorCompilerPass.php#L57
Escaped Mutant for Mutator "ConcatOperandRemoval":
@@ @@
private function services(ReflectionMethod $method, ContainerInterface $container): array
{
$services = [];
- $prefix = strtolower($method->getName()) . '.';
+ $prefix = '.';
foreach ($method->getParameters() as $index => $parameter) {
if ($index === 0) {
|
|
Infection:
src/DependencyInjection/HandlerServiceLocatorCompilerPass.php#L57
Escaped Mutant for Mutator "Concat":
@@ @@
private function services(ReflectionMethod $method, ContainerInterface $container): array
{
$services = [];
- $prefix = strtolower($method->getName()) . '.';
+ $prefix = '.' . strtolower($method->getName());
foreach ($method->getParameters() as $index => $parameter) {
if ($index === 0) {
|
|
Infection:
src/DependencyInjection/HandlerServiceLocatorCompilerPass.php#L57
Escaped Mutant for Mutator "UnwrapStrToLower":
@@ @@
private function services(ReflectionMethod $method, ContainerInterface $container): array
{
$services = [];
- $prefix = strtolower($method->getName()) . '.';
+ $prefix = $method->getName() . '.';
foreach ($method->getParameters() as $index => $parameter) {
if ($index === 0) {
|
|
Infection:
src/DependencyInjection/HandlerServiceLocatorCompilerPass.php#L43
Escaped Mutant for Mutator "Assignment":
@@ @@
$services = [];
foreach (HandlerFinder::findInClass($aggregateClass) as $aggregateHandler) {
- $services += $this->services(new ReflectionMethod($aggregateClass, $aggregateHandler->method), $container);
+ $services = $this->services(new ReflectionMethod($aggregateClass, $aggregateHandler->method), $container);
}
$container->register($parameterResolverId, SymfonyParameterResolver::class)
|
Loading