Skip to content

Commit 7b36659

Browse files
author
AmirHossein Fallah
committed
style: fix remaining StyleCI issues
- Fix class_definition and braces_position issues in test files - Ensure full compliance with Laravel coding standards - All StyleCI checks now pass
1 parent 44c6bbe commit 7b36659

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

tests/Http/JsonResourceTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ public function testJsonResourceToJsonSucceedsWithPriorErrors(): void
5151

5252
public function testJsonResourceToPrettyPrint(): void
5353
{
54-
$model = new class extends Model {
54+
$model = new class extends Model
55+
{
5556
};
5657

5758
$resource = m::mock(JsonResource::class, ['resource' => $model])

tests/JsonSchema/SerializerTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ public function test_it_does_not_know_how_to_serialize_unknown_types(): void
1313
$this->expectException(RuntimeException::class);
1414
$this->expectExceptionMessage('Unsupported [Illuminate\\JsonSchema\\Types\\Type@anonymous');
1515

16-
$type = new class extends Type {
16+
$type = new class extends Type
17+
{
1718
// anonymous type for triggering serializer failure
1819
};
1920

0 commit comments

Comments
 (0)