build #174
build.yml
on: schedule
Create code coverage
12s
Code style (phpcs)
14s
Code style (php-cs-fixer)
9s
Code analysis (phpstan)
23s
Code analysis (psalm)
16s
Matrix: tests
Upload code coverage
8s
Mutation testing (infection)
21s
Annotations
9 warnings
Mutation testing (infection):
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 (infection):
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 (infection):
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 (infection):
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 (infection):
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 (infection):
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 (infection):
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 (infection):
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
{
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
code-coverage
Expired
|
31.3 KB |
|