From 29b8861905d9f29ed544128cfda7a005e7bc65b4 Mon Sep 17 00:00:00 2001 From: Bec White Date: Wed, 18 Oct 2017 18:42:25 -0500 Subject: [PATCH 1/3] Update composer requirements to use Drush 9. --- composer.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index b24d306..5b9c48a 100644 --- a/composer.json +++ b/composer.json @@ -14,9 +14,10 @@ "email": "pierre@buyle.org" } ], + "minimum-stability": "beta", "require": { "phing/phing": "~2.9", - "drush/drush": "6.5 - 8.1" + "drush/drush": "^9.0" }, "autoload": { "psr-0": { From bb5818d1b3c4bf72b766eb846e3cdd37c34c808d Mon Sep 17 00:00:00 2001 From: Bec White Date: Wed, 18 Oct 2017 18:44:43 -0500 Subject: [PATCH 2/3] Drush 9 doesn't have the --nocolor option. --- src/Drush/Task.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/Drush/Task.php b/src/Drush/Task.php index fe72572..7661b42 100644 --- a/src/Drush/Task.php +++ b/src/Drush/Task.php @@ -325,13 +325,6 @@ public function main() { $command[] = $this->alias; } - if (empty($this->color)) { - $option = new Option(); - $option->setName('nocolor'); - $this->options[] = $option; - } - - if (!empty($this->root)) { $option = new Option(); $option->setName('root'); From 4bd32df91d2d3030c96a4b395ffea13cb492507b Mon Sep 17 00:00:00 2001 From: Bec White Date: Fri, 27 Oct 2017 10:16:17 -0500 Subject: [PATCH 3/3] Allow Drush ^8.1.15. --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 5b9c48a..221e5ca 100644 --- a/composer.json +++ b/composer.json @@ -17,7 +17,7 @@ "minimum-stability": "beta", "require": { "phing/phing": "~2.9", - "drush/drush": "^9.0" + "drush/drush": "^8.1.15 || ^9.0" }, "autoload": { "psr-0": {