build #206
build.yml
on: schedule
Create code coverage
20s
Code style (phpcs)
14s
Code style (php-cs-fixer)
13s
Code analysis (phpstan)
13s
Code analysis (psalm)
12s
Matrix: tests
Upload code coverage
6s
Mutation testing (infection)
21s
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.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 analysis (phpstan)
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
|
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.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.1
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
|
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 7.3
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/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.2 KB |
|