github-actions(deps): bump actions/cache from 4.1.1 to 4.1.2 #1839
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
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);
}
|