Update dependency sass-loader to v16 #3067
Annotations
11 warnings
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/
|
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');
|
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');
|
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');
|
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');
|
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');
|
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)) {
|
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)) {
|
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)) {
|
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);
+
}
}
|
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);
}
}
|
This job succeeded
Loading