Skip to content

Commit 9f3b743

Browse files
committed
chore: laravel 12 support
1 parent 814d567 commit 9f3b743

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/Feature/JsonSchemaValidationExceptionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public function testErrorsFormattedLikeMessageBag($data, string $schema, array $
4646
}
4747
}
4848

49-
public function provideErrorsFormattedLikeMessageBag(): array
49+
public static function provideErrorsFormattedLikeMessageBag(): array
5050
{
5151
return [
5252
'simple' => [

tests/Feature/SchemaValidatorServiceTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public function testNormalizeData($data, $schema): void
6161
self::assertTrue($validator->validate($data, $schema));
6262
}
6363

64-
public function normalizeDataProvider(): array
64+
public static function normalizeDataProvider(): array
6565
{
6666
return [
6767
'Collection becomes array' => [collect([1, 2, 3]), '{"type":"array","minItems":3}'],
@@ -110,7 +110,7 @@ public function testValidateEncodedStringOrThrow(string $encodedData, mixed $sch
110110
}
111111
}
112112

113-
public function provideValidateEncodedStringOrThrow(): array
113+
public static function provideValidateEncodedStringOrThrow(): array
114114
{
115115
return [
116116
'primitive, string schema' => ['420', '{"type": "number", "minimum": 69}', true],

0 commit comments

Comments
 (0)