Skip to content

Remove psalm in favor of phpstan #3097

Remove psalm in favor of phpstan

Remove psalm in favor of phpstan #3097

Triggered via pull request February 7, 2025 16:17
Status Failure
Total duration 3h 6m 11s
Artifacts

continuous-integration.yml

on: pull_request
run  /  Generate test matrix
1s
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

7 errors and 11 warnings
run / Test: PHP 8.4, Symfony 6.4, lowest)
The runner has received a shutdown signal. This can happen when the runner service is stopped, or a manually started runner is canceled.
run / Test: PHP 8.4, Symfony 6.4, lowest)
The operation was canceled.
run / Test: PHP 8.2, Symfony 7.0, lowest)
The job was canceled because "_8_4_6_4_lowest" failed.
run / Test: PHP 8.2, Symfony 6.4, lowest)
The job was canceled because "_8_4_6_4_lowest" failed.
run / Test: PHP 8.4, Symfony 7.0, lowest)
The job was canceled because "_8_4_6_4_lowest" failed.
run / Test: PHP 8.3, Symfony 7.0, lowest)
The job was canceled because "_8_4_6_4_lowest" failed.
run / Test: PHP 8.3, Symfony 6.4, lowest)
The job was canceled because "_8_4_6_4_lowest" failed.
run / Mutation Tests (8.4): 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.4): 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.4): 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.4): 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.4): 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.4): 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.4): 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.4): 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.4): 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.4): 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.3, Symfony 6.4, lowest)
Runner GitHub Actions 20 did not respond to a cancelation request with 00:05:00.