Completed
Pull Request — master (#80)
by Hiraku
02:20
created
src/HttpGetRequest.php 2 patches
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -88,6 +88,10 @@
 block discarded – undo
88 88
         unset($this->curlOpts[CURLOPT_PROXYUSERPWD]);
89 89
     }
90 90
 
91
+    /**
92
+     * @param string $key1
93
+     * @param string $key2
94
+     */
91 95
     private static function issetOr(array $arr, $key1, $key2)
92 96
     {
93 97
         if (isset($arr[$key1])) {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
8 8
 
9 9
 use Composer\Config as CConfig;
10 10
 use Composer\IO;
11
-use Composer\Downloader;
12 11
 use Composer\Util;
13 12
 
14 13
 /**
Please login to merge, or discard this patch.
src/Factory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
         if (substr($origin, -10) === 'github.com') {
30 30
             $origin = 'github.com';
31 31
         }
32
-        $requestClass = __NAMESPACE__ . '\\' . self::getRequestClass($origin, $config) . 'Request';
32
+        $requestClass = __NAMESPACE__.'\\'.self::getRequestClass($origin, $config).'Request';
33 33
         $request = new $requestClass($origin, $url, $io);
34 34
         $request->verbose = $pluginConfig['verbose'];
35 35
         if ($pluginConfig['insecure']) {
Please login to merge, or discard this patch.