Skip to content

composer(deps-dev): bump ergebnis/phpunit-slow-test-detector from 2.16.0 to 2.16.1 #1843

composer(deps-dev): bump ergebnis/phpunit-slow-test-detector from 2.16.0 to 2.16.1

composer(deps-dev): bump ergebnis/phpunit-slow-test-detector from 2.16.0 to 2.16.1 #1843

Triggered via pull request October 25, 2024 13:42
Status Success
Total duration 48s
Artifacts

integrate.yaml

on: pull_request
Matrix: Backward-Compatibility Analysis
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

11 warnings
Code Coverage (8.1, locked)
Codecov: Failed to properly create commit: The process '/home/runner/work/_actions/codecov/codecov-action/v4.6.0/dist/codecov' failed with exit code 1
Mutation Tests (8.1, locked): src/TestVariables.php#L32
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ } public static function backup(string ...$names) : self { - $possiblyUnsetVariables = \array_combine($names, \array_fill(0, \count($names), false)); + $possiblyUnsetVariables = \array_combine($names, \array_fill(-1, \count($names), false)); /** @var array<string, string> $currentlySetVariables */ $currentlySetVariables = \array_intersect_key(\getenv(), \array_flip($names)); $backedUpVariables = \array_merge($possiblyUnsetVariables, $currentlySetVariables);
Mutation Tests (8.1, locked): src/TestVariables.php#L32
Escaped Mutant for Mutator "IncrementInteger": --- Original +++ New @@ @@ } public static function backup(string ...$names) : self { - $possiblyUnsetVariables = \array_combine($names, \array_fill(0, \count($names), false)); + $possiblyUnsetVariables = \array_combine($names, \array_fill(1, \count($names), false)); /** @var array<string, string> $currentlySetVariables */ $currentlySetVariables = \array_intersect_key(\getenv(), \array_flip($names)); $backedUpVariables = \array_merge($possiblyUnsetVariables, $currentlySetVariables);
Mutation Tests (8.1, locked): src/TestVariables.php#L34
Escaped Mutant for Mutator "FalseValue": --- Original +++ New @@ @@ } public static function backup(string ...$names) : self { - $possiblyUnsetVariables = \array_combine($names, \array_fill(0, \count($names), false)); + $possiblyUnsetVariables = \array_combine($names, \array_fill(0, \count($names), true)); /** @var array<string, string> $currentlySetVariables */ $currentlySetVariables = \array_intersect_key(\getenv(), \array_flip($names)); $backedUpVariables = \array_merge($possiblyUnsetVariables, $currentlySetVariables);
Mutation Tests (8.1, locked): src/TestVariables.php#L58
Escaped Mutant for Mutator "LogicalOr": --- Original +++ New @@ @@ } public function has(string $name) : bool { - if ('' === $name || \trim($name) !== $name) { + if ('' === $name && \trim($name) !== $name) { throw Exception\InvalidName::create(); } return $this->systemVariables->has($name);
Mutation Tests (8.1, locked): src/TestVariables.php#L59
Escaped Mutant for Mutator "UnwrapTrim": --- Original +++ New @@ @@ } public function has(string $name) : bool { - if ('' === $name || \trim($name) !== $name) { + if ('' === $name || $name !== $name) { throw Exception\InvalidName::create(); } return $this->systemVariables->has($name);
Mutation Tests (8.1, locked): src/TestVariables.php#L61
Escaped Mutant for Mutator "Throw_": --- Original +++ New @@ @@ public function has(string $name) : bool { if ('' === $name || \trim($name) !== $name) { - throw Exception\InvalidName::create(); + Exception\InvalidName::create(); } return $this->systemVariables->has($name); }
Mutation Tests (8.1, locked): src/TestVariables.php#L70
Escaped Mutant for Mutator "LogicalOr": --- Original +++ New @@ @@ } public function get(string $name) : string { - if ('' === $name || \trim($name) !== $name) { + if ('' === $name && \trim($name) !== $name) { throw Exception\InvalidName::create(); } if (!$this->systemVariables->has($name)) {
Mutation Tests (8.1, locked): src/TestVariables.php#L71
Escaped Mutant for Mutator "UnwrapTrim": --- Original +++ New @@ @@ } public function get(string $name) : string { - if ('' === $name || \trim($name) !== $name) { + if ('' === $name || $name !== $name) { throw Exception\InvalidName::create(); } if (!$this->systemVariables->has($name)) {
Mutation Tests (8.1, locked): src/TestVariables.php#L73
Escaped Mutant for Mutator "Throw_": --- Original +++ New @@ @@ public function get(string $name) : string { if ('' === $name || \trim($name) !== $name) { - throw Exception\InvalidName::create(); + Exception\InvalidName::create(); } if (!$this->systemVariables->has($name)) { throw Exception\NotSet::name($name);
Mutation Tests (8.1, locked): src/TestVariables.php#L77
Escaped Mutant for Mutator "Throw_": --- Original +++ New @@ @@ throw Exception\InvalidName::create(); } if (!$this->systemVariables->has($name)) { - throw Exception\NotSet::name($name); + Exception\NotSet::name($name); } return $this->systemVariables->get($name); }