build #205
Annotations
10 warnings
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Mutation testing:
src/Enum.php#L125
Escaped Mutant for Mutator "ProtectedVisibility":
@@ @@
*
* @return array<string, string>
*/
- protected static function overrideValues(): array
+ private static function overrideValues(): array
{
return [];
}
|
Mutation testing:
src/Enum.php#L142
Escaped Mutant for Mutator "ProtectedVisibility":
@@ @@
*
* @return array<string, int>
*/
- protected static function overrideIndices(): array
+ private static function overrideIndices(): array
{
return [];
}
|
Mutation testing:
src/Internal/Entries.php#L84
Escaped Mutant for Mutator "PublicVisibility":
@@ @@
/**
* @return array<int, int>
*/
- public function indices(): array
+ protected function indices(): array
{
$indices = [];
foreach ($this->entries as $entry) {
|
Mutation testing:
src/Internal/Entries.php#L102
Escaped Mutant for Mutator "ProtectedVisibility":
@@ @@
}
return max($indices) + 1;
}
- protected function normalizeName(string $name): string
+ private function normalizeName(string $name): string
{
return strtolower($name);
}
}
|
Mutation testing:
src/Internal/EntriesPopulator.php#L52
Escaped Mutant for Mutator "PublicVisibility":
@@ @@
$this->parentEntries = $parentEntries;
}
/** @return class-string */
- public function getClassName(): string
+ protected function getClassName(): string
{
return $this->className;
}
|
Mutation testing:
src/Internal/EntriesPopulator.php#L84
Escaped Mutant for Mutator "PublicVisibility":
@@ @@
$entries->put($name, new Entry($newValue, $newIndex));
}
}
- public function overrideValue(string $name): ?string
+ protected function overrideValue(string $name): ?string
{
$value = $this->overrideValues[$name] ?? null;
if (!is_string($value)) {
|
Mutation testing:
src/Internal/EntriesPopulator.php#L93
Escaped Mutant for Mutator "PublicVisibility":
@@ @@
}
return $value;
}
- public function overrideIndex(string $name): ?int
+ protected function overrideIndex(string $name): ?int
{
$index = $this->overrideIndices[$name] ?? null;
if (!is_int($index)) {
|
|
Mutation testing:
src/Internal/Entry.php#L39
Escaped Mutant for Mutator "LogicalAnd":
@@ @@
}
public function equals(self $other): bool
{
- return $this->equalValue($other->value()) && $this->equalIndex($other->index());
+ return $this->equalValue($other->value()) || $this->equalIndex($other->index());
}
public function equalValue(string $value): bool
{
|
Loading