CLI-1473: Pull default site if non-interactive. #2613
Annotations
1 error and 2 warnings
Run Infection for added files only
Process completed with exit code 1.
|
Run Infection for added files only:
src/Command/CommandBase.php#L1414
Escaped Mutant for Mutator "DecrementInteger":
--- Original
+++ New
@@ @@
if ($process->isSuccessful() && $sites) {
if ($key = array_search('default', $sites, true)) {
unset($sites[$key]);
- $sites = array_merge([0 => 'default'], $sites);
+ $sites = array_merge([-1 => 'default'], $sites);
}
return $sites;
}
|
Run Infection for added files only:
src/Command/CommandBase.php#L1414
Escaped Mutant for Mutator "IncrementInteger":
--- Original
+++ New
@@ @@
if ($process->isSuccessful() && $sites) {
if ($key = array_search('default', $sites, true)) {
unset($sites[$key]);
- $sites = array_merge([0 => 'default'], $sites);
+ $sites = array_merge([1 => 'default'], $sites);
}
return $sites;
}
|
Loading