Skip to content

build

build #184

Triggered via schedule August 25, 2024 16:22
Status Success
Total duration 57s
Artifacts 1

build.yml

on: schedule
Create code coverage
12s
Create code coverage
Code style (phpcs)
11s
Code style (phpcs)
Code style (php-cs-fixer)
8s
Code style (php-cs-fixer)
Code analysis (phpstan)
14s
Code analysis (phpstan)
Code analysis (psalm)
12s
Code analysis (psalm)
Matrix: tests
Upload code coverage
6s
Upload code coverage
Mutation testing (infection)
30s
Mutation testing (infection)
Fit to window
Zoom out
Zoom in

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/EntriesPopulator.php#L106
Escaped Mutant for Mutator "PublicVisibility": @@ @@ * @return array<string> * @throws \ReflectionException */ - public function resolveNamesFromDocBlocks(): array + protected function resolveNamesFromDocBlocks(): array { // get comments $className = $this->getClassName();
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