From 59ae2716aa1e59552474f18cce565db9a13d19be Mon Sep 17 00:00:00 2001 From: "Paul.Wenke" Date: Mon, 28 Mar 2016 09:13:58 -0400 Subject: [PATCH] Fixed typo in exception message for Bitbucket config command. --- src/Composer/Command/ConfigCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/Command/ConfigCommand.php b/src/Composer/Command/ConfigCommand.php index 66fca1550..b83f599de 100644 --- a/src/Composer/Command/ConfigCommand.php +++ b/src/Composer/Command/ConfigCommand.php @@ -494,7 +494,7 @@ EOT // handle bitbucket-oauth if (preg_match('/^(bitbucket-oauth)\.(.+)/', $settingKey, $matches)) { if (2 !== count($values)) { - throw new \RuntimeException('Excepted two arguments (consumer-key, consumer-secret), got '.count($values)); + throw new \RuntimeException('Expected two arguments (consumer-key, consumer-secret), got '.count($values)); } $this->configSource->removeConfigSetting($matches[1].'.'.$matches[2]); $this->authConfigSource->addConfigSetting($matches[1].'.'.$matches[2], array('consumer-key' => $values[0], 'consumer-secret' => $values[1]));