Commit Graph

13 Commits (904b74c09a49ce1bc17672c4be048ce326fb9737)

Author SHA1 Message Date
Your Name 5ebc1af91e BATCH 1 6 days ago
Your Name c0cde2f682 refactor: move 52 legacy models from App\ to App\Models\
Move all Eloquent models from the app/ root directory to app/Models/
for consistency with modern Laravel conventions. The project already had
54 models in App\Models; this migrates the remaining 52 legacy models.

Changes:
- Move 52 model files from app/ to app/Models/
- Update namespace declarations in each model
- Update all ~1000 import references across the codebase
- Add Relation::morphMap() in AppServiceProvider for backward
  compatibility with existing polymorphic database records
- Add missing HasSnowflakePrimary imports for models that relied
  on same-namespace resolution
4 weeks ago
Your Name c807a8524c refactor: replace short facade aliases with fully-qualified imports
Convert all 273 short facade alias imports (e.g. 'use Cache;') to their
fully-qualified class names (e.g. 'use Illuminate\Support\Facades\Cache;')
across 193 files.

This resolves 643 PHPStan 'class.notFound' errors caused by the static
analyzer being unable to resolve global aliases, and aligns with modern
Laravel conventions. It also unblocks removing the aliases array from
config/app.php in a future change.

All 107 tests pass.
4 weeks ago
Daniel Supernault c9123c6dae
Fix UserObserver 9 months ago
Daniel Supernault 53742fa699
Lint 9 months ago
Daniel Supernault 949e99798e
Update UserObserver, fix type casting 3 years ago
Daniel Supernault fa0380ac3b
Update UserObserver, add default domain blocks logic 3 years ago
Daniel Supernault 796e374040
Update UserObserver 4 years ago
Daniel Supernault 356cc2774a
Update FollowerService, use redis sorted sets for follower relations 4 years ago
Daniel Supernault 68aa25400b
Add Auto Following support for admins 5 years ago
Daniel Supernault f400c632f0
Update DeleteAccountPipeline, fixes #2016 7 years ago
Daniel Supernault 4ee3d10da8
Update UserObserver 7 years ago
Daniel Supernault 03cf26a09a
Update UserObserver 8 years ago