Commit Graph

19 Commits (e7ba43e2e1ea56243ecf2d4dfffce2d64f2b2317)

Author SHA1 Message Date
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.
3 months ago
Your Name 72e840345e Fix PHPStan 'empty() always exists and is not falsy' errors
- Remove redundant empty() checks where variables are guaranteed to exist and be non-falsy
- Replace empty() with simple null/false checks where appropriate
- Maintain original logic while fixing static analysis issues
- Affected files:
  - app/Http/Controllers/GroupController.php
  - app/Http/Controllers/ProfileAliasController.php
  - app/Jobs/ImageOptimizePipeline/ImageUpdate.php
  - app/Jobs/InboxPipeline/DeleteWorker.php
  - app/Jobs/InboxPipeline/InboxValidator.php
  - app/Jobs/InboxPipeline/InboxWorker.php
  - app/Jobs/ProfilePipeline/HandleUpdateActivity.php
  - app/Rules/ExpoPushTokenRule.php
  - app/Services/AutospamService.php
  - app/Services/CollectionService.php
  - app/Services/NotificationAppGatewayService.php
  - app/Services/WebfingerService.php
  - app/Util/ActivityPub/Helpers.php
1 year ago
Daniel Supernault 2e719bd008
Update media storage pipeline, improve support for non-local filesystems 1 year ago
Daniel Supernault c36cc07b2c
Update avif support, and fix reply permalinks 2 years ago
Daniel Supernault a72188a7db
Update image pipeline, use config_cache 3 years ago
Daniel Supernault e76289e4e2
Update ImageOptimizePipeline, improve support for disabling image optimizations 4 years ago
Daniel Supernault 069a0e4ae1
Add WebP support 6 years ago
Daniel Supernault be6d12fcb6
Update MediaPipeline, handle cloud object storage 6 years ago
Daniel Supernault 234f72f3aa
Update ImageOptimizePipeline, add skip_optimize and MediaStorageService support 6 years ago
Daniel Supernault 1199fb89f6
Update ImageUpdate pipeline job 7 years ago
Daniel Supernault 39f4b470b3
Update DiscoverController 7 years ago
Daniel Supernault 8e5bdf6368
Update ImageOptimizePipeline 8 years ago
Daniel Supernault 49d825f5b2
Update ImageOptimizePipeline 8 years ago
Daniel Supernault 33b4d354e7
Update ImageOptimize pipeline 8 years ago
daniel b8abbdd90f Apply fixes from StyleCI 8 years ago
Daniel Supernault b0babe819d
Update ImageUpdate job, skip non gd-compatible mime types from generating a thumbnail 8 years ago
Daniel Supernault 17e099c206
Update ImageUpdate job, skip non gd-compatible mime types 8 years ago
Daniel Supernault 56b18f3e08 Update ImageOptimizePipeline, do not optimize gifs 9 years ago
Daniel Supernault 343757b1ea Add ImageOptimizePipeline 9 years ago