Completed
Push — develop ( 66130e...e39ec3 )
by Adam
14:00
created
src/Common/HttpClient/Builder.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -153,6 +153,7 @@
 block discarded – undo
153 153
 
154 154
     /**
155 155
      * @param \Http\Client\Common\Plugin ...$plugins
156
+     * @param Plugin[] $plugins
156 157
      *
157 158
      * @return $this
158 159
      */
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,8 +6,8 @@
 block discarded – undo
6 6
 
7 7
 use DateTime;
8 8
 use Http\Client\Common\Plugin;
9
-use Http\Client\Common\Plugin\AuthenticationPlugin;
10 9
 use Http\Client\Common\PluginClient;
10
+use Http\Client\Common\Plugin\AuthenticationPlugin;
11 11
 use Http\Client\HttpClient;
12 12
 use Http\Message\Authentication\BasicAuth;
13 13
 use Http\Message\UriFactory;
Please login to merge, or discard this patch.
src/Common/spec/HttpClient/BuilderSpec.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 IBM\Watson\Common\HttpClient\Builder;
6 6
 use PhpSpec\ObjectBehavior;
7
-use Prophecy\Argument;
8 7
 
9 8
 class BuilderSpec extends ObjectBehavior
10 9
 {
Please login to merge, or discard this patch.
src/Common/spec/Hydrator/ArrayHydratorSpec.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,8 +3,8 @@
 block discarded – undo
3 3
 namespace spec\IBM\Watson\Common\Hydrator;
4 4
 
5 5
 use IBM\Watson\Common\Hydrator\ArrayHydrator;
6
-use PhpSpec\ObjectBehavior;
7 6
 use Mockery as m;
7
+use PhpSpec\ObjectBehavior;
8 8
 use Psr\Http\Message\ResponseInterface;
9 9
 use Psr\Http\Message\StreamInterface;
10 10
 
Please login to merge, or discard this patch.
src/Common/spec/Hydrator/ModelHydratorSpec.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 IBM\Watson\Common\Hydrator\ModelHydrator;
6 6
 use PhpSpec\ObjectBehavior;
7
-use Prophecy\Argument;
8 7
 
9 8
 class ModelHydratorSpec extends ObjectBehavior
10 9
 {
Please login to merge, or discard this patch.
src/Common/spec/RequestBuilderSpec.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 IBM\Watson\Common\RequestBuilder;
6 6
 use PhpSpec\ObjectBehavior;
7
-use Prophecy\Argument;
8 7
 
9 8
 class RequestBuilderSpec extends ObjectBehavior
10 9
 {
Please login to merge, or discard this patch.
src/Common/spec/stubs/ApiSpec.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,13 +3,11 @@
 block discarded – undo
3 3
 namespace spec\IBM\Watson\Common\stubs;
4 4
 
5 5
 use Http\Client\HttpClient;
6
-use http\Env\Response;
7 6
 use IBM\Watson\Common\Api\AbstractApi;
8 7
 use IBM\Watson\Common\Hydrator\HydratorInterface;
9 8
 use IBM\Watson\Common\RequestBuilder;
10 9
 use IBM\Watson\Common\stubs\Api;
11 10
 use PhpSpec\ObjectBehavior;
12
-use Prophecy\Argument;
13 11
 
14 12
 class ApiSpec extends ObjectBehavior
15 13
 {
Please login to merge, or discard this patch.
src/Common/tests/HttpClient/BuilderTest.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,8 +6,8 @@
 block discarded – undo
6 6
 use Http\Client\HttpClient;
7 7
 use Http\Message\UriFactory;
8 8
 use IBM\Watson\Common\HttpClient\Builder;
9
-use PHPUnit\Framework\TestCase;
10 9
 use Mockery as m;
10
+use PHPUnit\Framework\TestCase;
11 11
 
12 12
 class BuilderTest extends TestCase
13 13
 {
Please login to merge, or discard this patch.
src/Common/tests/Hydrator/ArrayHydratorTest.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,8 +3,8 @@
 block discarded – undo
3 3
 namespace IBM\Watson\Common\Hydrator\ArrayHydratorTest;
4 4
 
5 5
 use IBM\Watson\Common\Hydrator\ArrayHydrator;
6
-use PHPUnit\Framework\TestCase;
7 6
 use Mockery as m;
7
+use PHPUnit\Framework\TestCase;
8 8
 use Psr\Http\Message\ResponseInterface;
9 9
 use Psr\Http\Message\StreamInterface;
10 10
 
Please login to merge, or discard this patch.
src/Common/tests/Hydrator/ModelHydratorTest.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,8 +7,8 @@
 block discarded – undo
7 7
 use IBM\Watson\Common\Hydrator\ModelHydrator;
8 8
 use IBM\Watson\Common\stubs\CreateableFromArrayModel;
9 9
 use IBM\Watson\Common\stubs\Model;
10
-use PHPUnit\Framework\TestCase;
11 10
 use Mockery as m;
11
+use PHPUnit\Framework\TestCase;
12 12
 use Psr\Http\Message\ResponseInterface;
13 13
 use Psr\Http\Message\StreamInterface;
14 14
 
Please login to merge, or discard this patch.