Skip to content

Commit bfc9b5f

Browse files
authored
Run PHP-cs-fixer (#396)
* Run PHP-cs-fixer * CS fixes * Fix * Remove CI changes
1 parent 043f17d commit bfc9b5f

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

tests/Integration/ServerRequestFromGlobalsTest.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
<?php
22

3-
43
namespace GuzzleHttp\Tests\Psr7\Integration;
54

6-
75
use GuzzleHttp\Tests\Psr7\BaseTest;
8-
use PHPUnit\Framework\TestCase;
96

107
class ServerRequestFromGlobalsTest extends BaseTest
118
{
@@ -29,7 +26,7 @@ public function testBodyExists()
2926
curl_setopt($curl, CURLOPT_POSTFIELDS, 'foobar');
3027
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
3128
$response = curl_exec($curl);
32-
curl_close ($curl);
29+
curl_close($curl);
3330

3431
self::assertNotFalse($response);
3532
$data = json_decode($response, true);

tests/Integration/server.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
require dirname(__DIR__, 2).'/vendor/autoload.php';
3+
require dirname(__DIR__, 2) . '/vendor/autoload.php';
44

55
$request = \GuzzleHttp\Psr7\ServerRequest::fromGlobals();
66

0 commit comments

Comments
 (0)