Commit Graph

12050 Commits (6db25c70276ea5510e2221d452bf138c164ff20f)
 

Author SHA1 Message Date
Shlee f07e420a72
Delete larastan_current.txt 1 week ago
Your Name 28ed625f12 Fix PHPStan closure.unusedUse issues - 7 fixes 1 week ago
Your Name b5c6984689 Fix PHPStan arguments.count issues 1 week ago
Your Name ca6c875bbb Fix PHPStan class.notFound issues 1 week ago
Shlee e297cd0e94
Dead Code - Delete app/Http/Controllers/Api/InstanceApiController.php 1 week 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 week ago
Shlee 0e0f3b9e95
Larastan: Update CryptoTest.php - REVIEW 2 weeks ago
Shlee 4a76f326d5
Update PasswordChange.php 2 weeks ago
Shlee 03d91880d9
Larastan: Update ConfirmEmail.php 2 weeks ago
Shlee 1e689461c0
Update LandingService.php 2 weeks ago
Shlee 4fa2942778
Update StoryFetch.php 2 weeks ago
Shlee 4c27f8ff58
Update StoreStatusEditRequest.php 2 weeks ago
Shlee 133e497879
Larastan: Update ComposeController.php 2 weeks ago
Shlee 304c3eab3f
Update GroupsPostController.php 2 weeks ago
Shlee f63346be32
Larastan: Update NewStatusPipeline.php - REVIEW 2 weeks ago
Shlee d5eb902a82
Larastan: Update Installer.php - typo 2 weeks ago
Your Name e43078961c Fix PHP deprecation warnings for implicit nullable parameters
- Add explicit nullable type declarations to GroupService::log() method parameters
- Add explicit nullable type declaration to ModLogService::metadata() method parameter
- Add explicit nullable type declaration to HitHighlighter::highlight() method parameter
- Resolves PHP 8.1+ deprecation warnings about implicitly marking parameters as nullable
2 weeks ago
Shlee ada1059592
Update composer.json - drop php 8.2 2 weeks ago
Shlee c541f5172f
Larastan: Update Classifier.php - UnnecessaryVarAnnotation 2 weeks ago
dansup e90f79085e
Merge pull request #6275 from pixelfed/staging
Staging
2 weeks ago
Daniel Supernault cc90df9d8c
Add user admin toggles for email and ip 2 weeks ago
Shlee 8d197107e8
Update BaseApiController.php 2 weeks ago
Shlee b826f4fe48
Update ForgotPasswordController.php 2 weeks ago
Shlee 4adc8947d8
Update ResetPasswordController.php 2 weeks ago
Shlee b8f7577f42
Update notifications.php (#6266) 2 weeks ago
dansup 225e835015
Staging (#6264)
* StatusPipeline defensive checks

* HomeFeedPipeline defensive checks

* DeletePipeline defensive checks

* InboxPipeline defensive checks

* MediaPipeline defensive checks

* PushNotificationPipeline defensive checks

* LikePipeline defensive checks

* FollowPipeline defensive checks

* ImageOptimizePipeline defensive checks

* Misc pipelines defensive checks

* Update CommentPipeline.php

* Update FollowPushNotifyPipeline.php

* Update LikePushNotifyPipeline.php

* Update FollowPushNotifyPipeline.php

* Update MentionPushNotifyPipeline.php

* Update MoveSendUndoFollowPipeline.php

* Update RemoteFollowPipeline.php

* Update FollowPushNotifyPipeline.php

* Update LikePushNotifyPipeline.php

* Update MentionPushNotifyPipeline.php

* Update Site/Config.php - config_cache only has 1 arg. No fallback.

* Update Bouncer.php - Called 'count' on Laravel collection, but could have been retrieved as a query.            🪪  larastan.noUnnecessaryCollectionCall

* Update Status.php - Missing use App\Models\Conversation;

* Larastan: Update UndoSharePipeline.php (Undefined variable: $status)

* Update ResilientMediaStorageService.php

* Update ImageS3UploadPipeline.php

* Larastan: Update Profile.php missing "use App\Avatar;"

* Larastan: Update MediaStorageService.php

* Larastan: Update MediaPathService.php

* Update MediaPathService.php

* Update MediaStorageService.php

* Update ImageS3UploadPipeline.php

* Larastan: Update AddUserDomainBlock.php

```
 ------ ------------------------------------------------------------- 
  Line   Console/Commands/AddUserDomainBlock.php                      
 ------ ------------------------------------------------------------- 
  37     Variable $domain in empty() always exists and is not falsy.  
         🪪  empty.variable                                           
 ------ ------------------------------------------------------------- 
```

* Larastan: Update CatchUnoptimizedMedia.php

```
 ------ ------------------------------------------------------------------------------------------------- 
  Line   Console/Commands/CatchUnoptimizedMedia.php                                                       
 ------ ------------------------------------------------------------------------------------------------- 
  31     Constructor of class App\Console\Commands\CatchUnoptimizedMedia has an unused parameter $media.  
         🪪  constructor.unusedParameter                                                                  
 ------ ------------------------------------------------------------------------------------------------- 
```

* Update DeleteUserDomainBlock.php

* Update StatusHashtag.php

* Update FixLikes.php

* Update User.php

* Update Installer.php

* Update SeedFollows.php

* Update DiscoverCategory.php

* Update FollowRequest.php

* Update Follower.php

* Update AccountController.php

* Update CustomFilterKeyword.php

* Update FederationController.php

* Update Inbox.php

* Update HttpSignature.php

---------

Co-authored-by: Your Name <you@example.com>
Co-authored-by: Shlee <github@shl.ee>
2 weeks ago
dansup 7288acfa35
Merge pull request #6263 from pixelfed/shleeable-patch-26
Larastan: Update HttpSignature.php
2 weeks ago
dansup 6433027a85
Merge pull request #6262 from pixelfed/shleeable-patch-25
Larastan: Update Inbox.php
2 weeks ago
dansup ea0fd2e719
Merge pull request #6261 from pixelfed/shleeable-patch-24
Larastan: Update FederationController.php
2 weeks ago
dansup e5ad81e839
Merge pull request #6260 from pixelfed/shleeable-patch-23
Larastan: Update CustomFilterKeyword.php
2 weeks ago
dansup fd83b90bdb
Merge pull request #6259 from pixelfed/shleeable-patch-22
Larastan: Update AccountController.php
2 weeks ago
dansup 307bf0514b
Merge pull request #6258 from pixelfed/shleeable-patch-21
Larastan: Update Follower.php
2 weeks ago
dansup 1c6dbf1bd2
Merge pull request #6257 from pixelfed/shleeable-patch-20
Larastan: Update FollowRequest.php
2 weeks ago
dansup b4d2705554
Merge pull request #6256 from pixelfed/shleeable-patch-19
Larastan: Update DiscoverCategory.php
2 weeks ago
Shlee b2e2e7f2fd
Update HttpSignature.php 2 weeks ago
dansup 27433c1d71
Merge pull request #6255 from pixelfed/shleeable-patch-18
Larastan: Update SeedFollows.php
2 weeks ago
dansup ccd6055923
Merge pull request #6254 from pixelfed/shleeable-patch-17
Larastan: Update Installer.php
2 weeks ago
dansup 8638b20ca4
Merge pull request #6253 from pixelfed/shleeable-patch-16
Larastan: Update User.php
2 weeks ago
dansup 4cdd0b77f0
Merge pull request #6252 from pixelfed/shleeable-patch-15
Larastan: Update FixLikes.php
2 weeks ago
dansup 9eada82499
Merge pull request #6251 from pixelfed/shleeable-patch-14-1
Larastan: Update StatusHashtag.php
2 weeks ago
dansup ca79f570ce
Merge pull request #6250 from pixelfed/shleeable-patch-13
Larastan: Update DeleteUserDomainBlock.php
2 weeks ago
dansup 54ef2fb165
Merge pull request #6249 from pixelfed/shleeable-patch-12
Larastan: Update CatchUnoptimizedMedia.php
2 weeks ago
dansup f51460e4fc
Merge pull request #6248 from pixelfed/shleeable-patch-11
Larastan: Update AddUserDomainBlock.php
2 weeks ago
dansup cc5fbb860b
Merge pull request #6247 from pixelfed/shleeable-patch-10
Larastan: Update MediaPathService.php
2 weeks ago
Shlee b7442c3209
Update Inbox.php 2 weeks ago
dansup 8bc11914ad
Merge pull request #6246 from pixelfed/shleeable-patch-9
Larastan: Update MediaStorageService.php
2 weeks ago
Shlee d8c9d72f11
Update FederationController.php 2 weeks ago
dansup cb9746435a
Merge pull request #6245 from pixelfed/shleeable-patch-8
Larastan: Update Profile.php missing "use App\Avatar;"
2 weeks ago
dansup 224053ecfa
Merge pull request #6244 from pixelfed/shleeable-patch-7
Larastan: Update ImageS3UploadPipeline.php (Variable $file might not be defined. )
2 weeks ago
dansup e9c742a5e2
Merge pull request #6243 from pixelfed/shleeable-patch-6
Larastan: Update ResilientMediaStorageService.php (Variable $file might not be defined. )
2 weeks ago