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:
parent
7842149a51
commit
70d7ab43ee
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue