Update dependency symfony/phpunit-bridge to v7 #1656
continuous-integration.yml
on: push
run
/
Generate test matrix
3s
Matrix: run / Code Coverage
Matrix: run / Coding Standards
Matrix: run / Lint composer.json
Matrix: run / Lint symfony container
Matrix: run / Mutation Tests
Matrix: run / Static Code Analysis
Matrix: run / Lint twig files
Matrix: run / Lint XLIFF files
Matrix: run / Lint YML files
Matrix: run / tests
Annotations
9 warnings
run / Mutation Tests (8.3):
src/Block/Service/SpaceStatisticBlockService.php#L120
Escaped Mutant for Mutator "ArrayItemRemoval":
--- Original
+++ New
@@ @@
public function configureSettings(OptionsResolver $resolver) : void
{
$resolver->setDefaults(['title' => null, 'translation_domain' => null, 'icon' => 'fa fa-bar-chart-o', 'class' => null, 'login' => null, 'password' => null, 'template' => '@NucleosAllInkl/Block/block_space_statistic.html.twig']);
- $resolver->setRequired(['login', 'password']);
+ $resolver->setRequired(['password']);
}
public function validate(ErrorElement $errorElement, BlockInterface $block) : void
{
|
run / Mutation Tests (8.3):
src/Block/Service/SpaceStatisticBlockService.php#L120
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
public function configureSettings(OptionsResolver $resolver) : void
{
$resolver->setDefaults(['title' => null, 'translation_domain' => null, 'icon' => 'fa fa-bar-chart-o', 'class' => null, 'login' => null, 'password' => null, 'template' => '@NucleosAllInkl/Block/block_space_statistic.html.twig']);
- $resolver->setRequired(['login', 'password']);
+
}
public function validate(ErrorElement $errorElement, BlockInterface $block) : void
{
|
run / Mutation Tests (8.3):
src/DependencyInjection/NucleosAllInklExtension.php#L36
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
$configuration = new Configuration();
$config = $this->processConfiguration($configuration, $configs);
$loader = new Loader\PhpFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
- $loader->load('block.php');
+
$loader->load('commands.php');
$loader->load('services.php');
$this->configureMail($container, $config);
|
run / Mutation Tests (8.3):
src/DependencyInjection/NucleosAllInklExtension.php#L37
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
$config = $this->processConfiguration($configuration, $configs);
$loader = new Loader\PhpFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
$loader->load('block.php');
- $loader->load('commands.php');
+
$loader->load('services.php');
$this->configureMail($container, $config);
$this->configureCheck($container, $config);
|
run / Mutation Tests (8.3):
src/DependencyInjection/NucleosAllInklExtension.php#L40
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
$loader->load('block.php');
$loader->load('commands.php');
$loader->load('services.php');
- $this->configureMail($container, $config);
+
$this->configureCheck($container, $config);
$this->configureApi($container, $config);
}
|
run / Mutation Tests (8.3):
src/DependencyInjection/NucleosAllInklExtension.php#L41
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
$loader->load('commands.php');
$loader->load('services.php');
$this->configureMail($container, $config);
- $this->configureCheck($container, $config);
+
$this->configureApi($container, $config);
}
/**
|
run / Mutation Tests (8.3):
src/DependencyInjection/NucleosAllInklExtension.php#L59
Escaped Mutant for Mutator "LogicalNot":
--- Original
+++ New
@@ @@
*/
private function configureMail(ContainerBuilder $container, array $config) : void
{
- if (!\array_key_exists('mail', $config)) {
+ if (\array_key_exists('mail', $config)) {
return;
}
$container->getDefinition(SymfonyMailer::class)->replaceArgument(2, ['warning' => $config['mail']]);
|
run / Mutation Tests (8.3):
src/DependencyInjection/NucleosAllInklExtension.php#L75
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
*/
private function configureCheck(ContainerBuilder $container, array $config) : void
{
- $container->setParameter('nucleos_allinkl.check.warning', $config['check']['warning']);
+
$container->setParameter('nucleos_allinkl.check.accounts', $config['check']['accounts']);
}
}
|
run / Mutation Tests (8.3):
src/DependencyInjection/NucleosAllInklExtension.php#L76
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
private function configureCheck(ContainerBuilder $container, array $config) : void
{
$container->setParameter('nucleos_allinkl.check.warning', $config['check']['warning']);
- $container->setParameter('nucleos_allinkl.check.accounts', $config['check']['accounts']);
+
}
}
|