From c44450f403cc0afc4af05689e82d7864a40fa828 Mon Sep 17 00:00:00 2001 From: Akash Karangale Date: Thu, 29 Feb 2024 14:55:40 +0530 Subject: [PATCH] GL-2039-1: Addressed integer increment mutant. --- src/Command/CodeStudio/CodeStudioWizardCommand.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Command/CodeStudio/CodeStudioWizardCommand.php b/src/Command/CodeStudio/CodeStudioWizardCommand.php index 81807fe01..d9c7850a3 100644 --- a/src/Command/CodeStudio/CodeStudioWizardCommand.php +++ b/src/Command/CodeStudio/CodeStudioWizardCommand.php @@ -53,7 +53,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int 'PHP_version_8.1' => "8.1", 'PHP_version_8.2' => "8.2", ]; - $project = $this->io->choice('Select a PHP version', array_values($phpVersions), $phpVersions['PHP_version_8.1']); + $project = $this->io->choice('Select a PHP version', array_values($phpVersions), "8.1"); $project = array_search($project, $phpVersions, TRUE); $phpVersion = $phpVersions[$project]; break; @@ -62,7 +62,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int 'NODE_version_18.17.1' => "18.17.1", 'NODE_version_20.5.1' => "20.5.1", ]; - $project = $this->io->choice('Select a NODE version', array_values($nodeVersions), $nodeVersions['NODE_version_20.5.1']); + $project = $this->io->choice('Select a NODE version', array_values($nodeVersions), "18.17.1"); $project = array_search($project, $nodeVersions, TRUE); $nodeVersion = $nodeVersions[$project]; break;