Commit Graph

23 Commits (c807a8524c22f53731d0c45ebcfde88041663c4e)

Author SHA1 Message Date
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.
4 weeks ago
Shift 19880c2ffb
Convert string references to `::class`
PHP 5.5.9 adds the new static `class` property which provides the fully qualified class name. This is preferred over using strings for class names since the `class` property references are checked by PHP.
4 weeks ago
Shlee 0f79861f1d
Update PrivacySettings.php 1 month ago
Daniel Supernault 374344754e
Lint 9 months ago
Daniel Supernault c5e7e91777
Add disable_embeds setting, and fix cache invalidation in other settings 2 years ago
Daniel Supernault b7322b6874
Update PrivacySettings controller, refresh RelationshipService when unmute/unblocking 3 years ago
Daniel Supernault e742d595a6
Update PrivacySettings controller, add cache invalidation 3 years ago
Daniel Supernault 542d110673
Update AccountTransformer, fix follower/following count visibility bug 3 years ago
Daniel Supernault 28da44beec
Update PrivacySettings, add domainBlocks 3 years ago
Daniel Supernault fc24630eba
Update Privacy Settings, add support for Mastodon indexable search flag 3 years ago
Daniel Supernault 3662d3defe
Update Settings, allow users to disable atom feeds 3 years ago
Daniel Supernault 634c15e486
Update Privacy Settings, add Directory setting 4 years ago
Daniel Supernault 08246f2482
Update ApiV1Controller, fix account settings bug 5 years ago
Daniel Supernault 5ac9d0e8f2
Update Embeds. Fix Profile + Status embeds, remove following count and improve cache invalidation and hidden follower counts 6 years ago
Daniel Supernault d63569c120
Add Direct Messages 6 years ago
Daniel Supernault d8d11d7b9a
Update PrivacySettings controller, clear cache after updating 7 years ago
Daniel Supernault 01352e04ea
Update Privacy Settings 7 years ago
Daniel Supernault d34224f216
Update PrivacySettings 7 years ago
Daniel Supernault 74b76ac175
Update PrivacySettings 7 years ago
Daniel Supernault 8788bf27db
Update PrivacySettings 7 years ago
Daniel Supernault fcef8c9a2f
Cache private profile id list 8 years ago
Daniel Supernault da17778223
Add PrivacySettingsController 8 years ago
Daniel Supernault b6cc9802e4
Add PrivacySettings Controller 8 years ago