Completed
Push — master ( 96d573...f9f049 )
by Ehsan
07:54
created
guzzle/guzzle/tests/Guzzle/Tests/Plugin/Cache/DefaultRevalidationTest.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -22,6 +22,9 @@
 block discarded – undo
22 22
  */
23 23
 class DefaultRevalidationTest extends \Guzzle\Tests\GuzzleTestCase
24 24
 {
25
+    /**
26
+     * @param string $time
27
+     */
25 28
     protected function getHttpDate($time)
26 29
     {
27 30
         return gmdate(ClientInterface::HTTP_DATE, strtotime($time));
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
 use Doctrine\Common\Cache\ArrayCache;
15 15
 use Guzzle\Plugin\Cache\DefaultCacheStorage;
16 16
 use Guzzle\Plugin\Mock\MockPlugin;
17
-use Guzzle\Tests\Http\Server;
18 17
 
19 18
 /**
20 19
  * @covers Guzzle\Plugin\Cache\DefaultRevalidation
Please login to merge, or discard this patch.
guzzle/tests/Guzzle/Tests/Plugin/ErrorResponse/ErrorResponsePluginTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace Guzzle\Tests\Plugin\ErrorResponse;
4 4
 
5 5
 use Guzzle\Service\Client;
6
-use Guzzle\Http\Message\Response;
7 6
 use Guzzle\Plugin\ErrorResponse\ErrorResponsePlugin;
8 7
 use Guzzle\Service\Description\ServiceDescription;
9 8
 use Guzzle\Tests\Mock\ErrorResponseMock;
Please login to merge, or discard this patch.
guzzle/guzzle/tests/Guzzle/Tests/Plugin/History/HistoryPluginTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace Guzzle\Tests\Plugin\History;
4 4
 
5 5
 use Guzzle\Http\Client;
6
-use Guzzle\Http\Message\Request;
7 6
 use Guzzle\Http\Message\Response;
8 7
 use Guzzle\Plugin\History\HistoryPlugin;
9 8
 use Guzzle\Plugin\Mock\MockPlugin;
Please login to merge, or discard this patch.
guzzle/guzzle/tests/Guzzle/Tests/Service/Command/ClosureCommandTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Guzzle\Http\Message\RequestFactory;
6 6
 use Guzzle\Service\Command\ClosureCommand;
7
-use Guzzle\Service\Client;
8 7
 
9 8
 /**
10 9
  * @covers Guzzle\Service\Command\ClosureCommand
Please login to merge, or discard this patch.
vendor/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 
4 4
 use GuzzleHttp\Promise as P;
5 5
 use GuzzleHttp\Promise\Promise;
6
-use GuzzleHttp\Psr7;
7 6
 use Psr\Http\Message\RequestInterface;
8 7
 
9 8
 /**
Please login to merge, or discard this patch.
vendor/guzzlehttp/guzzle/src/Handler/StreamHandler.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -71,6 +71,9 @@  discard block
 block discarded – undo
71 71
         }
72 72
     }
73 73
 
74
+    /**
75
+     * @param RequestException $error
76
+     */
74 77
     private function invokeStats(
75 78
         array $options,
76 79
         RequestInterface $request,
@@ -90,6 +93,10 @@  discard block
 block discarded – undo
90 93
         }
91 94
     }
92 95
 
96
+    /**
97
+     * @param resource $stream
98
+     * @param double|null $startTime
99
+     */
93 100
     private function createResponse(
94 101
         RequestInterface $request,
95 102
         array $options,
Please login to merge, or discard this patch.
vendor/guzzlehttp/guzzle/src/RedirectMiddleware.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
     /**
75 75
      * @param RequestInterface  $request
76 76
      * @param array             $options
77
-     * @param ResponseInterface|PromiseInterface $response
77
+     * @param ResponseInterface $response
78 78
      *
79 79
      * @return ResponseInterface|PromiseInterface
80 80
      */
@@ -115,6 +115,9 @@  discard block
 block discarded – undo
115 115
         return $promise;
116 116
     }
117 117
 
118
+    /**
119
+     * @param string $uri
120
+     */
118 121
     private function withTracking(PromiseInterface $promise, $uri)
119 122
     {
120 123
         return $promise->then(
Please login to merge, or discard this patch.
vendor/guzzlehttp/guzzle/src/RetryMiddleware.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 
4 4
 use GuzzleHttp\Promise\PromiseInterface;
5 5
 use GuzzleHttp\Promise\RejectedPromise;
6
-use GuzzleHttp\Psr7;
7 6
 use Psr\Http\Message\RequestInterface;
8 7
 use Psr\Http\Message\ResponseInterface;
9 8
 
Please login to merge, or discard this patch.
vendor/guzzlehttp/guzzle/src/UriTemplate.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -35,6 +35,9 @@
 block discarded – undo
35 35
         '%40', '%21', '%24', '%26', '%27', '%28', '%29', '%2A', '%2B', '%2C',
36 36
         '%3B', '%3D'];
37 37
 
38
+    /**
39
+     * @param string $template
40
+     */
38 41
     public function expand($template, array $variables)
39 42
     {
40 43
         if (false === strpos($template, '{')) {
Please login to merge, or discard this patch.