1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-11 09:32:55 +00:00

Adding ssh protocol support to github-protocols.

This commit is contained in:
Gennady Feldman 2014-02-07 11:11:36 -05:00
parent 7343198817
commit ac78eaa027
3 changed files with 11 additions and 6 deletions

View file

@ -294,8 +294,8 @@ EOT
}
foreach ($vals as $val) {
if (!in_array($val, array('git', 'https'))) {
return 'valid protocols include: git, https';
if (!in_array($val, array('git', 'https', 'ssh'))) {
return 'valid protocols include: git, https, ssh';
}
}