Skip to content

Commit db07310

Browse files
Merge branch 'main' into CLI-1631
2 parents c293862 + 481e78d commit db07310

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

src/Command/CodeStudio/CodeStudioWizardCommand.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,7 @@ private function promptForPhpVersions(): string
332332
'PHP_version_8.2' => "8.2",
333333
'PHP_version_8.3' => "8.3",
334334
'PHP_version_8.4' => "8.4",
335+
'PHP_version_8.5' => "8.5",
335336
];
336337
$phpChoice = $this->io->choice('Select a PHP version', array_values($phpVersions), "8.3");
337338
$phpKey = array_search($phpChoice, $phpVersions, true);

tests/phpunit/src/Commands/CodeStudio/CodeStudioWizardCommandTest.php

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,26 @@ public static function providerTestCommand(): array
124124
self::ARG_SECRET => self::$secret,
125125
],
126126
],
127+
// Application: Drupal_project, PHP 8.5.
128+
[
129+
[self::getMockedGitLabProject(self::$gitLabProjectId)],
130+
[
131+
// Project type: Drupal_project.
132+
0,
133+
// MySQL version: 8.0.
134+
1,
135+
// PHP version: 8.5.
136+
3,
137+
// Do you want to continue?
138+
'y',
139+
// One time push?
140+
'y',
141+
],
142+
[
143+
self::ARG_KEY => self::$key,
144+
self::ARG_SECRET => self::$secret,
145+
],
146+
],
127147
// Application: Node_project, Basic, Node 20.
128148
[
129149
[self::getMockedGitLabProject(self::$gitLabProjectId)],

0 commit comments

Comments
 (0)