ソースを参照

Add ssh2 protocol default ports, fixes #4835

Jordi Boggiano 9 年 前
コミット
ae14e0f086
1 ファイル変更2 行追加0 行削除
  1. 2 0
      src/Composer/Util/RemoteFilesystem.php

+ 2 - 0
src/Composer/Util/RemoteFilesystem.php

@@ -1002,6 +1002,8 @@ class RemoteFilesystem
             'ftp' => 21,
             'http' => 80,
             'https' => 443,
+            'ssh2.sftp' => 22,
+            'ssh2.scp' => 22,
         );
 
         $scheme = parse_url($url, PHP_URL_SCHEME);