Commit Graph

17 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
2 weeks ago
Your Name 157eae101c InboxPipeline defensive checks 2 weeks ago
Daniel Supernault 419c0fb0fb
Updaet InboxPipelines, improve handling of missing signature validation headers 3 years ago
Daniel Supernault 31fc65fc74
Update AP Inbox 3 years ago
Daniel Supernault 36b88901f3
Update AP Inbox 3 years ago
Daniel Supernault e6c1604d43
Update InboxPipeline, add inbox job queue and separate http sig validation from activity handling 3 years ago
Daniel Supernault a3b67a88dc
Update jobs timeout 3 years ago
Daniel Supernault bce1d547e7
Update InboxPipeline 3 years ago
Daniel Supernault 1fac8d545c
Update InboxPipeline 3 years ago
Daniel Supernault bb12001992
Update InboxPipeline, bump request timeout from 5s to 60s 3 years ago
Daniel Supernault 99fb80bf5d
Update InboxPipeline, fix peertube attributedTo parsing 3 years ago
Daniel Supernault 6d6a033a54
Update DeleteWorker, remove cache lock 3 years ago
Daniel Supernault 247c9ec5f8
Update DeleteWorker pipeline, increase timeout 3 years ago
Daniel Supernault cb2392f351
Update FederationController 4 years ago
Daniel Supernault b424691110
Update DeleteWorker, fixes #3338 4 years ago
Daniel Supernault 7f4213924f
Update job queue, separate deletes into their own queue 4 years ago
Daniel Supernault 57e0a741ab
Add FanoutDeletePipeline 4 years ago