Repository navigation
Bring the groups extension to 3.0 #514
mutation-tests-diff.yml
on: pull_request
Matrix: Mutation tests on diff
Annotations
4 warnings and 1 notice
|
Mutation tests on diff (locked, 8.5, ubuntu-latest):
src/Extension/Groups/GroupsPropertyFilter.php#L42
Escaped Mutant for Mutator "ReturnRemoval":
@@ @@
// ignored groups can't match a class without any groups
if ($groups === null && !isset($metadata->extras[Groups::class])) {
- return null;
+
}
$ignoredGroups = $context[GroupsExtension::IGNORED_GROUPS] ?? null;
|
|
Mutation tests on diff (locked, 8.5, ubuntu-latest):
src/Extension/Groups/GroupsPropertyFilter.php#L35
Escaped Mutant for Mutator "ReturnRemoval":
@@ @@
public function filter(ClassMetadata $metadata, array $context): array|null
{
if (!isset($context[GroupsExtension::GROUPS]) && !isset($context[GroupsExtension::IGNORED_GROUPS])) {
- return null;
+
}
$groups = $context[GroupsExtension::GROUPS] ?? null;
|
|
Mutation tests on diff (locked, 8.5, ubuntu-latest):
src/Extension/Generated/FilteredMapper.php#L103
Escaped Mutant for Mutator "TrueValue":
@@ @@
return $this->mapper->extractNested($object, $context);
}
- return $this->mapper->extractFiltered($object, $context, $fields, true);
+ return $this->mapper->extractFiltered($object, $context, $fields, false);
}
/**
|
|
Mutation tests on diff (locked, 8.5, ubuntu-latest):
src/Extension/Generated/CodeEmitter.php#L408
Escaped Mutant for Mutator "Increment":
@@ @@
}
$scope = $property->extractScope;
- $slot = $slots[$scope] ??= $this->helperSlots++;
+ $slot = $slots[$scope] ??= $this->helperSlots--;
$scoped[$scope][] = $block;
$fields[] = Templates::render(Templates::EXTRACT_FILTERED_FIELD, [
'field' => $field,
|
|
Mutation tests on diff (locked, 8.5, ubuntu-latest)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
|