Add missing sorter configuration to readme file #66
Annotations
35 errors and 50 warnings
tests (8.1, ^5.4)
Process completed with exit code 1.
|
tests (8.2, ^5.4)
Process completed with exit code 1.
|
tests (8.1, ^6.3)
Process completed with exit code 1.
|
tests (8.1, ^6.1)
Process completed with exit code 1.
|
tests (8.2, ^6.2)
The job was canceled because "_8_1__5_4" failed.
|
tests (8.2, ^6.2)
Process completed with exit code 1.
|
tests (8.2, ^6.0)
The job was canceled because "_8_1__5_4" failed.
|
tests (8.2, ^6.0)
Process completed with exit code 1.
|
tests (8.2, ^7.0)
The job was canceled because "_8_1__5_4" failed.
|
tests (8.1, ^6.2)
The job was canceled because "_8_1__5_4" failed.
|
tests (8.2, ^7.0)
Process completed with exit code 1.
|
tests (8.1, ^6.2)
Process completed with exit code 1.
|
tests (8.3, ^6.4)
The job was canceled because "_8_1__5_4" failed.
|
tests (8.1, ^6.4)
The job was canceled because "_8_1__5_4" failed.
|
tests (8.1, ^6.4)
The operation was canceled.
|
tests (8.3, ^6.3)
The job was canceled because "_8_1__5_4" failed.
|
tests (8.3, ^6.3)
The operation was canceled.
|
tests (8.3, ^6.1)
The job was canceled because "_8_1__5_4" failed.
|
tests (8.3, ^6.1)
The operation was canceled.
|
tests (8.1, ^6.0)
The job was canceled because "_8_1__5_4" failed.
|
tests (8.1, ^6.0)
The operation was canceled.
|
tests (8.3, ^6.0)
The job was canceled because "_8_1__5_4" failed.
|
tests (8.3, ^6.0)
The operation was canceled.
|
tests (8.3, ^6.2)
The job was canceled because "_8_1__5_4" failed.
|
tests (8.3, ^6.2)
The operation was canceled.
|
tests (8.3, ^7.0)
The job was canceled because "_8_1__5_4" failed.
|
tests (8.3, ^7.0)
The operation was canceled.
|
tests (8.3, ^5.4)
The job was canceled because "_8_1__5_4" failed.
|
tests (8.3, ^5.4)
The operation was canceled.
|
tests (8.2, ^6.1)
The job was canceled because "_8_1__5_4" failed.
|
tests (8.2, ^6.1)
The operation was canceled.
|
tests (8.2, ^6.3)
The job was canceled because "_8_1__5_4" failed.
|
tests (8.2, ^6.3)
The operation was canceled.
|
tests (8.2, ^6.4)
The job was canceled because "_8_1__5_4" failed.
|
tests (8.2, ^6.4)
The operation was canceled.
|
tests (8.1, ^5.4):
src/DependencyInjection/CompilerPass/SorterConfigPass.php#L32
Escaped Mutant for Mutator "Coalesce":
--- Original
+++ New
@@ @@
$container->getParameterBag()->remove('budgegeria_intl.sorter');
foreach ($sorterConfigs as $serviceSuffix => $sorterConfig) {
/** @phpstan-var string $locale */
- $locale = $sorterConfig['locale'] ?? $defaultLocale;
+ $locale = $defaultLocale ?? $sorterConfig['locale'];
unset($sorterConfig['locale']);
$factory = $container->getDefinition('budgegeria_intl_bundle.sorter.factory.standard');
$builderDefinition = new Definition(Builder::class, [$locale, $factory]);
|
tests (8.2, ^5.4):
src/DependencyInjection/CompilerPass/SorterConfigPass.php#L32
Escaped Mutant for Mutator "Coalesce":
--- Original
+++ New
@@ @@
$container->getParameterBag()->remove('budgegeria_intl.sorter');
foreach ($sorterConfigs as $serviceSuffix => $sorterConfig) {
/** @phpstan-var string $locale */
- $locale = $sorterConfig['locale'] ?? $defaultLocale;
+ $locale = $defaultLocale ?? $sorterConfig['locale'];
unset($sorterConfig['locale']);
$factory = $container->getDefinition('budgegeria_intl_bundle.sorter.factory.standard');
$builderDefinition = new Definition(Builder::class, [$locale, $factory]);
|
tests (8.1, ^5.4):
src/DependencyInjection/CompilerPass/SorterConfigPass.php#L42
Escaped Mutant for Mutator "Concat":
--- Original
+++ New
@@ @@
foreach (array_keys($sorterConfig) as $methodName) {
$builderDefinition->addMethodCall($this->toCamelCase($methodName));
}
- $factoryServiceName = self::SERVICE_FACTORY_PREFIX . $serviceSuffix;
+ $factoryServiceName = $serviceSuffix . self::SERVICE_FACTORY_PREFIX;
$container->setDefinition($factoryServiceName, $builderDefinition);
$factoryDefinition = new Definition(Sorter::class);
$factoryDefinition->setFactory([new Reference($factoryServiceName), 'getSorter']);
|
tests (8.2, ^5.4):
src/DependencyInjection/CompilerPass/SorterConfigPass.php#L42
Escaped Mutant for Mutator "Concat":
--- Original
+++ New
@@ @@
foreach (array_keys($sorterConfig) as $methodName) {
$builderDefinition->addMethodCall($this->toCamelCase($methodName));
}
- $factoryServiceName = self::SERVICE_FACTORY_PREFIX . $serviceSuffix;
+ $factoryServiceName = $serviceSuffix . self::SERVICE_FACTORY_PREFIX;
$container->setDefinition($factoryServiceName, $builderDefinition);
$factoryDefinition = new Definition(Sorter::class);
$factoryDefinition->setFactory([new Reference($factoryServiceName), 'getSorter']);
|
tests (8.1, ^5.4):
src/DependencyInjection/CompilerPass/SorterConfigPass.php#L42
Escaped Mutant for Mutator "ConcatOperandRemoval":
--- Original
+++ New
@@ @@
foreach (array_keys($sorterConfig) as $methodName) {
$builderDefinition->addMethodCall($this->toCamelCase($methodName));
}
- $factoryServiceName = self::SERVICE_FACTORY_PREFIX . $serviceSuffix;
+ $factoryServiceName = $serviceSuffix;
$container->setDefinition($factoryServiceName, $builderDefinition);
$factoryDefinition = new Definition(Sorter::class);
$factoryDefinition->setFactory([new Reference($factoryServiceName), 'getSorter']);
|
tests (8.2, ^5.4):
src/DependencyInjection/CompilerPass/SorterConfigPass.php#L42
Escaped Mutant for Mutator "ConcatOperandRemoval":
--- Original
+++ New
@@ @@
foreach (array_keys($sorterConfig) as $methodName) {
$builderDefinition->addMethodCall($this->toCamelCase($methodName));
}
- $factoryServiceName = self::SERVICE_FACTORY_PREFIX . $serviceSuffix;
+ $factoryServiceName = self::SERVICE_FACTORY_PREFIX;
$container->setDefinition($factoryServiceName, $builderDefinition);
$factoryDefinition = new Definition(Sorter::class);
$factoryDefinition->setFactory([new Reference($factoryServiceName), 'getSorter']);
|
tests (8.2, ^5.4):
src/DependencyInjection/CompilerPass/SorterConfigPass.php#L42
Escaped Mutant for Mutator "ConcatOperandRemoval":
--- Original
+++ New
@@ @@
foreach (array_keys($sorterConfig) as $methodName) {
$builderDefinition->addMethodCall($this->toCamelCase($methodName));
}
- $factoryServiceName = self::SERVICE_FACTORY_PREFIX . $serviceSuffix;
+ $factoryServiceName = $serviceSuffix;
$container->setDefinition($factoryServiceName, $builderDefinition);
$factoryDefinition = new Definition(Sorter::class);
$factoryDefinition->setFactory([new Reference($factoryServiceName), 'getSorter']);
|
tests (8.1, ^5.4):
src/DependencyInjection/CompilerPass/SorterConfigPass.php#L42
Escaped Mutant for Mutator "ConcatOperandRemoval":
--- Original
+++ New
@@ @@
foreach (array_keys($sorterConfig) as $methodName) {
$builderDefinition->addMethodCall($this->toCamelCase($methodName));
}
- $factoryServiceName = self::SERVICE_FACTORY_PREFIX . $serviceSuffix;
+ $factoryServiceName = self::SERVICE_FACTORY_PREFIX;
$container->setDefinition($factoryServiceName, $builderDefinition);
$factoryDefinition = new Definition(Sorter::class);
$factoryDefinition->setFactory([new Reference($factoryServiceName), 'getSorter']);
|
tests (8.2, ^5.4):
src/DependencyInjection/Configuration.php#L48
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
$sorterChildren->scalarNode($sorterConfigNames)->end();
}
$sorterChildren->scalarNode('locale')->end();
- $sorterChildren->end()->end()->end()->end();
+
}
}
|
tests (8.1, ^5.4):
src/DependencyInjection/Configuration.php#L48
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
$sorterChildren->scalarNode($sorterConfigNames)->end();
}
$sorterChildren->scalarNode('locale')->end();
- $sorterChildren->end()->end()->end()->end();
+
}
}
|
tests (8.1, ^6.3):
src/DependencyInjection/CompilerPass/SorterConfigPass.php#L32
Escaped Mutant for Mutator "Coalesce":
--- Original
+++ New
@@ @@
$container->getParameterBag()->remove('budgegeria_intl.sorter');
foreach ($sorterConfigs as $serviceSuffix => $sorterConfig) {
/** @phpstan-var string $locale */
- $locale = $sorterConfig['locale'] ?? $defaultLocale;
+ $locale = $defaultLocale ?? $sorterConfig['locale'];
unset($sorterConfig['locale']);
$factory = $container->getDefinition('budgegeria_intl_bundle.sorter.factory.standard');
$builderDefinition = new Definition(Builder::class, [$locale, $factory]);
|
tests (8.1, ^6.3):
src/DependencyInjection/CompilerPass/SorterConfigPass.php#L42
Escaped Mutant for Mutator "Concat":
--- Original
+++ New
@@ @@
foreach (array_keys($sorterConfig) as $methodName) {
$builderDefinition->addMethodCall($this->toCamelCase($methodName));
}
- $factoryServiceName = self::SERVICE_FACTORY_PREFIX . $serviceSuffix;
+ $factoryServiceName = $serviceSuffix . self::SERVICE_FACTORY_PREFIX;
$container->setDefinition($factoryServiceName, $builderDefinition);
$factoryDefinition = new Definition(Sorter::class);
$factoryDefinition->setFactory([new Reference($factoryServiceName), 'getSorter']);
|
tests (8.1, ^6.3):
src/DependencyInjection/CompilerPass/SorterConfigPass.php#L42
Escaped Mutant for Mutator "ConcatOperandRemoval":
--- Original
+++ New
@@ @@
foreach (array_keys($sorterConfig) as $methodName) {
$builderDefinition->addMethodCall($this->toCamelCase($methodName));
}
- $factoryServiceName = self::SERVICE_FACTORY_PREFIX . $serviceSuffix;
+ $factoryServiceName = $serviceSuffix;
$container->setDefinition($factoryServiceName, $builderDefinition);
$factoryDefinition = new Definition(Sorter::class);
$factoryDefinition->setFactory([new Reference($factoryServiceName), 'getSorter']);
|
tests (8.1, ^6.3):
src/DependencyInjection/CompilerPass/SorterConfigPass.php#L42
Escaped Mutant for Mutator "ConcatOperandRemoval":
--- Original
+++ New
@@ @@
foreach (array_keys($sorterConfig) as $methodName) {
$builderDefinition->addMethodCall($this->toCamelCase($methodName));
}
- $factoryServiceName = self::SERVICE_FACTORY_PREFIX . $serviceSuffix;
+ $factoryServiceName = self::SERVICE_FACTORY_PREFIX;
$container->setDefinition($factoryServiceName, $builderDefinition);
$factoryDefinition = new Definition(Sorter::class);
$factoryDefinition->setFactory([new Reference($factoryServiceName), 'getSorter']);
|
tests (8.1, ^6.3):
src/DependencyInjection/Configuration.php#L48
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
$sorterChildren->scalarNode($sorterConfigNames)->end();
}
$sorterChildren->scalarNode('locale')->end();
- $sorterChildren->end()->end()->end()->end();
+
}
}
|
tests (8.1, ^6.1):
src/DependencyInjection/CompilerPass/SorterConfigPass.php#L32
Escaped Mutant for Mutator "Coalesce":
--- Original
+++ New
@@ @@
$container->getParameterBag()->remove('budgegeria_intl.sorter');
foreach ($sorterConfigs as $serviceSuffix => $sorterConfig) {
/** @phpstan-var string $locale */
- $locale = $sorterConfig['locale'] ?? $defaultLocale;
+ $locale = $defaultLocale ?? $sorterConfig['locale'];
unset($sorterConfig['locale']);
$factory = $container->getDefinition('budgegeria_intl_bundle.sorter.factory.standard');
$builderDefinition = new Definition(Builder::class, [$locale, $factory]);
|
tests (8.1, ^6.1):
src/DependencyInjection/CompilerPass/SorterConfigPass.php#L42
Escaped Mutant for Mutator "Concat":
--- Original
+++ New
@@ @@
foreach (array_keys($sorterConfig) as $methodName) {
$builderDefinition->addMethodCall($this->toCamelCase($methodName));
}
- $factoryServiceName = self::SERVICE_FACTORY_PREFIX . $serviceSuffix;
+ $factoryServiceName = $serviceSuffix . self::SERVICE_FACTORY_PREFIX;
$container->setDefinition($factoryServiceName, $builderDefinition);
$factoryDefinition = new Definition(Sorter::class);
$factoryDefinition->setFactory([new Reference($factoryServiceName), 'getSorter']);
|
tests (8.1, ^6.1):
src/DependencyInjection/CompilerPass/SorterConfigPass.php#L42
Escaped Mutant for Mutator "ConcatOperandRemoval":
--- Original
+++ New
@@ @@
foreach (array_keys($sorterConfig) as $methodName) {
$builderDefinition->addMethodCall($this->toCamelCase($methodName));
}
- $factoryServiceName = self::SERVICE_FACTORY_PREFIX . $serviceSuffix;
+ $factoryServiceName = $serviceSuffix;
$container->setDefinition($factoryServiceName, $builderDefinition);
$factoryDefinition = new Definition(Sorter::class);
$factoryDefinition->setFactory([new Reference($factoryServiceName), 'getSorter']);
|
tests (8.1, ^6.1):
src/DependencyInjection/CompilerPass/SorterConfigPass.php#L42
Escaped Mutant for Mutator "ConcatOperandRemoval":
--- Original
+++ New
@@ @@
foreach (array_keys($sorterConfig) as $methodName) {
$builderDefinition->addMethodCall($this->toCamelCase($methodName));
}
- $factoryServiceName = self::SERVICE_FACTORY_PREFIX . $serviceSuffix;
+ $factoryServiceName = self::SERVICE_FACTORY_PREFIX;
$container->setDefinition($factoryServiceName, $builderDefinition);
$factoryDefinition = new Definition(Sorter::class);
$factoryDefinition->setFactory([new Reference($factoryServiceName), 'getSorter']);
|
tests (8.1, ^6.1):
src/DependencyInjection/Configuration.php#L48
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
$sorterChildren->scalarNode($sorterConfigNames)->end();
}
$sorterChildren->scalarNode('locale')->end();
- $sorterChildren->end()->end()->end()->end();
+
}
}
|
tests (8.2, ^6.2):
src/DependencyInjection/CompilerPass/SorterConfigPass.php#L32
Escaped Mutant for Mutator "Coalesce":
--- Original
+++ New
@@ @@
$container->getParameterBag()->remove('budgegeria_intl.sorter');
foreach ($sorterConfigs as $serviceSuffix => $sorterConfig) {
/** @phpstan-var string $locale */
- $locale = $sorterConfig['locale'] ?? $defaultLocale;
+ $locale = $defaultLocale ?? $sorterConfig['locale'];
unset($sorterConfig['locale']);
$factory = $container->getDefinition('budgegeria_intl_bundle.sorter.factory.standard');
$builderDefinition = new Definition(Builder::class, [$locale, $factory]);
|
tests (8.2, ^6.2):
src/DependencyInjection/CompilerPass/SorterConfigPass.php#L42
Escaped Mutant for Mutator "Concat":
--- Original
+++ New
@@ @@
foreach (array_keys($sorterConfig) as $methodName) {
$builderDefinition->addMethodCall($this->toCamelCase($methodName));
}
- $factoryServiceName = self::SERVICE_FACTORY_PREFIX . $serviceSuffix;
+ $factoryServiceName = $serviceSuffix . self::SERVICE_FACTORY_PREFIX;
$container->setDefinition($factoryServiceName, $builderDefinition);
$factoryDefinition = new Definition(Sorter::class);
$factoryDefinition->setFactory([new Reference($factoryServiceName), 'getSorter']);
|
tests (8.2, ^6.2):
src/DependencyInjection/CompilerPass/SorterConfigPass.php#L42
Escaped Mutant for Mutator "ConcatOperandRemoval":
--- Original
+++ New
@@ @@
foreach (array_keys($sorterConfig) as $methodName) {
$builderDefinition->addMethodCall($this->toCamelCase($methodName));
}
- $factoryServiceName = self::SERVICE_FACTORY_PREFIX . $serviceSuffix;
+ $factoryServiceName = $serviceSuffix;
$container->setDefinition($factoryServiceName, $builderDefinition);
$factoryDefinition = new Definition(Sorter::class);
$factoryDefinition->setFactory([new Reference($factoryServiceName), 'getSorter']);
|
tests (8.2, ^6.2):
src/DependencyInjection/CompilerPass/SorterConfigPass.php#L42
Escaped Mutant for Mutator "ConcatOperandRemoval":
--- Original
+++ New
@@ @@
foreach (array_keys($sorterConfig) as $methodName) {
$builderDefinition->addMethodCall($this->toCamelCase($methodName));
}
- $factoryServiceName = self::SERVICE_FACTORY_PREFIX . $serviceSuffix;
+ $factoryServiceName = self::SERVICE_FACTORY_PREFIX;
$container->setDefinition($factoryServiceName, $builderDefinition);
$factoryDefinition = new Definition(Sorter::class);
$factoryDefinition->setFactory([new Reference($factoryServiceName), 'getSorter']);
|
tests (8.2, ^6.2):
src/DependencyInjection/Configuration.php#L48
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
$sorterChildren->scalarNode($sorterConfigNames)->end();
}
$sorterChildren->scalarNode('locale')->end();
- $sorterChildren->end()->end()->end()->end();
+
}
}
|
tests (8.2, ^6.0):
src/DependencyInjection/CompilerPass/SorterConfigPass.php#L32
Escaped Mutant for Mutator "Coalesce":
--- Original
+++ New
@@ @@
$container->getParameterBag()->remove('budgegeria_intl.sorter');
foreach ($sorterConfigs as $serviceSuffix => $sorterConfig) {
/** @phpstan-var string $locale */
- $locale = $sorterConfig['locale'] ?? $defaultLocale;
+ $locale = $defaultLocale ?? $sorterConfig['locale'];
unset($sorterConfig['locale']);
$factory = $container->getDefinition('budgegeria_intl_bundle.sorter.factory.standard');
$builderDefinition = new Definition(Builder::class, [$locale, $factory]);
|
tests (8.2, ^6.0):
src/DependencyInjection/CompilerPass/SorterConfigPass.php#L42
Escaped Mutant for Mutator "Concat":
--- Original
+++ New
@@ @@
foreach (array_keys($sorterConfig) as $methodName) {
$builderDefinition->addMethodCall($this->toCamelCase($methodName));
}
- $factoryServiceName = self::SERVICE_FACTORY_PREFIX . $serviceSuffix;
+ $factoryServiceName = $serviceSuffix . self::SERVICE_FACTORY_PREFIX;
$container->setDefinition($factoryServiceName, $builderDefinition);
$factoryDefinition = new Definition(Sorter::class);
$factoryDefinition->setFactory([new Reference($factoryServiceName), 'getSorter']);
|
tests (8.2, ^6.0):
src/DependencyInjection/CompilerPass/SorterConfigPass.php#L42
Escaped Mutant for Mutator "ConcatOperandRemoval":
--- Original
+++ New
@@ @@
foreach (array_keys($sorterConfig) as $methodName) {
$builderDefinition->addMethodCall($this->toCamelCase($methodName));
}
- $factoryServiceName = self::SERVICE_FACTORY_PREFIX . $serviceSuffix;
+ $factoryServiceName = $serviceSuffix;
$container->setDefinition($factoryServiceName, $builderDefinition);
$factoryDefinition = new Definition(Sorter::class);
$factoryDefinition->setFactory([new Reference($factoryServiceName), 'getSorter']);
|
tests (8.2, ^6.0):
src/DependencyInjection/CompilerPass/SorterConfigPass.php#L42
Escaped Mutant for Mutator "ConcatOperandRemoval":
--- Original
+++ New
@@ @@
foreach (array_keys($sorterConfig) as $methodName) {
$builderDefinition->addMethodCall($this->toCamelCase($methodName));
}
- $factoryServiceName = self::SERVICE_FACTORY_PREFIX . $serviceSuffix;
+ $factoryServiceName = self::SERVICE_FACTORY_PREFIX;
$container->setDefinition($factoryServiceName, $builderDefinition);
$factoryDefinition = new Definition(Sorter::class);
$factoryDefinition->setFactory([new Reference($factoryServiceName), 'getSorter']);
|
tests (8.2, ^6.0):
src/DependencyInjection/Configuration.php#L48
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
$sorterChildren->scalarNode($sorterConfigNames)->end();
}
$sorterChildren->scalarNode('locale')->end();
- $sorterChildren->end()->end()->end()->end();
+
}
}
|
tests (8.2, ^7.0):
src/DependencyInjection/CompilerPass/SorterConfigPass.php#L32
Escaped Mutant for Mutator "Coalesce":
--- Original
+++ New
@@ @@
$container->getParameterBag()->remove('budgegeria_intl.sorter');
foreach ($sorterConfigs as $serviceSuffix => $sorterConfig) {
/** @phpstan-var string $locale */
- $locale = $sorterConfig['locale'] ?? $defaultLocale;
+ $locale = $defaultLocale ?? $sorterConfig['locale'];
unset($sorterConfig['locale']);
$factory = $container->getDefinition('budgegeria_intl_bundle.sorter.factory.standard');
$builderDefinition = new Definition(Builder::class, [$locale, $factory]);
|
tests (8.1, ^6.2):
src/DependencyInjection/CompilerPass/SorterConfigPass.php#L32
Escaped Mutant for Mutator "Coalesce":
--- Original
+++ New
@@ @@
$container->getParameterBag()->remove('budgegeria_intl.sorter');
foreach ($sorterConfigs as $serviceSuffix => $sorterConfig) {
/** @phpstan-var string $locale */
- $locale = $sorterConfig['locale'] ?? $defaultLocale;
+ $locale = $defaultLocale ?? $sorterConfig['locale'];
unset($sorterConfig['locale']);
$factory = $container->getDefinition('budgegeria_intl_bundle.sorter.factory.standard');
$builderDefinition = new Definition(Builder::class, [$locale, $factory]);
|
tests (8.2, ^7.0):
src/DependencyInjection/CompilerPass/SorterConfigPass.php#L42
Escaped Mutant for Mutator "Concat":
--- Original
+++ New
@@ @@
foreach (array_keys($sorterConfig) as $methodName) {
$builderDefinition->addMethodCall($this->toCamelCase($methodName));
}
- $factoryServiceName = self::SERVICE_FACTORY_PREFIX . $serviceSuffix;
+ $factoryServiceName = $serviceSuffix . self::SERVICE_FACTORY_PREFIX;
$container->setDefinition($factoryServiceName, $builderDefinition);
$factoryDefinition = new Definition(Sorter::class);
$factoryDefinition->setFactory([new Reference($factoryServiceName), 'getSorter']);
|
tests (8.1, ^6.2):
src/DependencyInjection/CompilerPass/SorterConfigPass.php#L42
Escaped Mutant for Mutator "Concat":
--- Original
+++ New
@@ @@
foreach (array_keys($sorterConfig) as $methodName) {
$builderDefinition->addMethodCall($this->toCamelCase($methodName));
}
- $factoryServiceName = self::SERVICE_FACTORY_PREFIX . $serviceSuffix;
+ $factoryServiceName = $serviceSuffix . self::SERVICE_FACTORY_PREFIX;
$container->setDefinition($factoryServiceName, $builderDefinition);
$factoryDefinition = new Definition(Sorter::class);
$factoryDefinition->setFactory([new Reference($factoryServiceName), 'getSorter']);
|
tests (8.2, ^7.0):
src/DependencyInjection/CompilerPass/SorterConfigPass.php#L42
Escaped Mutant for Mutator "ConcatOperandRemoval":
--- Original
+++ New
@@ @@
foreach (array_keys($sorterConfig) as $methodName) {
$builderDefinition->addMethodCall($this->toCamelCase($methodName));
}
- $factoryServiceName = self::SERVICE_FACTORY_PREFIX . $serviceSuffix;
+ $factoryServiceName = $serviceSuffix;
$container->setDefinition($factoryServiceName, $builderDefinition);
$factoryDefinition = new Definition(Sorter::class);
$factoryDefinition->setFactory([new Reference($factoryServiceName), 'getSorter']);
|
tests (8.1, ^6.2):
src/DependencyInjection/CompilerPass/SorterConfigPass.php#L42
Escaped Mutant for Mutator "ConcatOperandRemoval":
--- Original
+++ New
@@ @@
foreach (array_keys($sorterConfig) as $methodName) {
$builderDefinition->addMethodCall($this->toCamelCase($methodName));
}
- $factoryServiceName = self::SERVICE_FACTORY_PREFIX . $serviceSuffix;
+ $factoryServiceName = self::SERVICE_FACTORY_PREFIX;
$container->setDefinition($factoryServiceName, $builderDefinition);
$factoryDefinition = new Definition(Sorter::class);
$factoryDefinition->setFactory([new Reference($factoryServiceName), 'getSorter']);
|
tests (8.2, ^7.0):
src/DependencyInjection/CompilerPass/SorterConfigPass.php#L42
Escaped Mutant for Mutator "ConcatOperandRemoval":
--- Original
+++ New
@@ @@
foreach (array_keys($sorterConfig) as $methodName) {
$builderDefinition->addMethodCall($this->toCamelCase($methodName));
}
- $factoryServiceName = self::SERVICE_FACTORY_PREFIX . $serviceSuffix;
+ $factoryServiceName = self::SERVICE_FACTORY_PREFIX;
$container->setDefinition($factoryServiceName, $builderDefinition);
$factoryDefinition = new Definition(Sorter::class);
$factoryDefinition->setFactory([new Reference($factoryServiceName), 'getSorter']);
|
tests (8.1, ^6.2):
src/DependencyInjection/CompilerPass/SorterConfigPass.php#L42
Escaped Mutant for Mutator "ConcatOperandRemoval":
--- Original
+++ New
@@ @@
foreach (array_keys($sorterConfig) as $methodName) {
$builderDefinition->addMethodCall($this->toCamelCase($methodName));
}
- $factoryServiceName = self::SERVICE_FACTORY_PREFIX . $serviceSuffix;
+ $factoryServiceName = $serviceSuffix;
$container->setDefinition($factoryServiceName, $builderDefinition);
$factoryDefinition = new Definition(Sorter::class);
$factoryDefinition->setFactory([new Reference($factoryServiceName), 'getSorter']);
|
tests (8.2, ^7.0):
src/DependencyInjection/Configuration.php#L48
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
$sorterChildren->scalarNode($sorterConfigNames)->end();
}
$sorterChildren->scalarNode('locale')->end();
- $sorterChildren->end()->end()->end()->end();
+
}
}
|
tests (8.1, ^6.2):
src/DependencyInjection/Configuration.php#L48
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
$sorterChildren->scalarNode($sorterConfigNames)->end();
}
$sorterChildren->scalarNode('locale')->end();
- $sorterChildren->end()->end()->end()->end();
+
}
}
|
tests (8.1, ^6.4):
src/DependencyInjection/CompilerPass/SorterConfigPass.php#L32
Escaped Mutant for Mutator "Coalesce":
--- Original
+++ New
@@ @@
$container->getParameterBag()->remove('budgegeria_intl.sorter');
foreach ($sorterConfigs as $serviceSuffix => $sorterConfig) {
/** @phpstan-var string $locale */
- $locale = $sorterConfig['locale'] ?? $defaultLocale;
+ $locale = $defaultLocale ?? $sorterConfig['locale'];
unset($sorterConfig['locale']);
$factory = $container->getDefinition('budgegeria_intl_bundle.sorter.factory.standard');
$builderDefinition = new Definition(Builder::class, [$locale, $factory]);
|
tests (8.1, ^6.4):
src/DependencyInjection/CompilerPass/SorterConfigPass.php#L42
Escaped Mutant for Mutator "Concat":
--- Original
+++ New
@@ @@
foreach (array_keys($sorterConfig) as $methodName) {
$builderDefinition->addMethodCall($this->toCamelCase($methodName));
}
- $factoryServiceName = self::SERVICE_FACTORY_PREFIX . $serviceSuffix;
+ $factoryServiceName = $serviceSuffix . self::SERVICE_FACTORY_PREFIX;
$container->setDefinition($factoryServiceName, $builderDefinition);
$factoryDefinition = new Definition(Sorter::class);
$factoryDefinition->setFactory([new Reference($factoryServiceName), 'getSorter']);
|
tests (8.1, ^6.4):
src/DependencyInjection/CompilerPass/SorterConfigPass.php#L42
Escaped Mutant for Mutator "ConcatOperandRemoval":
--- Original
+++ New
@@ @@
foreach (array_keys($sorterConfig) as $methodName) {
$builderDefinition->addMethodCall($this->toCamelCase($methodName));
}
- $factoryServiceName = self::SERVICE_FACTORY_PREFIX . $serviceSuffix;
+ $factoryServiceName = $serviceSuffix;
$container->setDefinition($factoryServiceName, $builderDefinition);
$factoryDefinition = new Definition(Sorter::class);
$factoryDefinition->setFactory([new Reference($factoryServiceName), 'getSorter']);
|
tests (8.1, ^6.4):
src/DependencyInjection/CompilerPass/SorterConfigPass.php#L42
Escaped Mutant for Mutator "ConcatOperandRemoval":
--- Original
+++ New
@@ @@
foreach (array_keys($sorterConfig) as $methodName) {
$builderDefinition->addMethodCall($this->toCamelCase($methodName));
}
- $factoryServiceName = self::SERVICE_FACTORY_PREFIX . $serviceSuffix;
+ $factoryServiceName = self::SERVICE_FACTORY_PREFIX;
$container->setDefinition($factoryServiceName, $builderDefinition);
$factoryDefinition = new Definition(Sorter::class);
$factoryDefinition->setFactory([new Reference($factoryServiceName), 'getSorter']);
|
tests (8.1, ^6.4):
src/DependencyInjection/Configuration.php#L48
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
$sorterChildren->scalarNode($sorterConfigNames)->end();
}
$sorterChildren->scalarNode('locale')->end();
- $sorterChildren->end()->end()->end()->end();
+
}
}
|
tests (8.2, ^6.3):
src/DependencyInjection/CompilerPass/SorterConfigPass.php#L32
Escaped Mutant for Mutator "Coalesce":
--- Original
+++ New
@@ @@
$container->getParameterBag()->remove('budgegeria_intl.sorter');
foreach ($sorterConfigs as $serviceSuffix => $sorterConfig) {
/** @phpstan-var string $locale */
- $locale = $sorterConfig['locale'] ?? $defaultLocale;
+ $locale = $defaultLocale ?? $sorterConfig['locale'];
unset($sorterConfig['locale']);
$factory = $container->getDefinition('budgegeria_intl_bundle.sorter.factory.standard');
$builderDefinition = new Definition(Builder::class, [$locale, $factory]);
|
tests (8.2, ^6.3):
src/DependencyInjection/CompilerPass/SorterConfigPass.php#L42
Escaped Mutant for Mutator "Concat":
--- Original
+++ New
@@ @@
foreach (array_keys($sorterConfig) as $methodName) {
$builderDefinition->addMethodCall($this->toCamelCase($methodName));
}
- $factoryServiceName = self::SERVICE_FACTORY_PREFIX . $serviceSuffix;
+ $factoryServiceName = $serviceSuffix . self::SERVICE_FACTORY_PREFIX;
$container->setDefinition($factoryServiceName, $builderDefinition);
$factoryDefinition = new Definition(Sorter::class);
$factoryDefinition->setFactory([new Reference($factoryServiceName), 'getSorter']);
|
tests (8.2, ^6.3):
src/DependencyInjection/CompilerPass/SorterConfigPass.php#L42
Escaped Mutant for Mutator "ConcatOperandRemoval":
--- Original
+++ New
@@ @@
foreach (array_keys($sorterConfig) as $methodName) {
$builderDefinition->addMethodCall($this->toCamelCase($methodName));
}
- $factoryServiceName = self::SERVICE_FACTORY_PREFIX . $serviceSuffix;
+ $factoryServiceName = $serviceSuffix;
$container->setDefinition($factoryServiceName, $builderDefinition);
$factoryDefinition = new Definition(Sorter::class);
$factoryDefinition->setFactory([new Reference($factoryServiceName), 'getSorter']);
|
tests (8.2, ^6.3):
src/DependencyInjection/CompilerPass/SorterConfigPass.php#L42
Escaped Mutant for Mutator "ConcatOperandRemoval":
--- Original
+++ New
@@ @@
foreach (array_keys($sorterConfig) as $methodName) {
$builderDefinition->addMethodCall($this->toCamelCase($methodName));
}
- $factoryServiceName = self::SERVICE_FACTORY_PREFIX . $serviceSuffix;
+ $factoryServiceName = self::SERVICE_FACTORY_PREFIX;
$container->setDefinition($factoryServiceName, $builderDefinition);
$factoryDefinition = new Definition(Sorter::class);
$factoryDefinition->setFactory([new Reference($factoryServiceName), 'getSorter']);
|
tests (8.2, ^6.3):
src/DependencyInjection/Configuration.php#L48
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
$sorterChildren->scalarNode($sorterConfigNames)->end();
}
$sorterChildren->scalarNode('locale')->end();
- $sorterChildren->end()->end()->end()->end();
+
}
}
|