From 09f0ba66042b04d4805608308f22a37188397ae6 Mon Sep 17 00:00:00 2001 From: Hugo Hamon Date: Wed, 11 Jan 2012 11:35:36 +0100 Subject: [PATCH] [Repository] removed unused local $match variable from HgBitbucketDriver::supports() method. --- src/Composer/Repository/Vcs/HgBitbucketDriver.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/Repository/Vcs/HgBitbucketDriver.php b/src/Composer/Repository/Vcs/HgBitbucketDriver.php index 515e90d36..3594270d6 100644 --- a/src/Composer/Repository/Vcs/HgBitbucketDriver.php +++ b/src/Composer/Repository/Vcs/HgBitbucketDriver.php @@ -158,6 +158,6 @@ class HgBitbucketDriver implements VcsDriverInterface */ public static function supports($url, $deep = false) { - return preg_match('#^https://bitbucket\.org/([^/]+)/([^/]+)/?$#', $url, $match); + return preg_match('#^https://bitbucket\.org/([^/]+)/([^/]+)/?$#', $url); } }