Created
May 2, 2017 16:13
-
-
Save jordanlgraham/e8c383aa14aebd9db6bf23cd4bbb6830 to your computer and use it in GitHub Desktop.
Patch to Drush 8.x to solve incompatibility with Symfony 3.1 (see https://github.com/drush-ops/drush/issues/2474)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/Drush/Command/DrushInputAdapter.php b/lib/Drush/Command/DrushInputAdapter.php | |
index 29126f1..686555d 100644 | |
--- a/lib/Drush/Command/DrushInputAdapter.php | |
+++ b/lib/Drush/Command/DrushInputAdapter.php | |
@@ -58,7 +58,7 @@ class DrushInputAdapter implements InputInterface { | |
/** | |
* {@inheritdoc} | |
*/ | |
- public function hasParameterOption($values) | |
+ public function hasParameterOption($values, $onlyParams = false) | |
{ | |
$values = (array) $values; | |
@@ -74,7 +74,7 @@ class DrushInputAdapter implements InputInterface { | |
/** | |
* {@inheritdoc} | |
*/ | |
- public function getParameterOption($values, $default = false) | |
+ public function getParameterOption($values, $default = false, $onlyParams = false) | |
{ | |
$values = (array) $values; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment