Skip to content

Commit caeb4c9

Browse files
authored
Merge pull request #132 from justdlabs/laravel-11.x
Laravel 11.x
2 parents 0a5abfb + df732e1 commit caeb4c9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+525
-920
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Changelog
22

3+
## [1.3.15](https://github.com/justdlabs/inertia.ts/compare/v1.3.14...v1.3.15) (2025-02-07)
4+
35
## [1.3.14](https://github.com/justdlabs/inertia.ts/compare/v1.3.13...v1.3.14) (2025-01-21)
46

57
## [1.3.13](https://github.com/justdlabs/inertia.ts/compare/v1.3.12...v1.3.13) (2025-01-18)

app/Http/Controllers/Auth/RegisteredUserController.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
use Illuminate\Support\Facades\Auth;
1111
use Illuminate\Support\Facades\Hash;
1212
use Illuminate\Validation\Rules;
13+
use Illuminate\Validation\ValidationException;
1314
use Inertia\Inertia;
1415
use Inertia\Response;
1516

@@ -26,13 +27,13 @@ public function create(): Response
2627
/**
2728
* Handle an incoming registration request.
2829
*
29-
* @throws \Illuminate\Validation\ValidationException
30+
* @throws ValidationException
3031
*/
3132
public function store(Request $request): RedirectResponse
3233
{
3334
$request->validate([
3435
'name' => 'required|string|max:255',
35-
'email' => 'required|string|lowercase|email|max:255|unique:' . User::class,
36+
'email' => 'required|string|lowercase|email|max:255|unique:'.User::class,
3637
'password' => ['required', 'confirmed', Rules\Password::defaults()],
3738
]);
3839

app/Http/Controllers/Auth/VerifyEmailController.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ class VerifyEmailController extends Controller
1515
public function __invoke(EmailVerificationRequest $request): RedirectResponse
1616
{
1717
if ($request->user()->hasVerifiedEmail()) {
18-
return redirect()->intended(route('dashboard', absolute: false) . '?verified=1');
18+
return redirect()->intended(route('dashboard', absolute: false).'?verified=1');
1919
}
2020

2121
if ($request->user()->markEmailAsVerified()) {
2222
event(new Verified($request->user()));
2323
}
2424

25-
return redirect()->intended(route('dashboard', absolute: false) . '?verified=1');
25+
return redirect()->intended(route('dashboard', absolute: false).'?verified=1');
2626
}
2727
}

app/Http/Requests/Auth/LoginRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,6 @@ public function ensureIsNotRateLimited(): void
8080
*/
8181
public function throttleKey(): string
8282
{
83-
return Str::transliterate(Str::lower($this->string('email')) . '|' . $this->ip());
83+
return Str::transliterate(Str::lower($this->string('email')).'|'.$this->ip());
8484
}
8585
}

app/Models/User.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,6 @@ protected function casts(): array
5353

5454
protected function avatar($size = 200): string
5555
{
56-
return 'https://www.gravatar.com/avatar/' . md5(strtolower(trim($this->email))) . '?s=' . $size . '&d=mp';
56+
return 'https://www.gravatar.com/avatar/'.md5(strtolower(trim($this->email))).'?s='.$size.'&d=mp';
5757
}
5858
}

bootstrap/app.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66

77
return Application::configure(basePath: dirname(__DIR__))
88
->withRouting(
9-
web: __DIR__ . '/../routes/web.php',
10-
commands: __DIR__ . '/../routes/console.php',
9+
web: __DIR__.'/../routes/web.php',
10+
commands: __DIR__.'/../routes/console.php',
1111
health: '/up',
1212
)
1313
->withMiddleware(function (Middleware $middleware) {

bun.lockb

7.22 KB
Binary file not shown.

composer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,9 @@
1313
"inertiajs/inertia-laravel": "^2.0",
1414
"laravel/framework": "^11.9",
1515
"laravel/sanctum": "^4.0",
16-
"laravel/tinker": "^2.9",
16+
"laravel/tinker": "^2.10",
1717
"spatie/laravel-data": "^4.7",
1818
"spatie/laravel-typescript-transformer": "^2.4",
19-
"tightenco/duster": "^3.0",
2019
"tightenco/ziggy": "^2.0"
2120
},
2221
"require-dev": {

0 commit comments

Comments
 (0)