Skip to content

Commit dd14613

Browse files
samdarkStyleCIBot
authored andcommitted
Apply fixes from StyleCI
1 parent 898f319 commit dd14613

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

tests/LoggerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ public function messageProvider(): array
9696
'callable' => [fn () => 1, 'fn () => 1'],
9797
'object' => [new stdClass(), 'unserialize(\'O:8:"stdClass":0:{}\')'],
9898
'stringable-object' => [
99-
$stringableObject = new class() {
99+
$stringableObject = new class () {
100100
public function __toString(): string
101101
{
102102
return 'Stringable object';

tests/Message/FormatterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public function contextProvider(): array
3737
'callable' => [['foo' => fn () => null], 'foo: fn () => null'],
3838
'exception' => [['foo' => $exception = new Exception('some error')], "foo: {$exception->__toString()}"],
3939
'stringable-object' => [
40-
['foo' => new class() {
40+
['foo' => new class () {
4141
public function __toString(): string
4242
{
4343
return 'stringable-object';

tests/PsrTargetTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ final class PsrTargetTest extends TestCase
2020

2121
public function setUp(): void
2222
{
23-
$this->target = new PsrTarget(new class() implements LoggerInterface {
23+
$this->target = new PsrTarget(new class () implements LoggerInterface {
2424
use LoggerTrait;
2525

2626
public string $message = '';

tests/TargetTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ public function contextProvider(): array
378378
'callable' => [['foo' => fn () => null], 'foo: fn () => null'],
379379
'exception' => [['foo' => $exception = new Exception('some error')], "foo: {$exception->__toString()}"],
380380
'stringable-object' => [
381-
['foo' => new class() {
381+
['foo' => new class () {
382382
public function __toString(): string
383383
{
384384
return 'stringable-object';

0 commit comments

Comments
 (0)