Skip to content

Enhancement: Allow configuring Arrays\SortAssociativeArrayByKeyRector #470

Enhancement: Allow configuring Arrays\SortAssociativeArrayByKeyRector

Enhancement: Allow configuring Arrays\SortAssociativeArrayByKeyRector #470

Triggered via pull request January 18, 2025 09:48
Status Failure
Total duration 40s
Artifacts

integrate.yaml

on: pull_request
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

2 errors and 30 warnings
Coding Standards (7.4, locked)
Process completed with exit code 8.
Dependency Analysis (7.4, locked)
Process completed with exit code 1.
Dependency Analysis (7.4, locked)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/[email protected]. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
Tests (8.2, locked)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests (8.0, lowest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Coding Standards (7.4, locked)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests (8.1, locked)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests (7.4, highest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Refactoring (7.4, locked)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests (8.2, lowest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests (8.3, lowest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests (8.0, locked)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests (8.4, lowest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Code Coverage (7.4, locked)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Static Code Analysis (7.4, locked)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests (8.3, highest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests (7.4, lowest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests (8.4, highest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests (8.3, locked)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Security Analysis (7.4, locked)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests (7.4, locked)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests (8.0, highest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests (8.4, locked)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests (8.1, lowest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Dependency Analysis (7.4, locked)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests (8.2, highest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests (8.1, highest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Mutation Tests (7.4, locked)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Mutation Tests (7.4, locked): src/Arrays/SortAssociativeArrayByKeyRector.php#L79
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#L89
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#L105
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#L109
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);