Skip to content

build

build #143

Triggered via schedule December 10, 2023 16:06
Status Success
Total duration 44s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

build.yml

on: schedule
Code style (phpcs)
8s
Code style (phpcs)
Code style (php-cs-fixer)
12s
Code style (php-cs-fixer)
Code analysis (phpstan)
23s
Code analysis (phpstan)
Code analysis (psalm)
16s
Code analysis (psalm)
Mutation testing (infection)
35s
Mutation testing (infection)
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

20 warnings
Code style (phpcs)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Tests on PHP 7.3
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Tests on PHP 8.1
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Tests on PHP 7.4
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Code style (php-cs-fixer)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Tests on PHP 8.0
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Tests on PHP 7.2
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Code analysis (psalm)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Tests on PHP 8.2
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Code analysis (phpstan)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Mutation testing (infection)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Mutation testing (infection): src/Enum.php#L125
Escaped Mutant for Mutator "ProtectedVisibility": --- Original +++ New @@ @@ * * @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": --- Original +++ New @@ @@ * * @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": --- Original +++ New @@ @@ /** * @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": --- Original +++ New @@ @@ } 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": --- Original +++ New @@ @@ $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": --- Original +++ New @@ @@ $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": --- Original +++ New @@ @@ } 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": --- Original +++ New @@ @@ * @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": --- Original +++ New @@ @@ } 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 {