File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/Codeception/Lib/Connector Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -23,14 +23,14 @@ public function mockResponse($response)
2323 public function doRequest ($ request )
2424 {
2525 if ($ this ->mockedResponse ) {
26- $ response = $ this ->mockedResponse ;
26+ $ response = $ this ->mockedResponse ;
2727 $ this ->mockedResponse = null ;
2828 return $ response ;
2929 }
3030
3131 $ _COOKIE = $ request ->getCookies ();
3232 $ _SERVER = $ request ->getServer ();
33- $ _FILES = $ this ->remapFiles ($ request ->getFiles ());
33+ $ _FILES = $ this ->remapFiles ($ request ->getFiles ());
3434
3535 $ uri = str_replace ('http://localhost ' , '' , $ request ->getUri ());
3636
@@ -42,15 +42,15 @@ public function doRequest($request)
4242 }
4343
4444 $ _SERVER ['REQUEST_METHOD ' ] = strtoupper ($ request ->getMethod ());
45- $ _SERVER ['REQUEST_URI ' ] = $ uri ;
45+ $ _SERVER ['REQUEST_URI ' ] = $ uri ;
4646
4747 ob_start ();
4848 include $ this ->index ;
4949
5050 $ content = ob_get_contents ();
5151 ob_end_clean ();
5252
53- $ headers = array () ;
53+ $ headers = [] ;
5454 $ php_headers = headers_list ();
5555 foreach ($ php_headers as $ value ) {
5656 // Get the header name
You can’t perform that action at this time.
0 commit comments