Skip to content

build

build #207

Triggered via schedule January 12, 2025 16:22
Status Failure
Total duration 1m 14s
Artifacts 1

build.yml

on: schedule
Create code coverage
28s
Create code coverage
Code style (phpcs)
12s
Code style (phpcs)
Code style (php-cs-fixer)
13s
Code style (php-cs-fixer)
Code analysis (phpstan)
23s
Code analysis (phpstan)
Code analysis (psalm)
15s
Code analysis (psalm)
Matrix: tests
Upload code coverage
7s
Upload code coverage
Mutation testing (infection)
29s
Mutation testing (infection)
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 23 warnings
Code analysis (phpstan): src/Enum.php#L182
PHPDoc tag @var with type Eclipxe\Enum\Enum is not subtype of native type non-empty-string.
Code analysis (phpstan): tests/Unit/Internal/EntriesPopulatorTest.php#L59
PHPDoc tag @var with type class-string is not subtype of native type 'foo'.
Code analysis (phpstan): tests/Unit/Internal/EntriesPopulatorTest.php#L73
PHPDoc tag @var with type class-string is not subtype of native type 'foo'.
Code analysis (phpstan)
Process completed with exit code 1.
Tests on PHP 8.0
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests on PHP 7.4
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests on PHP 8.2
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests on PHP 8.3
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Code style (php-cs-fixer)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Code style (phpcs)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests on PHP 7.2
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests on PHP 8.1
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Code analysis (psalm)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests on PHP 7.3
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Code analysis (phpstan)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Create code coverage
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Upload code coverage
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Mutation testing (infection)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
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
31.3 KB