Completed
Pull Request — master (#107)
by Sullivan
03:05
created
src/CurlRemoteFilesystem.php 1 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/BaseRequest.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -80,6 +80,9 @@  discard block
 block discarded – undo
80 80
         return $cache = false;
81 81
     }
82 82
 
83
+    /**
84
+     * @param string $url
85
+     */
83 86
     protected function getProxy($url)
84 87
     {
85 88
         if (isset($_SERVER['no_proxy'])) {
@@ -255,11 +258,18 @@  discard block
 block discarded – undo
255 258
         }
256 259
     }
257 260
 
261
+    /**
262
+     * @param string $key
263
+     */
258 264
     public function addParam($key, $val)
259 265
     {
260 266
         $this->query[$key] = $val;
261 267
     }
262 268
 
269
+    /**
270
+     * @param string $key
271
+     * @param string $val
272
+     */
263 273
     public function addHeader($key, $val)
264 274
     {
265 275
         $this->headers[strtolower($key)] = $val;
Please login to merge, or discard this patch.
src/FetchRequest.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -37,6 +37,11 @@
 block discarded – undo
37 37
         return $curlOpts;
38 38
     }
39 39
 
40
+    /**
41
+     * @param string $key
42
+     *
43
+     * @return resource
44
+     */
40 45
     private static function getCurl($key)
41 46
     {
42 47
         static $curlCache = array();
Please login to merge, or discard this patch.
src/Plugin.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -10,10 +10,7 @@
 block discarded – undo
10 10
 use Composer\IO;
11 11
 use Composer\Plugin as CPlugin;
12 12
 use Composer\EventDispatcher;
13
-use Composer\Package;
14
-use Composer\Script;
15 13
 use Composer\Installer;
16
-use Composer\DependencyResolver;
17 14
 
18 15
 class Plugin implements
19 16
     CPlugin\PluginInterface,
Please login to merge, or discard this patch.