Skip to content

Commit

Permalink
Use drush 11.x for Drupal 9 (#385)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sayan Goswami committed May 16, 2023
1 parent 1741390 commit 8e0d5dd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Domain/Fixture/FixtureCreator.php
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,10 @@ private function fixDefaultDependencies(): void {

$additions = [];

if ($this->options->isDev()) {
if ($this->options->coreVersionParsedMatches('^9')) {
$additions[] = 'drush/drush:11.x';
}
elseif ($this->options->isDev()) {
// Install the dev version of Drush.
$additions[] = 'drush/drush:12.x-dev';
}
Expand Down

0 comments on commit 8e0d5dd

Please sign in to comment.