Skip to content

Commit

Permalink
GL-2039-1: Addressed integer increment mutant.
Browse files Browse the repository at this point in the history
  • Loading branch information
akashkska committed Feb 29, 2024
1 parent badf8a5 commit c44450f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Command/CodeStudio/CodeStudioWizardCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand Down

0 comments on commit c44450f

Please sign in to comment.