Update dependency phpunit/phpunit to ^9.6.20 #2001
Annotations
8 warnings
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]]) {
|
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;
}
|
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;
}
}
|
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));
|
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]]) {
|
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;
}
|
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;
}
}
|
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));
|
This job succeeded
Loading