Completed
Pull Request — master (#96)
by Deven
28:46
created
vendor/guzzle/guzzle/src/Guzzle/Stream/Stream.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@
 block discarded – undo
90 90
      * @param string          $algo      Hash algorithm (e.g. md5, crc32, etc)
91 91
      * @param bool            $rawOutput Whether or not to use raw output
92 92
      *
93
-     * @return bool|string Returns false on failure or a hash string on success
93
+     * @return false|string Returns false on failure or a hash string on success
94 94
      */
95 95
     public static function getHash(StreamInterface $stream, $algo, $rawOutput = false)
96 96
     {
Please login to merge, or discard this patch.
vendor/guzzle/guzzle/tests/Guzzle/Tests/Batch/BatchBuilderTest.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -9,11 +9,17 @@
 block discarded – undo
9 9
  */
10 10
 class BatchBuilderTest extends \Guzzle\Tests\GuzzleTestCase
11 11
 {
12
+    /**
13
+     * @return \Guzzle\Batch\BatchTransferInterface
14
+     */
12 15
     private function getMockTransfer()
13 16
     {
14 17
         return $this->getMock('Guzzle\Batch\BatchTransferInterface');
15 18
     }
16 19
 
20
+    /**
21
+     * @return \Guzzle\Batch\BatchDivisorInterface
22
+     */
17 23
     private function getMockDivisor()
18 24
     {
19 25
         return $this->getMock('Guzzle\Batch\BatchDivisorInterface');
Please login to merge, or discard this patch.
guzzle/tests/Guzzle/Tests/Http/Message/EntityEnclosingRequestTest.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\Client;
6 6
 use Guzzle\Http\EntityBody;
7
-use Guzzle\Http\Message\Request;
8 7
 use Guzzle\Http\Message\RequestFactory;
9 8
 use Guzzle\Http\RedirectPlugin;
10 9
 use Guzzle\Http\Message\EntityEnclosingRequest;
Please login to merge, or discard this patch.
vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/Message/RequestFactoryTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 use Guzzle\Http\Message\Request;
12 12
 use Guzzle\Http\QueryString;
13 13
 use Guzzle\Parser\Message\MessageParser;
14
-use Guzzle\Plugin\Log\LogPlugin;
15 14
 use Guzzle\Plugin\Mock\MockPlugin;
16 15
 
17 16
 /**
Please login to merge, or discard this patch.
vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/Message/ResponseTest.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -474,6 +474,7 @@
 block discarded – undo
474 474
     }
475 475
 
476 476
     /**
477
+     * @param integer $code
477 478
      * @return Response
478 479
      */
479 480
     private function getResponse($code, array $headers = null, EntityBody $body = null)
Please login to merge, or discard this patch.
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.