mirror of
https://github.com/composer/composer
synced 2025-05-11 01:22:54 +00:00
Remove the http protocol from github-protocols, refs #1955
This commit is contained in:
parent
a6e3b23ca5
commit
e68d455c5c
3 changed files with 14 additions and 6 deletions
|
@ -297,8 +297,8 @@ EOT
|
|||
}
|
||||
|
||||
foreach ($vals as $val) {
|
||||
if (!in_array($val, array('git', 'https', 'http'))) {
|
||||
return 'valid protocols include: git, https, http';
|
||||
if (!in_array($val, array('git', 'https'))) {
|
||||
return 'valid protocols include: git, https';
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue