You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pixelfed/app/Http/Controllers/Api
Your Name 0939f495bb fix: replace Auth facade with $request->user() in request-scoped classes
Replace Auth::user() with $request->user() and Auth::check() with
$request->user() !== null (or ! $request->user()) across all
controllers and middleware that have access to the request object.

This resolves 99 larastan.noAuthFacadeInRequestScope errors and
improves Octane compatibility.

For protected helper methods without $request in scope, uses the
request() helper instead.

Methods that previously lacked a Request parameter but used Auth
facade now accept Request $request via Laravel's auto-injection.
4 weeks ago
..
V1 Lint 9 months ago
AdminApiController.php refactor: replace short facade aliases with fully-qualified imports 4 weeks ago
ApiController.php Lint 9 months ago
ApiV1Controller.php refactor: replace short facade aliases with fully-qualified imports 4 weeks ago
ApiV1Dot1Controller.php refactor: replace short facade aliases with fully-qualified imports 4 weeks ago
ApiV2Controller.php fix: add missing use imports to resolve phpstan class.notFound errors 4 weeks ago
BaseApiController.php fix: replace Auth facade with $request->user() in request-scoped classes 4 weeks ago