Commit Graph

5 Commits (6d0f93dc9e2e3726084a0e93de870f40ee418d28)

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
2 weeks ago
Daniel Supernault f260572e72
Fix GroupController, move groups enabled check to each method to fix route:list 10 months ago
Daniel Supernault 58b8a385bd
Update GroupController.php 1 year ago
Daniel Supernault 3d99972653
Update GroupController.php 1 year ago
Daniel Supernault 3d6b9badf4
Add groups models, controllers and services 1 year ago