Use stable pipelines #3049
Annotations
11 warnings
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 with pcov and infection/infection:
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 with pcov and infection/infection:
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 with pcov and infection/infection:
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 with pcov and infection/infection:
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 with pcov and infection/infection:
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 with pcov and infection/infection:
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 with pcov and infection/infection:
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 with pcov and infection/infection:
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 with pcov and infection/infection:
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 with pcov and infection/infection:
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);
}
}
|
Loading