Commit Graph

17 Commits (e7ba43e2e1ea56243ecf2d4dfffce2d64f2b2317)

Author SHA1 Message Date
Your Name e7ba43e2e1 fix: add missing use imports to resolve phpstan class.notFound errors
Add missing imports for Log, Cache, DB, FollowerService, StatusService,
LikeService, ReblogService, UserFilterService, AdminProfile, OauthClient,
and fix StatusTimelineTransformer reference (class didn't exist, replaced
with StatusTransformer).
3 months ago
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
Daniel Supernault 374344754e
Lint 11 months ago
dansup 14d5fe940e
Merge pull request #6302 from pixelfed/miscClosureUnusedUseV2
Larastan: fix Unused Use - Low risk
1 year ago
Your Name 28ed625f12 Fix PHPStan closure.unusedUse issues - 7 fixes 1 year ago
Your Name ca6c875bbb Fix PHPStan class.notFound issues 1 year ago
Daniel Supernault da0e0ffabf
Update ig import, use config_cache 3 years ago
Daniel Supernault 22da2647c7
Update filesystems, store all files as public by default and add default permissions. Fixes #4273, #4275. Closes #3825 4 years ago
Daniel Supernault ac6b3f07de
Update controllers, fixes #2906 5 years ago
Daniel Supernault 144678fc9c
Update IG Import, remove hardcoded media size limit 7 years ago
Daniel Supernault ef07d17423
Update InstagramImport trait 7 years ago
Daniel Supernault 527b8eb594
Update InstagramImport Controller 8 years ago
Daniel Supernault 77819a6dd0
Update IG Import Controller 8 years ago
Daniel Supernault 4e8a7e7b07
Update Import controller 8 years ago
Daniel Supernault 3d9fb1b13a
Update IG Import Controller 8 years ago
Daniel Supernault edd79a3a80
Add Mastodon Import controller 8 years ago
Daniel Supernault 645272145f
Add IG Import controller 8 years ago