Test Setup Failed
Push — develop ( e0b6c5...2b0ae3 )
by Jaime
04:53 queued 02:15
created
src/Clients/HttpClient.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -114,9 +114,9 @@
 block discarded – undo
114 114
     }
115 115
 
116 116
     /**
117
-     * @param $method
117
+     * @param string $method
118 118
      * @param $uri
119
-     * @param $withHost
119
+     * @param boolean $withHost
120 120
      * @param array $data
121 121
      * @return mixed|ResponseInterface
122 122
      */
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Cobak78\RancherApi\Clients;
4 4
 
5
-use GuzzleHttp\Client;
6 5
 use GuzzleHttp\ClientInterface;
7 6
 use GuzzleHttp\Exception\ClientException;
8 7
 use Psr\Http\Message\ResponseInterface;
Please login to merge, or discard this patch.
tests/RancherApiTest.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,9 @@
 block discarded – undo
49 49
 
50 50
         for ($i = 4; $i <= $argc; $i++) {
51 51
 
52
-            if (!array_key_exists($i, $argv)) break;
52
+            if (!array_key_exists($i, $argv)) {
53
+                break;
54
+            }
53 55
 
54 56
             $this->args['params'][] = $argv[$i];
55 57
         }
Please login to merge, or discard this patch.
tests/Clients/WSClientTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
                     $conn->close();
33 33
                 });
34 34
 
35
-            }, function ($e) {
35
+            }, function($e) {
36 36
 
37 37
                 echo "Could not connect: {$e->getMessage()}\n";
38 38
             });
Please login to merge, or discard this patch.