Commit Graph

12 Commits (a142db87b4e63d7d760d5f1d337e9636c388e169)

Author SHA1 Message Date
Your Name 54cfdf3c2b refactor: add return type declarations to controller methods
Adds explicit return type declarations to 498 controller methods
across 88 files. Types inferred from return statements:

- JsonResponse for response()->json() returns
- RedirectResponse for redirect()/back() returns
- View (contract) for view() returns
- Response for response() returns
- void for methods with no return value
- array for array returns
- string/int/bool for scalar returns

Also fixes 3 methods with incorrect bare returns:
- AvatarController::deleteAvatar - bare return → json response
- ImportPostController::checkPermissions - bare return → true
- RemoteAuthController::accountToId - bare return → empty array
4 weeks ago
Your Name 7c964f3b4f fix: replace backslash-prefixed facade calls with imported references
Replace \Cache::, \Log::, \DB:: calls with their imported facade
equivalents. The backslash-prefix relies on global aliases which
PHPStan cannot resolve, causing class.notFound errors.
4 weeks ago
Your Name e7ba43e2e1 fix: add missing use imports to resolve phpstan class.notFound errors
Add missing imports for Log, Cache, DB, FollowerService, StatusService,
LikeService, ReblogService, UserFilterService, AdminProfile, OauthClient,
and fix StatusTimelineTransformer reference (class didn't exist, replaced
with StatusTransformer).
4 weeks ago
Daniel Supernault 76b5601a01
Update IG Import
To support non-local fs
11 months ago
Daniel Supernault ab9c13fe0d
New supported formats, Preserve ICC Color Profiles, libvips support
Update image pipeline to handle avif, heic and webp and preserve ICC color profiles and added libvips support.
1 year ago
Daniel Supernault 375858f09d
Update AccountImport, improve webp support 2 years ago
Daniel Supernault 01b445f6ea
Update AccountImports, add webp support 2 years ago
Daniel Supernault c96167f2f7
Update config_cache 3 years ago
Daniel Supernault 9c24157ab3
Update ImportPostController, fix IG bug with missing spaces between hashtags 3 years ago
Daniel Supernault fe6123c820
Update ImportPostController 3 years ago
Daniel Supernault ba58aaba36
Update ImportPostController, fix typo 3 years ago
Daniel Supernault 49e5703198
Add ImportPostController 3 years ago