From 70d7ab43ee458f3ab7462d03efa0e01357fe501c Mon Sep 17 00:00:00 2001 From: Hugo Hamon Date: Wed, 11 Jan 2012 11:34:45 +0100 Subject: [PATCH] [Repository] removed unused local $match variable from GitHubDriver::supports() method. --- src/Composer/Repository/Vcs/GitHubDriver.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/Repository/Vcs/GitHubDriver.php b/src/Composer/Repository/Vcs/GitHubDriver.php index 44227ef91..8e7cb46c5 100644 --- a/src/Composer/Repository/Vcs/GitHubDriver.php +++ b/src/Composer/Repository/Vcs/GitHubDriver.php @@ -146,6 +146,6 @@ class GitHubDriver implements VcsDriverInterface */ public static function supports($url, $deep = false) { - return extension_loaded('openssl') && preg_match('#^(?:https?|git)://github\.com/([^/]+)/(.+?)(?:\.git)?$#', $url, $match); + return extension_loaded('openssl') && preg_match('#^(?:https?|git)://github\.com/([^/]+)/(.+?)(?:\.git)?$#', $url); } }