Add StoreMigrateCommand from integration repos to ease maintainance
#1630
mutation-tests-diff.yml
on: pull_request
Matrix: Mutation tests on diff
Annotations
1 error and 7 warnings
|
Mutation tests on diff (locked, 8.5, ubuntu-latest)
Process completed with exit code 1.
|
|
Mutation tests on diff (locked, 8.5, ubuntu-latest):
src/Console/Command/StoreMigrateCommand.php#L83
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
$style->progressAdvance(count($bufferedMessages));
}
- $style->progressFinish();
+
$style->success('Migration finished');
return 0;
|
|
Mutation tests on diff (locked, 8.5, ubuntu-latest):
src/Console/Command/StoreMigrateCommand.php#L80
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
if (count($bufferedMessages) !== 0) {
$this->newStore->save(...$bufferedMessages);
- $style->progressAdvance(count($bufferedMessages));
+
}
$style->progressFinish();
|
|
Mutation tests on diff (locked, 8.5, ubuntu-latest):
src/Console/Command/StoreMigrateCommand.php#L75
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
$this->newStore->save(...$bufferedMessages);
$bufferedMessages = [];
- $style->progressAdvance($buffer);
+
}
if (count($bufferedMessages) !== 0) {
|
|
Mutation tests on diff (locked, 8.5, ubuntu-latest):
src/Console/Command/StoreMigrateCommand.php#L69
Escaped Mutant for Mutator "LessThanNegotiation":
@@ @@
foreach ($pipe as $message) {
$bufferedMessages[] = $message;
- if (count($bufferedMessages) < $buffer) {
+ if (count($bufferedMessages) >= $buffer) {
continue;
}
|
|
Mutation tests on diff (locked, 8.5, ubuntu-latest):
src/Console/Command/StoreMigrateCommand.php#L69
Escaped Mutant for Mutator "LessThan":
@@ @@
foreach ($pipe as $message) {
$bufferedMessages[] = $message;
- if (count($bufferedMessages) < $buffer) {
+ if (count($bufferedMessages) <= $buffer) {
continue;
}
|
|
Mutation tests on diff (locked, 8.5, ubuntu-latest):
src/Console/Command/StoreMigrateCommand.php#L43
Escaped Mutant for Mutator "DecrementInteger":
@@ @@
null,
InputOption::VALUE_REQUIRED,
'How many messages should be buffered',
- 1_000,
+ 999,
);
}
|
|
Mutation tests on diff (locked, 8.5, ubuntu-latest):
src/Console/Command/StoreMigrateCommand.php#L43
Escaped Mutant for Mutator "IncrementInteger":
@@ @@
null,
InputOption::VALUE_REQUIRED,
'How many messages should be buffered',
- 1_000,
+ 1001,
);
}
|