Skip to content

Update dependency eslint to v9 - autoclosed #3000

Update dependency eslint to v9 - autoclosed

Update dependency eslint to v9 - autoclosed #3000

Triggered via pull request April 6, 2024 20:19
Status Success
Total duration 1m 50s
Artifacts

continuous-integration.yml

on: pull_request
run  /  Generate test matrix
2s
run / Generate test matrix
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
Fit to window
Zoom out
Zoom in

Annotations

27 warnings
run / Lint symfony container (8.3)
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 / Code Coverage (8.3)
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 / Coding Standards (8.3)
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 / Lint twig files (8.3)
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 / Lint composer.json (8.3)
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 (8.3)
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 (8.3): src/Block/Service/MapBlockService.php#L178
Escaped Mutant for Mutator "NotIdentical": --- Original +++ New @@ @@ { $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": --- Original +++ New @@ @@ { $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": --- Original +++ New @@ @@ { $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": --- Original +++ New @@ @@ { $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": --- Original +++ New @@ @@ { $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": --- Original +++ New @@ @@ $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": --- Original +++ New @@ @@ $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": --- Original +++ New @@ @@ $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": --- Original +++ New @@ @@ $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": --- Original +++ New @@ @@ $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 / Lint XLIFF files (8.3)
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 / Static Code Analysis (8.3)
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 / Lint YML files (8.3)
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 / Test: PHP 8.3, Symfony 6.4, lowest)
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 / Test: PHP 8.3, Symfony 6.4, highest)
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 / Test: PHP 8.2, Symfony 7.0, lowest)
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 / Test: PHP 8.2, Symfony 7.0, highest)
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 / Test: PHP 8.3, Symfony 7.0, lowest)
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 / Test: PHP 8.3, Symfony 7.0, highest)
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 / Test: PHP 8.2, Symfony 6.4, lowest)
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 / Test: PHP 8.2, Symfony 6.4, highest)
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/.