Enhancement: Implement ConcatenatingValueGenerator
#17
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
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
1 error and 2 warnings
Mutation Tests (8.1, locked)
Process completed with exit code 1.
|
Mutation Tests (8.1, locked):
src/ConcatenatingValueGenerator.php#L28
Escaped Mutant for Mutator "DecrementInteger":
--- Original
+++ New
@@ @@
public function __construct(StringGenerator ...$stringGenerators)
{
$count = \count($stringGenerators);
- if (0 === $count) {
+ if (-1 === $count) {
throw new \InvalidArgumentException('Need at least one generator');
}
$this->firstGenerator = \array_shift($stringGenerators);
|
Mutation Tests (8.1, locked):
src/ConcatenatingValueGenerator.php#L46
Escaped Mutant for Mutator "LessThan":
--- Original
+++ New
@@ @@
$this->secondGenerator = \array_shift($stringGenerators);
return;
}
- if (2 < $count) {
+ if (2 <= $count) {
$this->secondGenerator = new self(...$stringGenerators);
}
}
|