Commit Graph

9 Commits (ba9033e5ee4dae92c414318c5af73bc4715e3046)

Author SHA1 Message Date
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 53742fa699
Lint 9 months ago
Your Name b5c6984689 Fix PHPStan arguments.count issues 11 months ago
Daniel Supernault 015b1b80b4
Update hashtag following 3 years ago
Daniel Supernault 1cd96ced2a
Update StatusHashtagObserver 3 years ago
Daniel Supernault 29f2c50e2e
Update StatusHashtagObserver 4 years ago
Daniel Supernault 78665b0c17
Update model observers, handle events after all transactions are committed 4 years ago
Daniel Supernault 9d55d65b58
Add StatusHashtagObserver 7 years ago