Add laravel 11 support

This commit is contained in:
philipp lang 2024-09-21 22:45:17 +02:00
parent de5d8173ea
commit b735186c2d
4 changed files with 941 additions and 746 deletions

View File

@ -9,12 +9,12 @@
} }
], ],
"require": { "require": {
"php": "8.3.*", "php": "^8.3",
"guzzlehttp/guzzle": "^6.3.1|^7.0", "guzzlehttp/guzzle": "^6.3.1|^7.0",
"laravel/framework": "^10.0", "laravel/framework": "^11.0",
"laravel/ui": "^4.0", "laravel/ui": "^4.0",
"spatie/laravel-data": "^3.0", "spatie/laravel-data": "^4.0",
"worksome/request-factories": "^2.5" "worksome/request-factories": "^3.0"
}, },
"autoload": { "autoload": {
"psr-4": { "psr-4": {
@ -27,7 +27,7 @@
} }
}, },
"require-dev": { "require-dev": {
"orchestra/testbench": "^8.0", "orchestra/testbench": "^9.0",
"larastan/larastan": "^2.9" "larastan/larastan": "^2.9"
}, },
"extra": { "extra": {

1673
composer.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -159,7 +159,7 @@ class Member extends Data
]; ];
} }
public static function factory(): MemberRequestFactory public static function toFactory(): MemberRequestFactory
{ {
return MemberRequestFactory::new(); return MemberRequestFactory::new();
} }

View File

@ -38,7 +38,7 @@ class MemberEntry extends Data
) { ) {
} }
public static function factory(): MemberEntryRequestFactory public static function toFactory(): MemberEntryRequestFactory
{ {
return MemberEntryRequestFactory::new(); return MemberEntryRequestFactory::new();
} }