Skip to content

Commit 4910180

Browse files
brendtactions-user
authored andcommitted
Fix styling
1 parent 768978b commit 4910180

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed

src/Middlewares/HttpLogger.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,13 @@
44

55
use Closure;
66
use Illuminate\Http\Request;
7-
use Spatie\HttpLogger\LogWriter;
87
use Spatie\HttpLogger\LogProfile;
8+
use Spatie\HttpLogger\LogWriter;
99

1010
class HttpLogger
1111
{
1212
protected $logProfile;
13+
1314
protected $logWriter;
1415

1516
public function __construct(LogProfile $logProfile, LogWriter $logWriter)

tests/DefaultLogWriterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public function it_logs_files_in_an_array()
8888

8989
$request = $this->makeRequest('post', $this->uri, [], [], [
9090
'files' => [
91-
new UploadedFile($file, 'test.md')
91+
new UploadedFile($file, 'test.md'),
9292
],
9393
]);
9494

tests/TestCase.php

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
namespace Spatie\HttpLogger\Test;
44

5+
use Illuminate\Contracts\Http\Kernel;
56
use Illuminate\Http\Request;
67
use Illuminate\Support\Facades\File;
7-
use Illuminate\Contracts\Http\Kernel;
88
use Illuminate\Support\Facades\Route;
9-
use Spatie\HttpLogger\Middlewares\HttpLogger;
109
use Orchestra\Testbench\TestCase as Orchestra;
1110
use Spatie\HttpLogger\HttpLoggerServiceProvider;
11+
use Spatie\HttpLogger\Middlewares\HttpLogger;
1212
use Symfony\Component\HttpFoundation\Request as SymfonyRequest;
1313

1414
class TestCase extends Orchestra
@@ -104,8 +104,13 @@ protected function makeRequest(
104104

105105
return Request::createFromBase(
106106
SymfonyRequest::create(
107-
$this->prepareUrlForRequest($uri), $method, $parameters,
108-
$cookies, $files, array_replace($this->serverVariables, $server), $content
107+
$this->prepareUrlForRequest($uri),
108+
$method,
109+
$parameters,
110+
$cookies,
111+
$files,
112+
array_replace($this->serverVariables, $server),
113+
$content
109114
)
110115
);
111116
}

0 commit comments

Comments
 (0)