Remove psalm from project #105
Annotations
24 warnings
tests (8.3, 7.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.3, 7.1.*):
src/DependencyInjection/Configuration.php#L52
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
$sorterChildren->scalarNode($sorterConfigNames)->end();
}
$sorterChildren->scalarNode('locale')->end();
- $sorterChildren->end()->end()->end()->end();
+
}
/**
* @phpstan-param class-string $className
|
tests (8.3, 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.3, 6.4.*):
src/DependencyInjection/Configuration.php#L52
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
$sorterChildren->scalarNode($sorterConfigNames)->end();
}
$sorterChildren->scalarNode('locale')->end();
- $sorterChildren->end()->end()->end()->end();
+
}
/**
* @phpstan-param class-string $className
|
tests (8.4, 7.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.4, 7.1.*):
src/DependencyInjection/Configuration.php#L52
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
$sorterChildren->scalarNode($sorterConfigNames)->end();
}
$sorterChildren->scalarNode('locale')->end();
- $sorterChildren->end()->end()->end()->end();
+
}
/**
* @phpstan-param class-string $className
|
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.2, 7.0.*):
src/DependencyInjection/Configuration.php#L52
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
$sorterChildren->scalarNode($sorterConfigNames)->end();
}
$sorterChildren->scalarNode('locale')->end();
- $sorterChildren->end()->end()->end()->end();
+
}
/**
* @phpstan-param class-string $className
|
tests (8.3, 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.3, 7.0.*):
src/DependencyInjection/Configuration.php#L52
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
$sorterChildren->scalarNode($sorterConfigNames)->end();
}
$sorterChildren->scalarNode('locale')->end();
- $sorterChildren->end()->end()->end()->end();
+
}
/**
* @phpstan-param class-string $className
|
tests (8.3, 7.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.3, 7.2.*):
src/DependencyInjection/Configuration.php#L52
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
$sorterChildren->scalarNode($sorterConfigNames)->end();
}
$sorterChildren->scalarNode('locale')->end();
- $sorterChildren->end()->end()->end()->end();
+
}
/**
* @phpstan-param class-string $className
|
tests (8.2, 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.2, 6.4.*):
src/DependencyInjection/Configuration.php#L52
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
$sorterChildren->scalarNode($sorterConfigNames)->end();
}
$sorterChildren->scalarNode('locale')->end();
- $sorterChildren->end()->end()->end()->end();
+
}
/**
* @phpstan-param class-string $className
|
tests (8.2, 7.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.2.*):
src/DependencyInjection/Configuration.php#L52
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
$sorterChildren->scalarNode($sorterConfigNames)->end();
}
$sorterChildren->scalarNode('locale')->end();
- $sorterChildren->end()->end()->end()->end();
+
}
/**
* @phpstan-param class-string $className
|
tests (8.4, 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.4, 7.0.*):
src/DependencyInjection/Configuration.php#L52
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
$sorterChildren->scalarNode($sorterConfigNames)->end();
}
$sorterChildren->scalarNode('locale')->end();
- $sorterChildren->end()->end()->end()->end();
+
}
/**
* @phpstan-param class-string $className
|
tests (8.2, 7.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.2, 7.1.*):
src/DependencyInjection/Configuration.php#L52
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
$sorterChildren->scalarNode($sorterConfigNames)->end();
}
$sorterChildren->scalarNode('locale')->end();
- $sorterChildren->end()->end()->end()->end();
+
}
/**
* @phpstan-param class-string $className
|
tests (8.4, 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.4, 6.4.*):
src/DependencyInjection/Configuration.php#L52
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
$sorterChildren->scalarNode($sorterConfigNames)->end();
}
$sorterChildren->scalarNode('locale')->end();
- $sorterChildren->end()->end()->end()->end();
+
}
/**
* @phpstan-param class-string $className
|
tests (8.4, 7.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.4, 7.2.*):
src/DependencyInjection/Configuration.php#L52
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
$sorterChildren->scalarNode($sorterConfigNames)->end();
}
$sorterChildren->scalarNode('locale')->end();
- $sorterChildren->end()->end()->end()->end();
+
}
/**
* @phpstan-param class-string $className
|