Skip to content

Fix symfony deprecation #1668

Fix symfony deprecation

Fix symfony deprecation #1668

Triggered via pull request August 14, 2024 15:45
Status Success
Total duration 6m 52s
Artifacts

continuous-integration.yml

on: pull_request
run  /  Generate test matrix
3s
run / Generate test matrix
Matrix: run / Code Coverage
Matrix: run / Coding Standards
Matrix: run / Lint composer.json
Matrix: run / Mutation Tests
Matrix: run / Static Code Analysis
Matrix: run / tests
Fit to window
Zoom out
Zoom in

Annotations

22 warnings
run / Coding Standards (8.3)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
run / Code Coverage (8.3)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
run / Static Code Analysis (8.3)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
run / Lint composer.json (8.3)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
run / Mutation Tests (8.3)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
run / Mutation Tests (8.3): src/Block/Service/SpaceStatisticBlockService.php#L120
Escaped Mutant for Mutator "ArrayItemRemoval": @@ @@ 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": @@ @@ 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": @@ @@ $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": @@ @@ $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": @@ @@ $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": @@ @@ $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": @@ @@ */ 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": @@ @@ */ 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": @@ @@ 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 / Test: PHP 8.2, Symfony 6.4, highest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
run / Test: PHP 8.2, Symfony 7.0, highest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
run / Test: PHP 8.2, Symfony 6.4, lowest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
run / Test: PHP 8.2, Symfony 7.0, lowest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
run / Test: PHP 8.3, Symfony 7.0, highest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
run / Test: PHP 8.3, Symfony 6.4, lowest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
run / Test: PHP 8.3, Symfony 7.0, lowest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
run / Test: PHP 8.3, Symfony 6.4, highest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/