Skip to content

Commit 836724c

Browse files
Naoraygithub-actions[bot]
authored andcommitted
Fix styling
1 parent 04e3dd9 commit 836724c

File tree

9 files changed

+10
-10
lines changed

9 files changed

+10
-10
lines changed

src/Issues/Formatters/PreviousExceptionFormatter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44

55
use Illuminate\Support\Str;
66
use Monolog\LogRecord;
7-
use Throwable;
87
use Naoray\LaravelGithubMonolog\Issues\InteractsWithLogRecord;
98
use Naoray\LaravelGithubMonolog\Issues\StubLoader;
9+
use Throwable;
1010

1111
class PreviousExceptionFormatter
1212
{

src/Issues/SectionMapping.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public static function getSectionsToRemove(array $replacements): array
2020
{
2121
return collect(self::SECTION_MAPPINGS)
2222
->when(empty($replacements), fn (Collection $collection) => $collection->values()->unique())
23-
->when(!empty($replacements), function (Collection $collection) use ($replacements) {
23+
->when(! empty($replacements), function (Collection $collection) use ($replacements) {
2424
return $collection
2525
->filter(fn (string $_, string $placeholder) => isset($replacements[$placeholder]) && empty($replacements[$placeholder]))
2626
->values()

src/Issues/TemplateRenderer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public function __construct(
3232
public function render(string $template, LogRecord $record, ?string $signature = null): string
3333
{
3434
$replacements = $this->buildReplacements($record, $signature);
35-
35+
3636
return $this->sectionCleaner->clean($template, $replacements);
3737
}
3838

src/Tracing/RequestDataCollector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
namespace Naoray\LaravelGithubMonolog\Tracing;
44

5-
use Illuminate\Support\Str;
65
use Illuminate\Routing\Events\RouteMatched;
76
use Illuminate\Support\Facades\Context;
7+
use Illuminate\Support\Str;
88

99
class RequestDataCollector
1010
{

src/Tracing/UserDataCollector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
namespace Naoray\LaravelGithubMonolog\Tracing;
44

5-
use Illuminate\Support\Facades\Context;
65
use Illuminate\Auth\Events\Authenticated;
76
use Illuminate\Contracts\Auth\Authenticatable;
7+
use Illuminate\Support\Facades\Context;
88

99
class UserDataCollector
1010
{

tests/Issues/TemplateRendererTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
use Naoray\LaravelGithubMonolog\Issues\TemplateRenderer;
55

66
beforeEach(function () {
7-
$this->stubLoader = new StubLoader();
7+
$this->stubLoader = new StubLoader;
88
$this->renderer = resolve(TemplateRenderer::class);
99
});
1010

tests/Issues/TemplateSectionCleanerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
use Naoray\LaravelGithubMonolog\Issues\TemplateSectionCleaner;
44

55
beforeEach(function () {
6-
$this->cleaner = new TemplateSectionCleaner();
6+
$this->cleaner = new TemplateSectionCleaner;
77
});
88

99
test('it replaces template variables', function () {
@@ -150,7 +150,7 @@
150150
$replacements = [
151151
'{simplified_stack_trace}' => 'Stack trace content',
152152
'{context}' => '{"key": "value"}',
153-
'{extra}' => 'Extra data'
153+
'{extra}' => 'Extra data',
154154
];
155155

156156
$result = $this->cleaner->clean($template, $replacements);

tests/Tracing/RequestDataCollectorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
use Symfony\Component\HttpFoundation\HeaderBag;
99

1010
beforeEach(function () {
11-
$this->collector = new RequestDataCollector();
11+
$this->collector = new RequestDataCollector;
1212
});
1313

1414
afterEach(function () {

tests/Tracing/UserDataCollectorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
use Naoray\LaravelGithubMonolog\Tracing\UserDataCollector;
77

88
beforeEach(function () {
9-
$this->collector = new UserDataCollector();
9+
$this->collector = new UserDataCollector;
1010
});
1111

1212
afterEach(function () {

0 commit comments

Comments
 (0)