Commit Graph

15 Commits (ce4baf69958cc36d6b6ee3f710849b6e06223661)

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.
1 month ago
Daniel Supernault a9f24f85da
Update AdminApiController 2 years ago
Daniel Supernault 0aafb863e8
Update AdminApiController 2 years ago
Emelia Smith 9330cd02f7
Implement proper OAuth authorization on Admin API endpoints 3 years ago
Daniel Supernault 763ce19a0a
Update AdminApiController, improve admin moderation tools 3 years ago
Daniel Supernault 4f850e54ad
Update AdminApiController, include more data for getUser method 3 years ago
Daniel Supernault 5c5541fc01
Update AdminApiController 3 years ago
Daniel Supernault 89c3710d3c
Update AdminApiController, add instance stats endpoint 3 years ago
Daniel Supernault 588ca653a8
Update admin autospam apis, remove autospam warning notifications when appropriate 3 years ago
Daniel Supernault 84fb59d00a
Update AdminApiController, fix postgres support 4 years ago
Daniel Supernault d5dc928224
Update admin api 4 years ago
Daniel Supernault a224c71151
Add admin api 4 years ago
Daniel Supernault 89ca18b14e
ComposeUI update 7 years ago
Daniel Supernault 32d7ab091d
Add AdminApiController 7 years ago