Skip to content

Fix symfony deprecation #3064

Fix symfony deprecation

Fix symfony deprecation #3064

Triggered via push August 14, 2024 15:50
Status Success
Total duration 7m 38s
Artifacts
run  /  Generate test matrix
2s
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

23 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 / 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 / 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 / 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 / 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/MapBlockService.php#L178
Escaped Mutant for Mutator "NotIdentical": @@ @@ { $longitude = $blockContext->getSetting('longitude'); $latitude = $blockContext->getSetting('latitude'); - if (null !== $longitude && null !== $latitude) { + if (null === $longitude && null !== $latitude) { return [(float) $latitude, (float) $longitude]; } $address = $blockContext->getSetting('address');
run / Mutation Tests (8.3): src/Block/Service/MapBlockService.php#L178
Escaped Mutant for Mutator "NotIdentical": @@ @@ { $longitude = $blockContext->getSetting('longitude'); $latitude = $blockContext->getSetting('latitude'); - if (null !== $longitude && null !== $latitude) { + if (null !== $longitude && null === $latitude) { return [(float) $latitude, (float) $longitude]; } $address = $blockContext->getSetting('address');
run / Mutation Tests (8.3): src/Block/Service/MapBlockService.php#L178
Escaped Mutant for Mutator "LogicalAnd": @@ @@ { $longitude = $blockContext->getSetting('longitude'); $latitude = $blockContext->getSetting('latitude'); - if (null !== $longitude && null !== $latitude) { + if (null !== $longitude || null !== $latitude) { return [(float) $latitude, (float) $longitude]; } $address = $blockContext->getSetting('address');
run / Mutation Tests (8.3): src/Block/Service/MapBlockService.php#L178
Escaped Mutant for Mutator "LogicalAndAllSubExprNegation": @@ @@ { $longitude = $blockContext->getSetting('longitude'); $latitude = $blockContext->getSetting('latitude'); - if (null !== $longitude && null !== $latitude) { + if (!(null !== $longitude) && !(null !== $latitude)) { return [(float) $latitude, (float) $longitude]; } $address = $blockContext->getSetting('address');
run / Mutation Tests (8.3): src/Block/Service/MapBlockService.php#L178
Escaped Mutant for Mutator "LogicalAndNegation": @@ @@ { $longitude = $blockContext->getSetting('longitude'); $latitude = $blockContext->getSetting('latitude'); - if (null !== $longitude && null !== $latitude) { + if (!(null !== $longitude && null !== $latitude)) { return [(float) $latitude, (float) $longitude]; } $address = $blockContext->getSetting('address');
run / Mutation Tests (8.3): src/Block/Service/MapBlockService.php#L179
Escaped Mutant for Mutator "CastFloat": @@ @@ $longitude = $blockContext->getSetting('longitude'); $latitude = $blockContext->getSetting('latitude'); if (null !== $longitude && null !== $latitude) { - return [(float) $latitude, (float) $longitude]; + return [$latitude, (float) $longitude]; } $address = $blockContext->getSetting('address'); if (!\is_string($address)) {
run / Mutation Tests (8.3): src/Block/Service/MapBlockService.php#L179
Escaped Mutant for Mutator "CastFloat": @@ @@ $longitude = $blockContext->getSetting('longitude'); $latitude = $blockContext->getSetting('latitude'); if (null !== $longitude && null !== $latitude) { - return [(float) $latitude, (float) $longitude]; + return [(float) $latitude, $longitude]; } $address = $blockContext->getSetting('address'); if (!\is_string($address)) {
run / Mutation Tests (8.3): src/Block/Service/MapBlockService.php#L179
Escaped Mutant for Mutator "ArrayItemRemoval": @@ @@ $longitude = $blockContext->getSetting('longitude'); $latitude = $blockContext->getSetting('latitude'); if (null !== $longitude && null !== $latitude) { - return [(float) $latitude, (float) $longitude]; + return [(float) $longitude]; } $address = $blockContext->getSetting('address'); if (!\is_string($address)) {
run / Mutation Tests (8.3): src/DependencyInjection/NucleosMapsExtension.php#L33
Escaped Mutant for Mutator "MethodCallRemoval": @@ @@ $loader = new Loader\PhpFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); $loader->load('block.php'); $loader->load('twig.php'); - $container->setAlias('nucleos_maps.geocoder', $config['geocoder']['service'])->setPublic(true); + } }
run / Mutation Tests (8.3): src/DependencyInjection/NucleosMapsExtension.php#L34
Escaped Mutant for Mutator "TrueValue": @@ @@ $loader = new Loader\PhpFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); $loader->load('block.php'); $loader->load('twig.php'); - $container->setAlias('nucleos_maps.geocoder', $config['geocoder']['service'])->setPublic(true); + $container->setAlias('nucleos_maps.geocoder', $config['geocoder']['service'])->setPublic(false); } }
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.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.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/
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 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, 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/