Skip to content

CLI-1473: Pull default site if non-interactive. #2613

CLI-1473: Pull default site if non-interactive.

CLI-1473: Pull default site if non-interactive. #2613

Triggered via pull request January 7, 2025 22:07
Status Failure
Total duration 1m 2s
Artifacts

mutation.yml

on: pull_request
Mutation Testing
52s
Mutation Testing
Fit to window
Zoom out
Zoom in

Annotations

1 error and 2 warnings
Mutation Testing
Process completed with exit code 1.
Mutation Testing: 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; }
Mutation Testing: 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; }