Skip to content

Update dependency symfony/phpunit-bridge to v7 #2931

Update dependency symfony/phpunit-bridge to v7

Update dependency symfony/phpunit-bridge to v7 #2931

Triggered via pull request December 5, 2023 14:56
Status Failure
Total duration 1m 34s
Artifacts

continuous-integration.yml

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

17 errors and 10 warnings
PropertyNotSetInConstructor: tests/App/AppKernel.php#L25
tests/App/AppKernel.php:25:13: PropertyNotSetInConstructor: Property Nucleos\MapsBundle\Tests\App\AppKernel::$debug is not defined in constructor of Nucleos\MapsBundle\Tests\App\AppKernel or in any private or final methods called in the constructor (see https://psalm.dev/074)
run / Static Code Analysis (8.3)
Process completed with exit code 2.
run / Test: PHP 8.3, Symfony 5.4, lowest)
Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires symfony/config ^7.0 -> satisfiable by symfony/config[v7.0.0]. - symfony/config v7.0.0 requires symfony/filesystem ^6.4|^7.0 -> found symfony/filesystem[v6.4.0, v7.0.0] but these were not loaded, likely because it conflicts with another require. Problem 2 - Root composer.json requires symfony/form ^7.0 -> satisfiable by symfony/form[v7.0.0, v7.0.1]. - symfony/form[v7.0.0, ..., v7.0.1] require symfony/event-dispatcher ^6.4|^7.0 -> found symfony/event-dispatcher[v6.4.0, v7.0.0] but these were not loaded, likely because it conflicts with another require. Problem 3 - Root composer.json requires symfony/framework-bundle ^7.0.0 -> satisfiable by symfony/framework-bundle[v7.0.0, v7.0.1]. - symfony/framework-bundle[v7.0.0, ..., v7.0.1] require symfony/error-handler ^6.4|^7.0 -> found symfony/error-handler[v6.4.0, v7.0.0] but these were not loaded, likely because it conflicts with another require. Problem 4 - Root composer.json requires symfony/http-kernel ^7.0 -> satisfiable by symfony/http-kernel[v7.0.0, v7.0.1]. - symfony/http-kernel[v7.0.0, ..., v7.0.1] require symfony/error-handler ^6.4|^7.0 -> found symfony/error-handler[v6.4.0, v7.0.0] but these were not loaded, likely because it conflicts with another require. Problem 5 - Root composer.json requires symfony/browser-kit ^7.0 -> satisfiable by symfony/browser-kit[v7.0.0]. - symfony/browser-kit v7.0.0 requires symfony/dom-crawler ^6.4|^7.0 -> found symfony/dom-crawler[v6.4.0, v7.0.0] but these were not loaded, likely because it conflicts with another require. Problem 6 - Root composer.json requires symfony/console ^7.0 -> satisfiable by symfony/console[v7.0.0, v7.0.1]. - symfony/console[v7.0.0, ..., v7.0.1] require symfony/string ^6.4|^7.0 -> found symfony/string[v6.4.0, v7.0.0] but these were not loaded, likely because it conflicts with another require. Problem 7 - symfony/form[v7.0.0, ..., v7.0.1] require symfony/event-dispatcher ^6.4|^7.0 -> found symfony/event-dispatcher[v6.4.0, v7.0.0] but these were not loaded, likely because it conflicts with another require. - sonata-project/form-extensions[1.4.0, ..., 1.6.0] require php ^7.2 -> your php version (8.3.0) does not satisfy that requirement. - sonata-project/form-extensions[1.7.0, ..., 1.7.1] require php ^7.3 -> your php version (8.3.0) does not satisfy that requirement. - sonata-project/form-extensions[1.8.0, ..., 1.9.0] require symfony/form ^4.4 || ^5.1 -> found symfony/form[v4.4.0, ..., v4.4.48, v5.1.0, ..., v5.4.33] but it conflicts with your root composer.json require (^7.0). - sonata-project/form-extensions 1.10.0 requires symfony/form ^4.4 || ^5.3 -> found symfony/form[v4.4.0, ..., v4.4.48, v5.3.0, ..., v5.4.33] but it conflicts with your root composer.json require (^7.0). - sonata-project/form-extensions[1.11.0, ..., 1.16.1] require symfony/form ^4.4 || ^5.3 || ^6.0 -> found symfony/form[v4.4.0, ..., v4.4.48, v5.3.0, ..., v5.4.33, v6.0.0, ..., v6.4.1] but it conflicts with your root composer.json require (^7.0). - sonata-project/form-extensions[1.17.0, ..., 1.18.0] require symfony/form ^4.4 || ^5.4 || ^6.0 -> found symfony/form[v4.4.0, ..., v4.4.48, v5.4.0, ..., v5.4.33, v6.0.0, ..., v6.4.1] but it conflicts with your root composer.json require (^7.0). - sonata-project/form-extensions[1.18.1, ..., 1.20.0] require symfony/form ^4.4 || ^5.4 || ^6.2 -> found symfony/form[v4.4.0, ..., v4.4.48, v5.4.0, ..., v5.4.33, v6.2.0, ..., v6.4.1] but it conflicts with your root composer.json require (^7.0). - sonata-project/form-extensions[2.0.0, ..., 2.2.0] require symfony/form ^5.4 || ^6.2 -> found symfony/form[v5.4.0, ..., v5.4.33, v6.2.0, ..., v6.4.1] but it conflicts with your root composer.json require (^7.0). - sonata-project/form-extensions 2.3.0 requires symfony/form ^5.4 || ^6.2 || ^7.0 -> satisfiable by symfony/form[v7.0.0, v7.0.1]. - Root composer.json requires sonata-project/form-extensions ^1.4 ||
run / Test: PHP 8.3, Symfony 5.4, lowest)
Process completed with exit code 2.
run / Test: PHP 8.2, Symfony 6.3, highest)
Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires symfony/config ^7.0 -> satisfiable by symfony/config[v7.0.0]. - symfony/config v7.0.0 requires symfony/filesystem ^6.4|^7.0 -> found symfony/filesystem[v6.4.0, v7.0.0] but these were not loaded, likely because it conflicts with another require. Problem 2 - Root composer.json requires symfony/dependency-injection ^7.0 -> satisfiable by symfony/dependency-injection[v7.0.0, v7.0.1]. - symfony/dependency-injection[v7.0.0, ..., v7.0.1] require symfony/var-exporter ^6.4|^7.0 -> found symfony/var-exporter[v6.4.0, v6.4.1, v7.0.0, v7.0.1] but these were not loaded, likely because it conflicts with another require. Problem 3 - Root composer.json requires symfony/form ^7.0 -> satisfiable by symfony/form[v7.0.0, v7.0.1]. - symfony/form[v7.0.0, ..., v7.0.1] require symfony/event-dispatcher ^6.4|^7.0 -> found symfony/event-dispatcher[v6.4.0, v7.0.0] but these were not loaded, likely because it conflicts with another require. Problem 4 - Root composer.json requires symfony/framework-bundle ^7.0.0 -> satisfiable by symfony/framework-bundle[v7.0.0, v7.0.1]. - symfony/framework-bundle[v7.0.0, ..., v7.0.1] require symfony/error-handler ^6.4|^7.0 -> found symfony/error-handler[v6.4.0, v7.0.0] but these were not loaded, likely because it conflicts with another require. Problem 5 - Root composer.json requires symfony/http-kernel ^7.0 -> satisfiable by symfony/http-kernel[v7.0.0, v7.0.1]. - symfony/http-kernel[v7.0.0, ..., v7.0.1] require symfony/error-handler ^6.4|^7.0 -> found symfony/error-handler[v6.4.0, v7.0.0] but these were not loaded, likely because it conflicts with another require. Problem 6 - Root composer.json requires symfony/browser-kit ^7.0 -> satisfiable by symfony/browser-kit[v7.0.0]. - symfony/browser-kit v7.0.0 requires symfony/dom-crawler ^6.4|^7.0 -> found symfony/dom-crawler[v6.4.0, v7.0.0] but these were not loaded, likely because it conflicts with another require. Problem 7 - Root composer.json requires symfony/cache ^7.0 -> satisfiable by symfony/cache[v7.0.0]. - symfony/cache v7.0.0 requires symfony/var-exporter ^6.4|^7.0 -> found symfony/var-exporter[v6.4.0, v6.4.1, v7.0.0, v7.0.1] but these were not loaded, likely because it conflicts with another require. Problem 8 - Root composer.json requires symfony/console ^7.0 -> satisfiable by symfony/console[v7.0.0, v7.0.1]. - symfony/console[v7.0.0, ..., v7.0.1] require symfony/string ^6.4|^7.0 -> found symfony/string[v6.4.0, v7.0.0] but these were not loaded, likely because it conflicts with another require. Problem 9 - symfony/form[v7.0.0, ..., v7.0.1] require symfony/event-dispatcher ^6.4|^7.0 -> found symfony/event-dispatcher[v6.4.0, v7.0.0] but these were not loaded, likely because it conflicts with another require. - sonata-project/form-extensions[1.4.0, ..., 1.6.0] require php ^7.2 -> your php version (8.2.13) does not satisfy that requirement. - sonata-project/form-extensions[1.7.0, ..., 1.7.1] require php ^7.3 -> your php version (8.2.13) does not satisfy that requirement. - sonata-project/form-extensions[1.8.0, ..., 1.9.0] require symfony/event-dispatcher ^4.4 || ^5.1 -> found symfony/event-dispatcher[v4.4.0, ..., v4.4.44, v5.1.0, ..., v5.4.26] but these were not loaded, likely because it conflicts with another require. - sonata-project/form-extensions 1.10.0 requires symfony/event-dispatcher ^4.4 || ^5.3 -> found symfony/event-dispatcher[v4.4.0, ..., v4.4.44, v5.3.0, ..., v5.4.26] but these were not loaded, likely because it conflicts with another require. - sonata-project/form-extensions[1.11.0, ..., 1.16.1] require symfony/form ^4.4 || ^5.3 || ^6.0 -> found symfony/form[v4.4.0, ..., v4.4.48, v5.3.0, ..., v5.4.33, v6.0.0, ..., v6.4.1] but it conflicts with your root composer.json require (^7.0). - sonata-project/form-extensions[1.17.0, ..., 1.18.0] require symfony/form ^4.4 || ^5.4 || ^6.0 -> found symfony/form[v4.4.0, ..., v4.4.48, v5.4.0,
run / Test: PHP 8.2, Symfony 6.3, highest)
Process completed with exit code 2.
run / Test: PHP 8.3, Symfony 5.4, highest)
Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires symfony/config ^7.0 -> satisfiable by symfony/config[v7.0.0]. - symfony/config v7.0.0 requires symfony/filesystem ^6.4|^7.0 -> found symfony/filesystem[v6.4.0, v7.0.0] but these were not loaded, likely because it conflicts with another require. Problem 2 - Root composer.json requires symfony/form ^7.0 -> satisfiable by symfony/form[v7.0.0, v7.0.1]. - symfony/form[v7.0.0, ..., v7.0.1] require symfony/event-dispatcher ^6.4|^7.0 -> found symfony/event-dispatcher[v6.4.0, v7.0.0] but these were not loaded, likely because it conflicts with another require. Problem 3 - Root composer.json requires symfony/framework-bundle ^7.0.0 -> satisfiable by symfony/framework-bundle[v7.0.0, v7.0.1]. - symfony/framework-bundle[v7.0.0, ..., v7.0.1] require symfony/error-handler ^6.4|^7.0 -> found symfony/error-handler[v6.4.0, v7.0.0] but these were not loaded, likely because it conflicts with another require. Problem 4 - Root composer.json requires symfony/http-kernel ^7.0 -> satisfiable by symfony/http-kernel[v7.0.0, v7.0.1]. - symfony/http-kernel[v7.0.0, ..., v7.0.1] require symfony/error-handler ^6.4|^7.0 -> found symfony/error-handler[v6.4.0, v7.0.0] but these were not loaded, likely because it conflicts with another require. Problem 5 - Root composer.json requires symfony/browser-kit ^7.0 -> satisfiable by symfony/browser-kit[v7.0.0]. - symfony/browser-kit v7.0.0 requires symfony/dom-crawler ^6.4|^7.0 -> found symfony/dom-crawler[v6.4.0, v7.0.0] but these were not loaded, likely because it conflicts with another require. Problem 6 - Root composer.json requires symfony/console ^7.0 -> satisfiable by symfony/console[v7.0.0, v7.0.1]. - symfony/console[v7.0.0, ..., v7.0.1] require symfony/string ^6.4|^7.0 -> found symfony/string[v6.4.0, v7.0.0] but these were not loaded, likely because it conflicts with another require. Problem 7 - symfony/form[v7.0.0, ..., v7.0.1] require symfony/event-dispatcher ^6.4|^7.0 -> found symfony/event-dispatcher[v6.4.0, v7.0.0] but these were not loaded, likely because it conflicts with another require. - sonata-project/form-extensions[1.4.0, ..., 1.6.0] require php ^7.2 -> your php version (8.3.0) does not satisfy that requirement. - sonata-project/form-extensions[1.7.0, ..., 1.7.1] require php ^7.3 -> your php version (8.3.0) does not satisfy that requirement. - sonata-project/form-extensions[1.8.0, ..., 1.9.0] require symfony/form ^4.4 || ^5.1 -> found symfony/form[v4.4.0, ..., v4.4.48, v5.1.0, ..., v5.4.33] but it conflicts with your root composer.json require (^7.0). - sonata-project/form-extensions 1.10.0 requires symfony/form ^4.4 || ^5.3 -> found symfony/form[v4.4.0, ..., v4.4.48, v5.3.0, ..., v5.4.33] but it conflicts with your root composer.json require (^7.0). - sonata-project/form-extensions[1.11.0, ..., 1.16.1] require symfony/form ^4.4 || ^5.3 || ^6.0 -> found symfony/form[v4.4.0, ..., v4.4.48, v5.3.0, ..., v5.4.33, v6.0.0, ..., v6.4.1] but it conflicts with your root composer.json require (^7.0). - sonata-project/form-extensions[1.17.0, ..., 1.18.0] require symfony/form ^4.4 || ^5.4 || ^6.0 -> found symfony/form[v4.4.0, ..., v4.4.48, v5.4.0, ..., v5.4.33, v6.0.0, ..., v6.4.1] but it conflicts with your root composer.json require (^7.0). - sonata-project/form-extensions[1.18.1, ..., 1.20.0] require symfony/form ^4.4 || ^5.4 || ^6.2 -> found symfony/form[v4.4.0, ..., v4.4.48, v5.4.0, ..., v5.4.33, v6.2.0, ..., v6.4.1] but it conflicts with your root composer.json require (^7.0). - sonata-project/form-extensions[2.0.0, ..., 2.2.0] require symfony/form ^5.4 || ^6.2 -> found symfony/form[v5.4.0, ..., v5.4.33, v6.2.0, ..., v6.4.1] but it conflicts with your root composer.json require (^7.0). - sonata-project/form-extensions 2.3.0 requires symfony/form ^5.4 || ^6.2 || ^7.0 -> satisfiable by symfony/form[v7.0.0, v7.0.1]. - Root composer.json requires sonata-project/form-extensions ^1.4 ||
run / Test: PHP 8.3, Symfony 5.4, highest)
Process completed with exit code 2.
run / Test: PHP 8.2, Symfony 6.3, lowest)
Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires symfony/config ^7.0 -> satisfiable by symfony/config[v7.0.0]. - symfony/config v7.0.0 requires symfony/filesystem ^6.4|^7.0 -> found symfony/filesystem[v6.4.0, v7.0.0] but these were not loaded, likely because it conflicts with another require. Problem 2 - Root composer.json requires symfony/dependency-injection ^7.0 -> satisfiable by symfony/dependency-injection[v7.0.0, v7.0.1]. - symfony/dependency-injection[v7.0.0, ..., v7.0.1] require symfony/var-exporter ^6.4|^7.0 -> found symfony/var-exporter[v6.4.0, v6.4.1, v7.0.0, v7.0.1] but these were not loaded, likely because it conflicts with another require. Problem 3 - Root composer.json requires symfony/form ^7.0 -> satisfiable by symfony/form[v7.0.0, v7.0.1]. - symfony/form[v7.0.0, ..., v7.0.1] require symfony/event-dispatcher ^6.4|^7.0 -> found symfony/event-dispatcher[v6.4.0, v7.0.0] but these were not loaded, likely because it conflicts with another require. Problem 4 - Root composer.json requires symfony/framework-bundle ^7.0.0 -> satisfiable by symfony/framework-bundle[v7.0.0, v7.0.1]. - symfony/framework-bundle[v7.0.0, ..., v7.0.1] require symfony/error-handler ^6.4|^7.0 -> found symfony/error-handler[v6.4.0, v7.0.0] but these were not loaded, likely because it conflicts with another require. Problem 5 - Root composer.json requires symfony/http-kernel ^7.0 -> satisfiable by symfony/http-kernel[v7.0.0, v7.0.1]. - symfony/http-kernel[v7.0.0, ..., v7.0.1] require symfony/error-handler ^6.4|^7.0 -> found symfony/error-handler[v6.4.0, v7.0.0] but these were not loaded, likely because it conflicts with another require. Problem 6 - Root composer.json requires symfony/browser-kit ^7.0 -> satisfiable by symfony/browser-kit[v7.0.0]. - symfony/browser-kit v7.0.0 requires symfony/dom-crawler ^6.4|^7.0 -> found symfony/dom-crawler[v6.4.0, v7.0.0] but these were not loaded, likely because it conflicts with another require. Problem 7 - Root composer.json requires symfony/cache ^7.0 -> satisfiable by symfony/cache[v7.0.0]. - symfony/cache v7.0.0 requires symfony/var-exporter ^6.4|^7.0 -> found symfony/var-exporter[v6.4.0, v6.4.1, v7.0.0, v7.0.1] but these were not loaded, likely because it conflicts with another require. Problem 8 - Root composer.json requires symfony/console ^7.0 -> satisfiable by symfony/console[v7.0.0, v7.0.1]. - symfony/console[v7.0.0, ..., v7.0.1] require symfony/string ^6.4|^7.0 -> found symfony/string[v6.4.0, v7.0.0] but these were not loaded, likely because it conflicts with another require. Problem 9 - symfony/form[v7.0.0, ..., v7.0.1] require symfony/event-dispatcher ^6.4|^7.0 -> found symfony/event-dispatcher[v6.4.0, v7.0.0] but these were not loaded, likely because it conflicts with another require. - sonata-project/form-extensions[1.4.0, ..., 1.6.0] require php ^7.2 -> your php version (8.2.13) does not satisfy that requirement. - sonata-project/form-extensions[1.7.0, ..., 1.7.1] require php ^7.3 -> your php version (8.2.13) does not satisfy that requirement. - sonata-project/form-extensions[1.8.0, ..., 1.9.0] require symfony/event-dispatcher ^4.4 || ^5.1 -> found symfony/event-dispatcher[v4.4.0, ..., v4.4.44, v5.1.0, ..., v5.4.26] but these were not loaded, likely because it conflicts with another require. - sonata-project/form-extensions 1.10.0 requires symfony/event-dispatcher ^4.4 || ^5.3 -> found symfony/event-dispatcher[v4.4.0, ..., v4.4.44, v5.3.0, ..., v5.4.26] but these were not loaded, likely because it conflicts with another require. - sonata-project/form-extensions[1.11.0, ..., 1.16.1] require symfony/form ^4.4 || ^5.3 || ^6.0 -> found symfony/form[v4.4.0, ..., v4.4.48, v5.3.0, ..., v5.4.33, v6.0.0, ..., v6.4.1] but it conflicts with your root composer.json require (^7.0). - sonata-project/form-extensions[1.17.0, ..., 1.18.0] require symfony/form ^4.4 || ^5.4 || ^6.0 -> found symfony/form[v4.4.0, ..., v4.4.48, v5.4.0,
run / Test: PHP 8.2, Symfony 6.3, lowest)
Process completed with exit code 2.
run / Test: PHP 8.2, Symfony 5.4, highest)
The job was canceled because "_8_3_5_4_lowest" failed.
run / Test: PHP 8.2, Symfony 5.4, highest)
The operation was canceled.
run / Test: PHP 8.3, Symfony 6.3, highest)
The job was canceled because "_8_3_5_4_lowest" failed.
run / Test: PHP 8.3, Symfony 6.3, highest)
The operation was canceled.
run / Test: PHP 8.3, Symfony 6.3, lowest)
The operation was canceled.
run / Test: PHP 8.2, Symfony 5.4, lowest)
The job was canceled because "_8_3_5_4_lowest" failed.
run / Test: PHP 8.2, Symfony 5.4, lowest)
The operation was canceled.
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#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 / Mutation Tests (8.3): src/Twig/MapsExtensions.php#L19
Escaped Mutant for Mutator "ArrayItemRemoval": --- Original +++ New @@ @@ { public function getFunctions() : array { - return [new TwigFunction('nucleos_maps_googlemap', [$this, 'renderGoogleMap'], ['is_safe' => ['html']]), new TwigFunction('nucleos_maps_openstreetmap', [$this, 'renderOpenStreetMap'], ['is_safe' => ['html']])]; + return [new TwigFunction('nucleos_maps_openstreetmap', [$this, 'renderOpenStreetMap'], ['is_safe' => ['html']])]; } /** * @param float|string $latitude