Skip to content

Commit 81331ae

Browse files
committed
style: apply Pint formatting to trace and span tests
1 parent cb7461d commit 81331ae

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

tests/Feature/Tracing/HttpTracingTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
->toBeNull();
3030
});
3131

32-
it('starts and completes a trace for an http request', function () {
32+
it('starts and completes a trace for an http request', function (): void {
3333
$tracer = app(Tracer::class);
3434

3535
$response = $this->postJson('/trace-test');
@@ -64,7 +64,7 @@
6464
->toBeNull();
6565
});
6666

67-
it('fails the trace when the request fails', function () {
67+
it('fails the trace when the request fails', function (): void {
6868
$tracer = app(Tracer::class);
6969

7070
$this->withoutExceptionHandling();

tests/Unit/Tracing/SpanScopeTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,10 @@
9393
->toBeNull();
9494
});
9595

96-
it('adds attributes to a span before closing', function () {
97-
$contextStore = new InMemoryTraceContextStore();
98-
$spanRecorder = new InMemorySpanRecorder();
99-
$traceRecorder = new InMemoryTraceRecorder();
96+
it('adds attributes to a span before closing', function (): void {
97+
$contextStore = new InMemoryTraceContextStore;
98+
$spanRecorder = new InMemorySpanRecorder;
99+
$traceRecorder = new InMemoryTraceRecorder;
100100

101101
$tracer = new Tracer(
102102
contextStore: $contextStore,

0 commit comments

Comments
 (0)