Skip to content

CLI-1316: [log:tail] warning for non-interactive mode #2206

CLI-1316: [log:tail] warning for non-interactive mode

CLI-1316: [log:tail] warning for non-interactive mode #2206

Triggered via pull request April 4, 2024 22:29
Status Success
Total duration 8m 25s
Artifacts

mutation.yml

on: pull_request
Mutation Testing
8m 16s
Mutation Testing
Fit to window
Zoom out
Zoom in

Annotations

2 warnings
Mutation Testing: src/Command/CommandBase.php#L399
Escaped Mutant for Mutator "PublicVisibility": --- Original +++ New @@ @@ * @param array[]|object[] $items An array of objects or arrays. * @param string $uniqueProperty The property of the $item that will be used to identify the object. */ - public function promptChooseFromObjectsOrArrays(array|ArrayObject $items, string $uniqueProperty, string $labelProperty, string $questionText, bool $multiselect = FALSE) : object|array|null + protected function promptChooseFromObjectsOrArrays(array|ArrayObject $items, string $uniqueProperty, string $labelProperty, string $questionText, bool $multiselect = FALSE) : object|array|null { $list = []; foreach ($items as $item) {
Mutation Testing: src/Command/CommandBase.php#L410
Escaped Mutant for Mutator "IncrementInteger": --- Original +++ New @@ @@ } } $labels = array_values($list); - $default = $multiselect ? 0 : $labels[0]; + $default = $multiselect ? 1 : $labels[0]; $question = new ChoiceQuestion($questionText, $labels, $default); $question->setMultiselect($multiselect); $choiceId = $this->io->askQuestion($question);