Update dependency phpunit/phpunit to ^9.6.21 #2069
Annotations
8 warnings
Infection [8.1, locked]:
src/DoctrineBatchUtils/BatchProcessing/SelectBatchIteratorAggregate.php#L86
Escaped Mutant for Mutator "PlusEqual":
--- Original
+++ New
@@ @@
{
$iteration = 0;
foreach ($this->resultSet as $key => $value) {
- $iteration += 1;
+ $iteration -= 1;
if (is_array($value)) {
$firstKey = key($value);
if ($firstKey !== null && is_object($value[$firstKey]) && $value === [$firstKey => $value[$firstKey]]) {
|
Infection [8.1, locked]:
src/DoctrineBatchUtils/BatchProcessing/SelectBatchIteratorAggregate.php#L91
Escaped Mutant for Mutator "YieldValue":
--- Original
+++ New
@@ @@
if (is_array($value)) {
$firstKey = key($value);
if ($firstKey !== null && is_object($value[$firstKey]) && $value === [$firstKey => $value[$firstKey]]) {
- (yield $key => $this->reFetchObject($value[$firstKey]));
+ (yield $this->reFetchObject($value[$firstKey]));
$this->clearBatch($iteration);
continue;
}
|
Infection [8.1, locked]:
src/DoctrineBatchUtils/BatchProcessing/SelectBatchIteratorAggregate.php#L93
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
$firstKey = key($value);
if ($firstKey !== null && is_object($value[$firstKey]) && $value === [$firstKey => $value[$firstKey]]) {
(yield $key => $this->reFetchObject($value[$firstKey]));
- $this->clearBatch($iteration);
+
continue;
}
}
|
Infection [8.1, locked]:
src/DoctrineBatchUtils/BatchProcessing/SelectBatchIteratorAggregate.php#L101
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
}
if (!is_object($value)) {
(yield $key => $value);
- $this->clearBatch($iteration);
+
continue;
}
(yield $key => $this->reFetchObject($value));
|
Infection [8.1, locked]:
src/DoctrineBatchUtils/BatchProcessing/SimpleBatchIteratorAggregate.php#L83
Escaped Mutant for Mutator "PlusEqual":
--- Original
+++ New
@@ @@
$this->entityManager->beginTransaction();
try {
foreach ($this->resultSet as $key => $value) {
- $iteration += 1;
+ $iteration -= 1;
if (is_array($value)) {
$firstKey = key($value);
if ($firstKey !== null && is_object($value[$firstKey]) && $value === [$firstKey => $value[$firstKey]]) {
|
Infection [8.1, locked]:
src/DoctrineBatchUtils/BatchProcessing/SimpleBatchIteratorAggregate.php#L88
Escaped Mutant for Mutator "YieldValue":
--- Original
+++ New
@@ @@
if (is_array($value)) {
$firstKey = key($value);
if ($firstKey !== null && is_object($value[$firstKey]) && $value === [$firstKey => $value[$firstKey]]) {
- (yield $key => $this->reFetchObject($value[$firstKey]));
+ (yield $this->reFetchObject($value[$firstKey]));
$this->flushAndClearBatch($iteration);
continue;
}
|
Infection [8.1, locked]:
src/DoctrineBatchUtils/BatchProcessing/SimpleBatchIteratorAggregate.php#L90
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
$firstKey = key($value);
if ($firstKey !== null && is_object($value[$firstKey]) && $value === [$firstKey => $value[$firstKey]]) {
(yield $key => $this->reFetchObject($value[$firstKey]));
- $this->flushAndClearBatch($iteration);
+
continue;
}
}
|
Infection [8.1, locked]:
src/DoctrineBatchUtils/BatchProcessing/SimpleBatchIteratorAggregate.php#L98
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
}
if (!is_object($value)) {
(yield $key => $value);
- $this->flushAndClearBatch($iteration);
+
continue;
}
(yield $key => $this->reFetchObject($value));
|
Loading