mirror of
https://github.com/composer/composer
synced 2025-05-11 01:22:54 +00:00
[Repository] removed unused local $match variable from GitBitbucketDriver::supports() method.
This commit is contained in:
parent
66f214e446
commit
7842149a51
1 changed files with 1 additions and 1 deletions
|
@ -158,6 +158,6 @@ class GitBitbucketDriver implements VcsDriverInterface
|
||||||
*/
|
*/
|
||||||
public static function supports($url, $deep = false)
|
public static function supports($url, $deep = false)
|
||||||
{
|
{
|
||||||
return preg_match('#^https://bitbucket\.org/([^/]+)/(.+?)\.git$#', $url, $match);
|
return preg_match('#^https://bitbucket\.org/([^/]+)/(.+?)\.git$#', $url);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue