Skip to content

Commit

Permalink
[Repository] removed unused local $match variable from GitHubDriver::…
Browse files Browse the repository at this point in the history
…supports() method.
  • Loading branch information
Hugo Hamon committed Jan 11, 2012
1 parent 7842149 commit 70d7ab4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Composer/Repository/Vcs/GitHubDriver.php
Expand Up @@ -146,6 +146,6 @@ public function hasComposerFile($identifier)
*/
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);
}
}

0 comments on commit 70d7ab4

Please sign in to comment.