Fix bagdes in README #1665
Annotations
10 warnings
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Run mutation tests with pcov and infection/infection:
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 with pcov and infection/infection:
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 with pcov and infection/infection:
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 with pcov and infection/infection:
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 with pcov and infection/infection:
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 with pcov and infection/infection:
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 with pcov and infection/infection:
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 with pcov and infection/infection:
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 with pcov and infection/infection:
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']);
+
}
}
|
Loading