Completed
Push — master ( 701fe7...4a6c95 )
by Tobias
02:15
created

ServerRequestTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 2
dl 0
loc 9
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace Tests\Nyholm\Psr7\Integration;
4
5
use Http\Psr7Test\ServerRequestIntegrationTest;
6
use Nyholm\Psr7\ServerRequest;
7
8
class ServerRequestTest extends ServerRequestIntegrationTest
9
{
10
    public function createSubject()
11
    {
12
        $_SERVER['REQUEST_METHOD'] = 'GET';
13
14
        return new ServerRequest('GET', '/', [], null, '1.1', $_SERVER);
15
    }
16
}
17