1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-11 01:22:54 +00:00

[Repository] removed unused local $match variable from GitHubDriver::supports() method.

This commit is contained in:
Hugo Hamon 2012-01-11 11:34:45 +01:00
parent 7842149a51
commit 70d7ab43ee

View file

@ -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);
}
}