Skip to content

Merge pull request #89 from ergebnis/dependabot/composer/psalm/plugin… #317

Merge pull request #89 from ergebnis/dependabot/composer/psalm/plugin…

Merge pull request #89 from ergebnis/dependabot/composer/psalm/plugin… #317

Triggered via push May 8, 2024 17:37
Status Success
Total duration 1m 5s
Artifacts

integrate.yaml

on: push
Matrix: Code Coverage
Matrix: Coding Standards
Matrix: Dependency Analysis
Matrix: Mutation Tests
Matrix: Refactoring
Matrix: Security Analysis
Matrix: Static Code Analysis
Matrix: Tests
Fit to window
Zoom out
Zoom in

Annotations

6 warnings
Code Coverage (7.4, locked)
Codecov: Failed to properly create commit: The process '/home/runner/work/_actions/codecov/codecov-action/v4.3.1/dist/codecov' failed with exit code 1
Dependency Analysis (7.4, locked)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3.3.2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Mutation Tests (7.4, locked): src/Arrays/SortAssociativeArrayByKeyRector.php#L78
Escaped Mutant for Mutator "InstanceOf_": --- Original +++ New @@ @@ } public function refactor(Node $node) : ?Node { - if (!$node instanceof Node\Expr\Array_) { + if (!true) { return null; } if ($this->isScopeInTest($node)) {
Mutation Tests (7.4, locked): src/Arrays/SortAssociativeArrayByKeyRector.php#L88
Escaped Mutant for Mutator "InstanceOf_": --- Original +++ New @@ @@ } /** @var array<int, Node\Expr\ArrayItem> $items */ $items = \array_filter($node->items, static function ($item) : bool { - if (!$item instanceof Node\Expr\ArrayItem) { + if (!true) { return false; } if (!$item->key instanceof Node\Scalar\String_) {
Mutation Tests (7.4, locked): src/Arrays/SortAssociativeArrayByKeyRector.php#L104
Escaped Mutant for Mutator "InstanceOf_": --- Original +++ New @@ @@ return null; } \usort($items, static function (Node\Expr\ArrayItem $a, Node\Expr\ArrayItem $b) : int { - if (!$a->key instanceof Node\Scalar\String_) { + if (!true) { throw new \RuntimeException('This should not happen.'); } if (!$b->key instanceof Node\Scalar\String_) {
Mutation Tests (7.4, locked): src/Arrays/SortAssociativeArrayByKeyRector.php#L108
Escaped Mutant for Mutator "InstanceOf_": --- Original +++ New @@ @@ if (!$a->key instanceof Node\Scalar\String_) { throw new \RuntimeException('This should not happen.'); } - if (!$b->key instanceof Node\Scalar\String_) { + if (!true) { throw new \RuntimeException('This should not happen.'); } return \strcmp($a->key->value, $b->key->value);