Commit Graph

18 Commits (82a82ec3e7232f9d227484449c3315c04c0c57d7)

Author SHA1 Message Date
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 week ago
Daniel Supernault 2e719bd008
Update media storage pipeline, improve support for non-local filesystems 2 months ago
Daniel Supernault c36cc07b2c
Update avif support, and fix reply permalinks 8 months ago
Daniel Supernault a72188a7db
Update image pipeline, use config_cache 2 years ago
Daniel Supernault e76289e4e2
Update ImageOptimizePipeline, improve support for disabling image optimizations 3 years ago
Daniel Supernault 069a0e4ae1
Add WebP support 5 years ago
Daniel Supernault be6d12fcb6
Update MediaPipeline, handle cloud object storage 5 years ago
Daniel Supernault 234f72f3aa
Update ImageOptimizePipeline, add skip_optimize and MediaStorageService support 5 years ago
Daniel Supernault 1199fb89f6
Update ImageUpdate pipeline job 6 years ago
Daniel Supernault 39f4b470b3
Update DiscoverController 6 years ago
Daniel Supernault 8e5bdf6368
Update ImageOptimizePipeline 7 years ago
Daniel Supernault 49d825f5b2
Update ImageOptimizePipeline 7 years ago
Daniel Supernault 33b4d354e7
Update ImageOptimize pipeline 7 years ago
daniel b8abbdd90f Apply fixes from StyleCI 7 years ago
Daniel Supernault b0babe819d
Update ImageUpdate job, skip non gd-compatible mime types from generating a thumbnail 7 years ago
Daniel Supernault 17e099c206
Update ImageUpdate job, skip non gd-compatible mime types 7 years ago
Daniel Supernault 56b18f3e08 Update ImageOptimizePipeline, do not optimize gifs 8 years ago
Daniel Supernault 343757b1ea Add ImageOptimizePipeline 8 years ago