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