Completed
Pull Request — master (#2)
by ARP
11:21 queued 05:17
created
tests/SafeRequests/IsSafeHttpMethodTest.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
 namespace TheCodingMachine\Middlewares\SafeRequests;
5 5
 
6
-use PHPUnit\Framework\TestCase;
7 6
 use Psr\Http\Message\RequestInterface;
8 7
 use Psr\Http\Message\ServerRequestInterface;
9 8
 
Please login to merge, or discard this patch.
tests/SafeRequests/IsSafeHttpRouteTest.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
 namespace TheCodingMachine\Middlewares\SafeRequests;
5 5
 
6
-use PHPUnit\Framework\TestCase;
7 6
 use Psr\Http\Message\RequestInterface;
8 7
 use Psr\Http\Message\ServerRequestInterface;
9 8
 use Psr\Http\Message\UriInterface;
Please login to merge, or discard this patch.
src/OriginFetchers/CompositeTargetOrigin.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -14,6 +14,7 @@
 block discarded – undo
14 14
 
15 15
     /**
16 16
      * @param TargetOriginInterface[] ...$targetOrigins
17
+     * @param HostHeader $targetOrigins
17 18
      */
18 19
     public function __construct(TargetOriginInterface ...$targetOrigins)
19 20
     {
Please login to merge, or discard this patch.
tests/CsrfHeaderCheckMiddlewareTest.php 1 patch
Unused Use Statements   -6 removed lines patch added patch discarded remove patch
@@ -3,12 +3,6 @@
 block discarded – undo
3 3
 
4 4
 namespace TheCodingMachine\Middlewares;
5 5
 
6
-use PHPUnit\Framework\TestCase;
7
-use Psr\Http\Message\ResponseInterface;
8
-use Psr\Http\Message\ServerRequestInterface;
9
-use TheCodingMachine\Middlewares\SafeRequests\IsSafeHttpMethod;
10
-use Zend\Diactoros\Request;
11
-use Zend\Diactoros\Response;
12 6
 use Zend\Diactoros\ServerRequest;
13 7
 
14 8
 class CsrfHeaderCheckMiddlewareTest extends AbstractMiddlewareTest
Please login to merge, or discard this patch.