diff --git a/.ci/rector.php b/.ci/rector.php index 5ab2abd6f8..3ba2f28d41 100644 --- a/.ci/rector.php +++ b/.ci/rector.php @@ -50,11 +50,11 @@ __DIR__ . '/../app/Http', earlyReturn : true, strictBooleans : true, carbon : true, - rectorPreset : false, - phpunitCodeQuality : false, - doctrineCodeQuality: false, - symfonyCodeQuality : false, - symfonyConfigs : false + rectorPreset : true, + phpunitCodeQuality : true, + doctrineCodeQuality: true, + symfonyCodeQuality : true, + symfonyConfigs : true ) ->withComposerBased( diff --git a/app/Http/Controllers/Auth/LoginController.php b/app/Http/Controllers/Auth/LoginController.php index 061a42228c..8b8af307ce 100644 --- a/app/Http/Controllers/Auth/LoginController.php +++ b/app/Http/Controllers/Auth/LoginController.php @@ -46,6 +46,7 @@ use Illuminate\Routing\Redirector; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Log; use Illuminate\Validation\ValidationException; +use Symfony\Component\HttpFoundation\Response as ResponseAlias; /** * Class LoginController @@ -211,7 +212,7 @@ class LoginController extends Controller $this->loggedOut($request); return $request->wantsJson() - ? new Response('', 204) + ? new Response('', ResponseAlias::HTTP_NO_CONTENT) : redirect('/'); } diff --git a/changelog.md b/changelog.md index 78e8c940df..8c0c958cf9 100644 --- a/changelog.md +++ b/changelog.md @@ -3,6 +3,22 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). +## 6.2.13 - 2025-05-25 + +### Fixed + +- #10114 +- #10180 +- #10197 +- #10203 +- #10265 +- #10290 +- #10302 +- #10305 +- #10308 +- #10320 +- #10336 + ## 6.2.12 - 2025-04-21 ### Fixed